A program without a form, I just made this sample for somebody else?
\\\
Public Class test
Public Shared Sub main()
Dim OFD As New OpenFileDialog
OFD.ShowDialog()
End Sub
End Class
///
This is a complete program
I saw you did this question earlier and answering now top down, please stay
in the original thread and ask this as a follow up question next time to
Peter, this cost only time to a lot of persons.
You can add a custom 'Sub Main' and select it as startup object in the
project properties:
\\\
Public Module Program
Public Sub Main()
' Entry point...
End Sub
End Module
///
.... or you can change the project's type to "Console Application" in the
project properties. Notice that this would show a console window when the
application is started.
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.