Results 1 to 5 of 5

Thread: No accesible Main method?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Norway
    Posts
    11

    No accesible Main method?

    "No accessible 'Main' method with an appropriate signature was found in 'Project1'."

    I'm quite knew to ths but as far as I can gather the IDE hasn't picked up that I chenged the name of the form and therefore "everything" has got stuck

    I'm not only looking for a solution but also an brief explantion to why this is happenin' I'm probably on a wild goose chase with my theory above

    : Todd

  2. #2
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Houston, TX
    Posts
    342
    Bring up the properties for the project and select a new Startup Object (In the general section of the project properties)

    You changed the name of the form and now the debugger doesn't know what you want to start when you run the program.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Norway
    Posts
    11

    Angry No..

    Sorry mac, already tried that and it didn't work.

    What about making a new project and just cut'n'paste the code in the new project? And ofcourse make a new form...

    : Todd

  4. #4
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: No..

    Originally posted by Toddy
    Sorry mac, already tried that and it didn't work.

    What about making a new project and just cut'n'paste the code in the new project? And ofcourse make a new form...

    : Todd
    that has to work. what exactly did you do? did you go to the project's properties?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2002
    Location
    Norway
    Posts
    11

    Not done it

    I haven't done yet, I'm at school now. It's just an idea that came into my head.

    I'll try it when I get home later today.

    Thanx.

    : todd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width