VS2005-VB Viewing 'Main' for MDIParent

J

Jon

I have been reading the digital manual to find out how I can see the "main"
procedure and I find this line under "Main Procedure" in the documentation:
"Windows Forms applications run on their own. However, the Visual Basic
compiler automatically generates a Main procedure in such an application,
and you do not need to write one."

How can I see this guy?? It is no where in code that I can find. I have
some things to do in it..

I have already tried creating a 'main' procedure in a module and in the
startup form but it does not fire off.
 
A

Armin Zingler

Jon said:
I have been reading the digital manual to find out how I can see the
"main" procedure and I find this line under "Main Procedure" in the
documentation: "Windows Forms applications run on their own.
However, the Visual Basic compiler automatically generates a Main
procedure in such an application, and you do not need to write one."

How can I see this guy?? It is no where in code that I can find. I
have some things to do in it..

It's written into the executable, not into the source code. You can not view
it.
I have already tried creating a 'main' procedure in a module and in
the startup form but it does not fire off.


You have to disable the "application framework" and select the Sub Main you
wrote as the startup object in the project's properties.


Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top