|
-
Jan 2nd, 2010, 06:07 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Question
I have made a table, the coding is:
Private Sub Command1_Click()
Dim i As Integer
Dim n As Integer
n = Val(Text1.Text)
i = 1
Print n & "x" & i & "=" & n * i
i = 2
Print n & "=" & i & "=" & n * i
i = 3
Print n & "=" & i & "=" & n * i
i = 4
Print n & "=" & i & "=" & n * i
i = 5
Print n & "=" & i & "=" & n * i
i = 6
Print n & "=" & i & "=" & n * i
i = 7
Print n & "=" & i & "=" & n * i
i = 8
Print n & "=" & i & "=" & n * i
i = 9
Print n & "=" & i & "=" & n * i
i = 10
Print n & "=" & i & "=" & n * i
End Sub
when a user enter a number it prints the table on the left side of th form. how can i print it on a label and how to clear the print on the label?
thanx all.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|