G
Guest
Hello,
Please bear with me as this is a very basic question.
Using Sub Main() within a console application gets executed when the console
application first starts. Does the same hold true for a windows application
created in VB.net?
I've tried a simple message box display and I keep getting build errors.
Sub Main()
MsgBox("Test Question?", vbInformation, "Title")
End Sub
The build error I am getting is as follows:
No accessible 'Main' method with an appropriate signature was found in
'WindowsApplication3.Form1'.
thanks in advance,
devin
Please bear with me as this is a very basic question.
Using Sub Main() within a console application gets executed when the console
application first starts. Does the same hold true for a windows application
created in VB.net?
I've tried a simple message box display and I keep getting build errors.
Sub Main()
MsgBox("Test Question?", vbInformation, "Title")
End Sub
The build error I am getting is as follows:
No accessible 'Main' method with an appropriate signature was found in
'WindowsApplication3.Form1'.
thanks in advance,
devin