Beruflich Dokumente
Kultur Dokumente
Message Box
Input Box
Calculator
Dim OP As String
Dim FIRST As Double
Case "/"
Text1.Text = FIRST / Val(Text1.Text)
End Select
End Sub
Notepad
Randomize
dice = Int((6 * Rnd) + 1)
Case 1
Shape2(0).FillStyle = 1
Shape2(1).FillStyle = 1
Shape2(2).FillStyle = 1
Shape2(3).FillStyle = 1
Shape2(4).FillStyle = 1
Shape2(5).FillStyle = 1
Shape2(6).FillStyle = 0
Case 2
Shape2(0).FillStyle = 1
Shape2(1).FillStyle = 1
Shape2(2).FillStyle = 0
Shape2(3).FillStyle = 0
Shape2(4).FillStyle = 1
Shape2(5).FillStyle = 1
P a g e | 16
Shape2(6).FillStyle = 1
Case 3
Shape2(0).FillStyle = 0
Shape2(1).FillStyle = 1
Shape2(2).FillStyle = 1
Shape2(3).FillStyle = 1
Shape2(4).FillStyle = 1
Shape2(5).FillStyle = 0
Shape2(6).FillStyle = 0
Case 4
Shape2(0).FillStyle = 0
Shape2(1).FillStyle = 0
Shape2(2).FillStyle = 1
Shape2(3).FillStyle = 1
Shape2(4).FillStyle = 0
Shape2(5).FillStyle = 0
Shape2(6).FillStyle = 1
Case 5
Shape2(0).FillStyle = 0
Shape2(1).FillStyle = 0
Shape2(2).FillStyle = 1
Shape2(3).FillStyle = 1
Shape2(4).FillStyle = 0
Shape2(5).FillStyle = 0
Shape2(6).FillStyle = 0
Case 6
Shape2(0).FillStyle = 0
Shape2(1).FillStyle = 0
Shape2(2).FillStyle = 0
Shape2(3).FillStyle = 0
Shape2(4).FillStyle = 0
Shape2(5).FillStyle = 0
Shape2(6).FillStyle = 1
End Select
End Sub
P a g e | 17
P a g e | 18
End Sub
1 row created.
SQL>/
Enter value for sname: bentley
Enter value for roll: 02
Enter value for sid: 2607
Enter value for gender: m
Enter value for dob: 28-jul-1989
Enter value for marks: 70
old 1: insert into student values(‘&name’,&roll,&sid,‘&gender’,‘&dob’,&marks);
new 1: insert into student values(‘bentley’,02,2607,‘m’,‘28-jul-1989’,70)
1 row created.
SQL>/
Enter value for sname: ana
Enter value for roll: 03
Enter value for sid: 2609
Enter value for gender: f
Enter value for dob: 12-dec-1989
Enter value for marks: 80
old 1: insert into student values(‘&name’,&roll,&sid,‘&gender’,‘&dob’,&marks);
new 1: insert into student values(‘ana’,03,2609,‘m’,‘12-dec-1989’,80)
1 row created.
SQL>/
Enter value for sname: julie
Enter value for roll: 04
Enter value for sid: 2621
P a g e | 26
1 row created.
SQL>/
Enter value for sname: mary
Enter value for roll: 05
Enter value for sid: 2633
Enter value for gender: f
Enter value for dob: 19-aug-1989
Enter value for marks: 64
old 1: insert into student values(‘&name’,&roll,&sid,‘&gender’,‘&dob’,&marks);
new 1: insert into student values(‘mary’,05,2633,‘f’,‘19-aug-1989’,64)
1 row created.
P a g e | 27
P a g e | 28
Data Grid
P a g e | 29
Click on close button in add field dialog box and click on the Build The table button
P a g e | 33
previous
Next Record
Adodc1
(ActiveX Data Object Data Control)
P a g e | 34
End Sub
Private Sub cmdexit_Click()
Unload Me
End Sub
End Sub
Private Sub Form_Load()
Dim str As String
Me.Caption = "library system"
Set comm = Nothing
comm.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=library.mdb;Persist
Security Info=False"
str = "select * from lib"
Rs.Open str, comm, adOpenDynamic, adLockPessimistic
Rs.MoveFirst
Text1.Text = Rs(0)
Text2.Text = Rs(1)
Text3.Text = Rs(2)
Text4.Text = Rs(3)
End Sub
Click on it
Select The
Required Table
P a g e | 43
Drag n Drop
P a g e | 45
P a g e | 46
P a g e | 47
Write IDH_FILE after file and Hide It from font dialog box,,
Click on the file and add the Rich Text Format File that You have prepared
P a g e | 48
P a g e | 49
Open VB and Drag and drop the Microsoft Dialog Common Control 6.0