Click here to Skip to main content
15,895,606 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionscaling a vb form at design time VB.net using VS Pin
UAB_Blazer2-Feb-06 11:30
UAB_Blazer2-Feb-06 11:30 
Questionhashtable "ContainsValue" returns wrong result Pin
cosma2172-Feb-06 11:21
cosma2172-Feb-06 11:21 
AnswerRe: hashtable "ContainsValue" returns wrong result Pin
Guffa2-Feb-06 11:27
Guffa2-Feb-06 11:27 
GeneralRe: hashtable "ContainsValue" returns wrong result Pin
cosma2172-Feb-06 12:12
cosma2172-Feb-06 12:12 
GeneralRe: hashtable "ContainsValue" returns wrong result Pin
Guffa2-Feb-06 21:47
Guffa2-Feb-06 21:47 
AnswerRe: hashtable "ContainsValue" returns wrong result Pin
malharone2-Feb-06 13:34
malharone2-Feb-06 13:34 
GeneralRe: hashtable "ContainsValue" returns wrong result Pin
cosma2172-Feb-06 14:56
cosma2172-Feb-06 14:56 
GeneralRe: hashtable "ContainsValue" returns wrong result ==> Problem Solved Pin
cosma2172-Feb-06 16:42
cosma2172-Feb-06 16:42 
I have solved the problem.

In my SUB where I add a treenode to the TreeView
I have add the new added treenode (PrevNode) See code below.

PrevNode = PrevNode.Nodes.Add(NewDirNode)
HT_TreeView.Add(HT_KeyCount, PrevNode)

In the code line "ht_nodeFound = HT_TreeView.ContainsValue(NewDirNode)"
the "NewDirNode" is dimensioned as a string. So the string in the collection won't be found because
the String does not match the treenode.

I changed the code to. See below. and it works.

PrevNode = PrevNode.Nodes.Add(NewDirNode)
HT_TreeView.Add(HT_KeyCount, NewDirNode)

Thanks to Guffa and malharone. Good night.
Questionhow do i upgrade a program from vb5 to vb.net Pin
cooldudekool2-Feb-06 9:59
cooldudekool2-Feb-06 9:59 
AnswerRe: how do i upgrade a program from vb5 to vb.net Pin
Dave Kreskowiak2-Feb-06 10:04
mveDave Kreskowiak2-Feb-06 10:04 
AnswerRe: how do i upgrade a program from vb5 to vb.net Pin
Ray Cassick2-Feb-06 10:07
Ray Cassick2-Feb-06 10:07 
GeneralRe: how do i upgrade a program from vb5 to vb.net Pin
Dave Kreskowiak2-Feb-06 15:14
mveDave Kreskowiak2-Feb-06 15:14 
QuestionHow do I create a backup database from scratch Pin
Quecumber2562-Feb-06 8:32
Quecumber2562-Feb-06 8:32 
AnswerRe: How do I create a backup database from scratch Pin
Dave Kreskowiak2-Feb-06 9:26
mveDave Kreskowiak2-Feb-06 9:26 
GeneralRe: How do I create a backup database from scratch Pin
Quecumber2562-Feb-06 9:41
Quecumber2562-Feb-06 9:41 
QuestionReading in a .csv file, and then printing out the results. Pin
Rashar2-Feb-06 5:13
Rashar2-Feb-06 5:13 
AnswerRe: Reading in a .csv file, and then printing out the results. Pin
Duncan Edwards Jones2-Feb-06 7:30
professionalDuncan Edwards Jones2-Feb-06 7:30 
QuestionResize Pin
Demian Panello2-Feb-06 4:29
Demian Panello2-Feb-06 4:29 
AnswerRe: Resize Pin
Joshua Quick2-Feb-06 6:31
Joshua Quick2-Feb-06 6:31 
GeneralRe: Resize Pin
Demian Panello2-Feb-06 6:39
Demian Panello2-Feb-06 6:39 
GeneralRe: Resize Pin
Joshua Quick2-Feb-06 7:23
Joshua Quick2-Feb-06 7:23 
AnswerRe: Resize Pin
Jason McBurney2-Feb-06 7:21
Jason McBurney2-Feb-06 7:21 
QuestionACTIVE X Pin
Yog-DAFTARY2-Feb-06 3:56
Yog-DAFTARY2-Feb-06 3:56 
AnswerRe: ACTIVE X Pin
Dave Kreskowiak2-Feb-06 5:29
mveDave Kreskowiak2-Feb-06 5:29 
Questionpassing parameters to delphi from vbs Pin
racebit2-Feb-06 3:27
racebit2-Feb-06 3:27 

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.