Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My application is throwing the following error

VB
Error   1   Program 'F:\Programs\Speech to text\source\extracted\SpeechToText\SpeechToText\obj\Debug\SpTpTx.exe' does not contain a static 'Main' method suitable for an entry point    SpTpTx


Please help me overcome this error.
Posted

1 solution

Check your project's properties. On the "Application" tab, select your Program class as the Startup object:
 
Share this answer
 
Comments
Ritwesh 10-Nov-12 2:57am    
I am unable to do that. In the Startup object dropdown list it is showing (not set). So I am not getting any option to choose my Program class as the Startup object. Please help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900