Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2008 |
| Replies: 4 Views: 5,762 hi.Jx_man, ur code is copying just 1 item, i want to copy multiple selected items.
I have tried the foll. code,Check it out where I m wrong-
Private Sub Command9_Click()
For i = List1.ListCount... |
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2008 |
| Replies: 4 Views: 5,762 I want to copy the selected items from listbox1 to listbox2.
I know how to copy all the items but not selected.
Private Sub Command3_Click()
For i = 1 To List1.ListCount
List2.AddItem i
Next... |
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2008 |
| Replies: 1 Views: 2,959 Can somebody tell me the diff b/w Debug & Debug.Print
If we write Debug.Print "i=" & i
It gives the o/p in the immediate window.
If we write print "i=" & i
It gives the normal o/p.
But what... |
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008 |
| Replies: 6 Views: 1,656 Private Sub Command2_Click()
Dim response As Integer
Response=MsgBox "Have a gala shopping", vbOKCancel + vbInformation + vbDefaultButton1, "welcome to the superMarket"
If response = vbYes... |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2008 |
| Replies: 6 Views: 1,656 Private Sub Command2_Click()
MsgBox "Have a gala shopping", vbOKCancel, "welcome to the superMarket"
End Sub
Hey, 1) I want to know how to add icons in the message Box .
2) How To Set the... |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2008 |
| Replies: 3 Views: 1,509 Ya , but there is any procedure to add the comment & unblock comment to the Standard toolbar..so we can do it quickly by clicking on it. |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2008 |
| Replies: 3 Views: 1,509 Single line Comments---?
Multi-Line Comments--?
I dont want the description, I want how to commnet the section of code.
Ex,
Line in C, Single Line Comments- //
Multi-Line Comments-/* */ |
Forum: Visual Basic 4 / 5 / 6 Apr 4th, 2008 |
| Replies: 1 Views: 5,550 Private Sub Command1_Click()
Select Case Me.Text1.Text
Case 1
MsgBox ("U Entered 1")
Case 2
MsgBox ("U entered 2")
Case 3
MsgBox ("u entered 3")
Case Default
MsgBox ("Default") |