|
Create Visual Basic
.Net Module - Module1.vb
|
Create Module
On the View menu ,
click Solution Explorer
In Solution Explorer,
right click the APP-VBNet, select Add on the shortcut
menu to open other shortcut menu, click Add New Item, the Add
New Item - App-VBNet dialog box appears.
In the Add New Item -App-VBNet
dialog box:
In the Categories
pane, select Local Project Items
In the Templates
pane, select Module icon . A message appears - (A file
for storing groups of functions).
In the Name
box, type Module1.vb
Click Open, in the
Solution Explorer display new item - Module1.vb
|
|
Set new Startup object - Sub Main
- On the Project
menu , click APP-VBNet Properties ..., the APP-VBNet
Property Pages dialog box appears
- In the Startup
object combo box, choose and select
Sub Main
- Click OK
|
|
|
Module1.vb file, the codes ...
|
|
Module
Module1Public
fMainForm As
New
MainForm
Public
Sub
Main()
' Starts this
application
fMainForm = New
MainForm
Application.Run(fMainForm)
End
Sub
End
Module |
|
|
|
|