|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sub Main in Windows AppHello,
I have a Windows App. I want to change my startup to Sub Main. How do you run a Windows App from Sub Main? Bill swartzbill2***@yahoo.com wrote:
> Hello, Create a module, place> I have a Windows App. I want to change my startup to Sub Main. How do > you run a Windows App from Sub Main? > Bill > Public Sub Main() End Sub In it, then go to project properties and change the startup to Main Chris <swartzbill2***@yahoo.com> schrieb:
> I have a Windows App. I want to change my startup to Sub Main. How do In addition to the other replies, simply create a 'Sub Main', set the > you run a Windows App from Sub Main? application's startup object to "Sub Main" in the project properties and use 'Application.Run(<form>)' to display the main form. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
*@#%! Graphics
VB utilities?? Case Sensitive Comparison Try Catch Else Finally user control dll missing DllRegisterServer Dropdownlist Chain Visible Accessing a Share Using Windows Credentials Any way to disable a column in a DataGrid? Problem w/ special characters in a filestream MDIParent and MaximizedBounds bug(?) |
|||||||||||||||||||||||