Arimil Posted August 27, 2008 Author Share Posted August 27, 2008 I edited the source for my game and when I tried to run the server it asked for a registration code, so I deleted the frmSerial and tried to compile the server again but I get "Must have startup form or Sub Main()".If anyone could help, it would be appreciated. ThanksEdit: Resolved Link to comment Share on other sites More sharing options...
xeross Posted August 27, 2008 Share Posted August 27, 2008 Huh, there is no frmSerial :S Link to comment Share on other sites More sharing options...
bendavies Posted August 27, 2008 Share Posted August 27, 2008 There is on the TE source. Link to comment Share on other sites More sharing options...
Mellowz Posted August 27, 2008 Share Posted August 27, 2008 You have to have a sub-routine called "Sub Main()" somewhere in the source code.ORIf you want to start-up through forms, you have to set the form through "Properties -> Properties…". To the right of the screen you'll see "Start-up Object". Select the form (or the Main() event) you wish to use. If you selected a form, make sure it has the Form_Load() event. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now