Janito Posted November 3, 2015 Author Share Posted November 3, 2015 how can I fix this error in vb6? Link to comment Share on other sites More sharing options...
BeNjO Posted November 3, 2015 Share Posted November 3, 2015 have you tried to fix this your self?-edit-https://www.google.co.uk/search?q=Must+have+startup+form+or+Submain()&oq=Must+have+startup+form+or+Submain()&aqs=chrome..69i57j69i60l3&sourceid=chrome&es_sm=93&ie=UTF-8 Link to comment Share on other sites More sharing options...
Janito Posted November 3, 2015 Author Share Posted November 3, 2015 yes, but I don't know how to do Link to comment Share on other sites More sharing options...
Exception Posted November 3, 2015 Share Posted November 3, 2015 Go to Project. Click Properties. In the top-right corner of the General tab, there should be a box that says Startup Object.Set it to where your project starts from. If you have a Sub Main(), set it to Sub Main, if not, pick the form you want to load first. Link to comment Share on other sites More sharing options...
Janito Posted November 3, 2015 Author Share Posted November 3, 2015 I have to change the code to the client, which form I need to load and how should I do? Link to comment Share on other sites More sharing options...
BeNjO Posted November 3, 2015 Share Posted November 3, 2015 @'Exception':> Go to Project. Click Properties. In the top-right corner of the General tab, there should be a box that says Startup Object.> > Set it to where your project starts from. If you have a Sub Main(), set it to Sub Main, if not, pick the form you want to load first.follow this exactly. Link to comment Share on other sites More sharing options...
Growlith1223 Posted November 3, 2015 Share Posted November 3, 2015 Trial And Error works wonders for learning! Link to comment Share on other sites More sharing options...
Janito Posted November 3, 2015 Author Share Posted November 3, 2015 It is already set to Sub main Link to comment Share on other sites More sharing options...
Exception Posted November 3, 2015 Share Posted November 3, 2015 If it is set to Sub Main, and you have that error, that means that your code doesn't have one. Either add one, or set your startup object to one of the forms. Link to comment Share on other sites More sharing options...
Janito Posted November 4, 2015 Author Share Posted November 4, 2015 In proprieties there is only Sub Main in startup object. Link to comment Share on other sites More sharing options...
Janito Posted November 4, 2015 Author Share Posted November 4, 2015 In propeties there is only Sub Main in startup object. Link to comment Share on other sites More sharing options...
Joyce Posted November 4, 2015 Share Posted November 4, 2015 What code did you download from where? The download might be corrupt or incomplete. Link to comment Share on other sites More sharing options...
Janito Posted November 4, 2015 Author Share Posted November 4, 2015 I have to modify code in a client skywire primitive v7 Link to comment Share on other sites More sharing options...
Joyce Posted November 5, 2015 Share Posted November 5, 2015 HAve you tried downloading a fresh copy and starting that? My download compiles just fine. 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