Professional Documents
Culture Documents
Leap Year
Leap Year
Dim i, j, k As Integer
Dim sir As String
Private Sub Cmd_reset_Click()
Unload Me
End Sub
Private Sub Cmd_exit_Click()
End
End Sub
Dim i As Integer
Private Sub Form_Load()
List1.AddItem "DOLLAR"
List1.AddItem "YURO"
List1.AddItem "DINAR"
List1.AddItem "DOLLAR1"
End Sub
Option Explicit
Dim v1, v2, v3, res, opt, flag As Integer
Private Sub cmd_num_Click(Index As Integer)
If flag = True Then
txt_res.Text = " "
flag = False
End If
txt_res.Text = txt_res.Text & (Index)
End Sub
End Sub
End Property
Public Property Get sdigits() As String
Dim no, s, i, r As Integer
no = InputBox("Enter The Number", "Sum Of Digits")
Do While (no > 0)
r = no Mod 10
no = Fix(no / 10)
s=s+r
Loop
sdigits = "The Sum Of Digits" & s
End Property
'CommonDialog1.ShowOpen
'Dim s As Integer
's = InputBox("enter the file name:")
'fn = FreeFile
'Open s For Input As fn
'n = EOF(fn)
'RichTextBox1.Text = Input(n, fn)
'Close fn
End Sub
Private Sub mnupaste_Click()
RichTextBox1.SelText = Clipboard.GetText
End Sub