Click here to Skip to main content
15,923,576 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
Dave Kreskowiak11-Jan-05 4:31
mveDave Kreskowiak11-Jan-05 4:31 
GeneralRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
girijaa11-Jan-05 18:10
professionalgirijaa11-Jan-05 18:10 
GeneralRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
Dave Kreskowiak12-Jan-05 1:10
mveDave Kreskowiak12-Jan-05 1:10 
GeneralRe: How to set the first parameter of URLDownlofToFIle() in VB. Pin
Dave Kreskowiak13-Jan-05 1:55
mveDave Kreskowiak13-Jan-05 1:55 
GeneralAdd nodes to Treeview Pin
vilasjain10-Jan-05 17:33
vilasjain10-Jan-05 17:33 
GeneralRe: Add nodes to Treeview Pin
Robert Rohde10-Jan-05 20:42
Robert Rohde10-Jan-05 20:42 
GeneralCreating the Treeview nodes dynamically Pin
vilasjain10-Jan-05 17:30
vilasjain10-Jan-05 17:30 
GeneralRe: Creating the Treeview nodes dynamically Pin
Jodd11-Jan-05 3:01
Jodd11-Jan-05 3:01 
Hi,

Create a datatable (in database) with the colums 'Code' and 'Upcode' Where de upcode for an rootnode = '-' The upcode for de child nodes is the code from the parent node


The you can use following code

Dim TN as new Treenode
Tn.Tag = "-"


Private Sub Groep_Laad(ByVal Nde As TreeNode, ByVal Isroot As Boolean)
Dim GR As New Ole_DB_Groep()
Dim DT As New DataTable()
Dim Teller As Int16
If Isroot Then
GroepTV.Nodes.Clear()
End If
GR.SelectCommand = "SELECT * FROM TableName WHERE upcode ='" & Nde.Tag & "' ORDER BY Code"
GR.Adaptor.Fill(DT)
With DT
If .Rows.Count > 0 Then
For Teller = 0 To .Rows.Count - 1
Dim NewNode As New TreeNode()
NewNode.Tag = "" & .Rows(Teller).Item("Code")
NewNode.Text = "" & .Rows(Teller).Item("Name")
If Isroot Then
GroepTV.Nodes.Add(NewNode)
Else
Nde.Nodes.Add(NewNode)
End If
Groep_Laad(NewNode, False)
Next
End If
End With
DT.Dispose()
GR.Dispose()
End Sub


GeneralDataGrid Mouse Hover Pin
Sumit Domyan10-Jan-05 16:19
Sumit Domyan10-Jan-05 16:19 
GeneralRe: DataGrid Mouse Hover Pin
Robert Rohde11-Jan-05 3:03
Robert Rohde11-Jan-05 3:03 
GeneralVB Callback functions in a C DLL Pin
mannywine10-Jan-05 11:04
mannywine10-Jan-05 11:04 
GeneralVB Web Server Pin
RCOLATRU10-Jan-05 11:02
RCOLATRU10-Jan-05 11:02 
GeneralRe: VB Web Server Pin
Dave Kreskowiak11-Jan-05 4:25
mveDave Kreskowiak11-Jan-05 4:25 
GeneralRe: VB Web Server Pin
RCOLATRU11-Jan-05 4:38
RCOLATRU11-Jan-05 4:38 
GeneralRe: VB Web Server Pin
Dave Kreskowiak11-Jan-05 15:44
mveDave Kreskowiak11-Jan-05 15:44 
QuestionBest way to stream video? Pin
[DK]KiloDunse10-Jan-05 9:41
[DK]KiloDunse10-Jan-05 9:41 
AnswerRe: Best way to stream video? Pin
Dave Kreskowiak11-Jan-05 4:15
mveDave Kreskowiak11-Jan-05 4:15 
GeneralRe: Best way to stream video? Pin
[DK]KiloDunse11-Jan-05 4:50
[DK]KiloDunse11-Jan-05 4:50 
GeneralRe: Best way to stream video? Pin
Dave Kreskowiak11-Jan-05 9:02
mveDave Kreskowiak11-Jan-05 9:02 
GeneralMoving page to the location of a textbox Pin
Member 162996410-Jan-05 8:57
Member 162996410-Jan-05 8:57 
GeneralFileSystemWatcher HELP!!! Pin
Alex Y.10-Jan-05 3:54
Alex Y.10-Jan-05 3:54 
GeneralAdd complex Numbers Pin
jamieyale10-Jan-05 3:38
jamieyale10-Jan-05 3:38 
GeneralBeingRead() / EndRead() doubt Pin
carlos_rocha10-Jan-05 3:18
carlos_rocha10-Jan-05 3:18 
GeneralGetting error while compiling project Pin
abii55510-Jan-05 1:22
abii55510-Jan-05 1:22 
QuestionHow To Stretch Picture Box Manually Pin
Member 28202610-Jan-05 0:42
Member 28202610-Jan-05 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.