PDA

Click to See Complete Forum and Search --> : No accesible Main method?


Toddy
Nov 11th, 2002, 09:48 AM
"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 :p

: Todd

MagellanTX
Nov 11th, 2002, 03:56 PM
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.

Toddy
Nov 12th, 2002, 01:47 AM
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... :cool:

: Todd

MrPolite
Nov 12th, 2002, 01:50 AM
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... :cool:

: Todd that has to work. what exactly did you do? did you go to the project's properties?

Toddy
Nov 12th, 2002, 03:33 AM
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