Thanks
[VB.NET] Advice for a Newbie
#1
Posted 28 October 2003 - 05:29 AM
Thanks
#2
Posted 28 October 2003 - 05:49 AM
#4
Posted 28 October 2003 - 06:43 AM
#5
Posted 29 October 2003 - 05:59 PM
but i do have another question, say i had some check boxes and i tick 2 out of 5 and then i want to click the next button how do i tell it only to use that two options.
#7
Posted 01 November 2003 - 08:20 AM
If Check1.Value = 1 Then MsgBox "Woot!" Else MsgBox "none selected" End If
not sure if it works like that in vb.net
#8
Posted 01 November 2003 - 09:24 AM
If CheckBox1.Checked Then
MsgBox("Woot")
Else
MsgBox("none Selected")
End If
thats how it looks in VB.NET
#10
Posted 02 November 2003 - 10:17 AM
Thanks
#11
Posted 02 November 2003 - 10:32 AM
Copy something to where ?
#12
Posted 02 November 2003 - 10:45 AM
#14
Posted 02 November 2003 - 11:13 AM
#15
Posted 02 November 2003 - 11:24 AM
#16
Posted 05 November 2003 - 11:49 AM
Thanks
#17
Posted 27 November 2003 - 12:53 AM
It can be used in a treeview also with modification.
Private Sub Regview_ItemClick(ByVal Item As MSComctlLib.ListItem)
Dim GoJump, xDt As String
GoJump = Item
ClickedItem = Val(Item.Tag)
Debug.Print "RegItemClick:"; Item.Bold = True, ClickedItem
If GoJump = "HKLM Run" Then '1
xDt = "My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run"
Reg_Write HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Applets\Regedit", "LastKey", xDt, REG_SZ
End If
BTW
both your statements about the checkboxes were exactly the same
In VB6 you can also use the .Checked or vbUnchecked
I believe if you have Option Explicit you must use the .Checked instead of = 1
I'm sure theres ways around this but its just what I've come across myself.
- ← Integrating CMD code into VB6?
- Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
- [C++] Going for C++ →



Help

Back to top









