can someone help re ive started a new windows application put 2 buttons on form one for cancel one for enter (to open 2nd form) but cannot get the project to build keeps telling me no reference to main or exe, i have used VB in the past can someone point me in the right direction please

help reqd starting new application with the main command
Peter H
SteveTr
Did you create the windows application from the wizards, if so there should be a program.cs file included this has the main function inside it. Then inside the project properties there should be a startup object make sure that tis is set to the <ApplicationName>.program. With this the appliation should start, unless you have moderfied the way that the program.cs file was generated.
CoolMicheal
Gage
Hi,
it may be very helpful if you provide the lines of code where the error happens and the excact error message you are getting.