Home All Groups Group Topic Archive Search About

VS2005-VB Viewing 'Main' for MDIParent

Author
3 Feb 2006 1:06 AM
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.

Author
3 Feb 2006 1:34 AM
Armin Zingler
"Jon" <jon_ol***@msn.com> schrieb
> 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