Megha VB
Megha VB
lblDisplay.FontBold = True
lblDisplay.FontSize = 14
lblDisplay.Alignment = 2
End Sub
Output:-
Megha
Pusadkar
Megha Pusadkar
Private Sub cmdSubmit_Click()
Else
End If
End Sub
Output:-
Megha18
Private Sub cmdSubmit_Click()
End If
End Sub
Output:-
Megha18
Private Sub cmdSubmit_Click()
Case 1
Case 2
Case 3
Case 4
Case 5
End Select
End Sub
Output:-
Private Sub Option1_Click()
Shape1.Shape = 0
End If
End Sub
Shape1.Shape = 1
End If
End Sub
Shape1.Shape = 2
End If
End Sub
Shape1.Shape = 3
End If
End Sub
Shape1.Shape = 4
End If
End Sub
Shape1.Shape = 5
End If
End Sub
Output:-
Private Sub Command1_Click()
a=a+1
If a = 1 Then
ElseIf a = 2 Then
Label1.Caption = " While studying create key notes.It helps in remembering the topic later."
ElseIf a = 3 Then
ElseIf a = 4 Then
Label1.Caption = "Before you start a work keep the things ready required to completethe work."
ElseIf a = 5 Then
ElseIf a = 6 Then
ElseIf a = 7 Then
Label1.Caption = "Don't be upset if you fall. remember failure is the pillar of success."
ElseIf a = 8 Then
Label1.Caption = "Don't shout if you have done mistake. say sorry and accept your mistake."
ElseIf a = 9 Then
ElseIf a = 10 Then
ElseIf a = 11 Then
End
End If
End Sub
Private Sub Form_Load()
limit = 2
sc = 2 * 60
Timer1.Enabled = True
End Sub
Static seconds
seconds = seconds + 1
If seconds = sc Then
Timer1.Enabled = False
End
End If
End Sub
Output :-
Private Sub HScroll1_Change()
Label1.FontSize = HScroll1.Value
End Sub
Output :-
Private Sub Combo1_Change()
End If
End If
End If
End If
End Sub
Output :-
Private Sub Command1_Click()
If List1.ListIndex = 0 Then
End If
If List1.ListIndex = 1 Then
End If
If List1.ListIndex = 2 Then
End If
If List1.ListIndex = 3 Then
End If
If List1.ListIndex = 4 Then
End If
If List1.ListIndex = 5 Then
End If
If List1.ListIndex = 6 Then
End If
If List1.ListIndex = 7 Then
End If
If List1.ListIndex = 8 Then
End Sub
End Sub
Output:-
label1.ForeColor = &HFF&
label1.BackColor = &HFFFFFF
label1.FontBold = True
Command1.Enabled = False
End Sub
Text1.FontBold = True
Else
Text1.FontBold = False
End If
End Sub
If Check2.Value = 1 Then
Text1.FontItalic = True
Else
Text1.FontItalic = False
End If
End Sub
If Check3.Value = 1 Then
Text1.FontUnderline = True
Else
Text1.FontUnderline = False
End If
End Sub
If Check4.Value = 1 Then
Text1.ForeColor = &HFF&
Else
Text1.ForeColor = &H0&
End If
End Sub
If Check5.Value = 1 Then
Text1.ForeColor = &HC00000
Else
Text1.ForeColor = &H0&
End If
End Sub
If Check6.Value = 1 Then
Text1.ForeColor = &HC00000
Else
Text1.ForeColor = &H0&
End If
End Sub
\
Private Sub Option1_Click()
Command1.Enabled = False
Command1.Enabled = False
Command1.Enabled = False
Command1.Enabled = False
End If
End Sub
Option1.Value = False
Option2.Value = False
Option3.Value = False
Option4.Value = False
End Sub
s
Private Sub Command1_Click()
End Sub
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
End Sub
End Sub