Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2008 A real dumb question

$
0
0
Hello
I have created a sub procedure that is the entire program. THis is a test program that shows a messagebox. What I want to do is call the procedure when I run the program, I get an declaration expected error. If you could help me that would be great.
Thanks
George

Public Class blackbox
main()
Private Sub main()
MessageBox.Show("Hello")
End Sub
End Class

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>