Click here to Skip to main content
15,891,943 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: .dll not registred Pin
Member 135222537-Aug-05 19:59
Member 135222537-Aug-05 19:59 
Generalrecently migrated from VB6...debating on C# or VB.NET Pin
JoeySmith4-Aug-05 21:22
JoeySmith4-Aug-05 21:22 
GeneralRe: recently migrated from VB6...debating on C# or VB.NET Pin
Dave Kreskowiak5-Aug-05 4:38
mveDave Kreskowiak5-Aug-05 4:38 
GeneralRe: recently migrated from VB6...debating on C# or VB.NET Pin
Dave Doknjas5-Aug-05 14:54
Dave Doknjas5-Aug-05 14:54 
GeneralRe: recently migrated from VB6...debating on C# or VB.NET Pin
JoeySmith5-Aug-05 16:56
JoeySmith5-Aug-05 16:56 
Questionhow can i load data back onto treenodes Pin
fareee4-Aug-05 20:59
fareee4-Aug-05 20:59 
AnswerRe: how can i load data back onto treenodes Pin
Dave Kreskowiak5-Aug-05 4:32
mveDave Kreskowiak5-Aug-05 4:32 
GeneralRe: how can i load data back onto treenodes Pin
Anonymous6-Aug-05 6:09
Anonymous6-Aug-05 6:09 
still havin error on this line of code objCon.Open()

An unhandled exception of type 'System.NullReferenceException' occurred in tab.exe

Additional information: Object reference not set to an instance of an object.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

TreeView1.Nodes.Clear()
objCon.Open()
adapter1 = New Odbc.OdbcDataAdapter("Select * from RemoteHost", objCon)
data = New DataSet
adapter1.Fill(data, "RemoteHost")
' This part assumes that a table called "RemoteHost" actually exists in the dataset,
' and the a column called "General" exists in that table!
Dim I As Integer
With data.Tables("RemoteHost")
For I = 0 To .Rows.Count - 1
Dim newNode As New TreeNode(.Rows(I).Item("General").ToString())
newNode.ImageIndex = 0
TreeView1.Nodes.Add(newNode)
Next
End With
objCon.Close()

GeneralRe: how can i load data back onto treenodes Pin
Dave Kreskowiak6-Aug-05 6:45
mveDave Kreskowiak6-Aug-05 6:45 
GeneralDLL from project VB Pin
Roirin4-Aug-05 20:59
Roirin4-Aug-05 20:59 
GeneralRe: DLL from project VB Pin
Dave Kreskowiak5-Aug-05 4:24
mveDave Kreskowiak5-Aug-05 4:24 
GeneralRe: DLL from project VB Pin
Roirin7-Aug-05 20:19
Roirin7-Aug-05 20:19 
GeneralRe: DLL from project VB Pin
Dave Kreskowiak8-Aug-05 1:53
mveDave Kreskowiak8-Aug-05 1:53 
GeneralRe: DLL from project VB Pin
Roirin8-Aug-05 20:48
Roirin8-Aug-05 20:48 
GeneralRe: DLL from project VB Pin
Dave Kreskowiak9-Aug-05 1:54
mveDave Kreskowiak9-Aug-05 1:54 
Generalparse treeview Pin
fareee4-Aug-05 20:56
fareee4-Aug-05 20:56 
GeneralRe: parse treeview Pin
Dave Kreskowiak5-Aug-05 4:20
mveDave Kreskowiak5-Aug-05 4:20 
GeneralRe: parse treeview Pin
Anonymous6-Aug-05 5:58
Anonymous6-Aug-05 5:58 
GeneralRe: parse treeview Pin
Rob Graham7-Aug-05 15:31
Rob Graham7-Aug-05 15:31 
Generalparse treeview Pin
fareee4-Aug-05 20:32
fareee4-Aug-05 20:32 
GeneralFractions in Visual Basic.Net Pin
Desi Bravo4-Aug-05 19:00
Desi Bravo4-Aug-05 19:00 
GeneralRe: Fractions in Visual Basic.Net Pin
Christian Graus4-Aug-05 19:02
protectorChristian Graus4-Aug-05 19:02 
GeneralRe: Fractions in Visual Basic.Net Pin
Desi Bravo4-Aug-05 20:49
Desi Bravo4-Aug-05 20:49 
GeneralRe: Fractions in Visual Basic.Net Pin
Christian Graus7-Aug-05 13:14
protectorChristian Graus7-Aug-05 13:14 
GeneralRe: Fractions in Visual Basic.Net Pin
toxcct4-Aug-05 20:23
toxcct4-Aug-05 20:23 

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.