Click here to Skip to main content
16,007,843 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Virutal Serial Port Pin
progload2-Feb-06 18:27
progload2-Feb-06 18:27 
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 
I established the Quickwatsh for "NewDirNode", so I know that it contains "Documentation"

with your code I got the same result.
Console.Out.Writelin(string.Format("[{0}]", NewDirNode))

My code to check the content of the HashTable :

Private Sub WrittelnHashTable()
Dim dirHa As DictionaryEntry
Dim Key As Integer = 0

For Each dirHa In HT_TreeView

Console.WriteLine(vbTab + "[{0}]:" + vbTab + "{1}" + vbTab + "{2}", Key, dirHa.Key, dirHa.Value)
Key += 1
Next

It tells me that the hashtable contains the string "Documentation".

[0]: 4 TreeNode: Politics
[1]: 3 TreeNode: Documentation
[2]: 2 TreeNode: Movie
[3]: 1 TreeNode: H:
[4]: 0 TreeNode: -2012889922

If I am requesting any key of the hashtable with CONTAINS I always get a TRUE response.


GeneralRe: hashtable "ContainsValue" returns wrong result ==> Problem Solved Pin
cosma2172-Feb-06 16:42
cosma2172-Feb-06 16:42 
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 

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.