Must have startup form or Submain()

how can I fix this error in vb6?

yes, but I don’t know how to do

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.

I have to change the code to the client, which form I need to load and how should I do?

@‘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.

Trial And Error works wonders for learning!

It is already set to Sub main

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.

In proprieties there is only Sub Main in startup object.

In propeties there is only Sub Main in startup object.

What code did you download from where? The download might be corrupt or incomplete.

I have to modify code in a client skywire primitive v7

HAve you tried downloading a fresh copy and starting that? My download compiles just fine.

Log in to reply