|
Create Visual
Basic 2010 Module - Module1.vb
|
Create Module
On the Project
menu , click Add New Item ..., The Add New
Project - work_VBNet_10 dialog box appears
:.
In this Add
New Item -work_VBNet_10 dialog box:
Select Module
icon. A message appears: Type: Common Items.
A file for storing groups of functions
In the Name
box, type Module1.vb
Click
Add | |
|
Module1.vb file, the codes
... |
|
Imports
System.Data.OleDb
Imports
System.Data
Module Module1
Public
fagenda As
New
agenda
Public
fagenda_appoint As
New
agenda_appoint
Public
fagenda_task As
New
agenda_task
Public
faganda_time As
New
aganda_time
Public
fbooknote As
New
book_note
Public
Title As
String =
"work VB
net, Message"
Public
Active_Flag As
Boolean
Public
mang_Flag As
Boolean
Public
current_form As
String
Public
current_path As
String
Public
agenda_desc As
String
Public
task_type As
String
Public
task_flag As
Boolean
Public
task_prirority As
String
Public
task_order As
Integer
Public
appoint_type As
String
Public
appoint_time As
String
Public
appoint_date As
Date
Public
appoint_flag As
Boolean
Public
appoint_full As
Boolean
Public
appoint_bookid As
String
Public
time_flag As
Boolean
Public
booknote_type As
String
Public
book_recno As
Integer
Sub
Main()
'
Instantiate a new instance of Form.
Dim
fMain As
New
mainform
'
Show the instance of the form modally.
fMain.ShowDialog()
End
Sub
End Module | | |
|
|