Click here to Skip to main content
15,915,042 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 21:54
mveRichard MacCutchan6-Aug-10 21:54 
GeneralRe: How do we program Live chat? Pin
Syed Wayez Ahmed6-Aug-10 22:07
Syed Wayez Ahmed6-Aug-10 22:07 
GeneralRe: How do we program Live chat? Pin
Abhinav S6-Aug-10 22:38
Abhinav S6-Aug-10 22:38 
GeneralRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 23:14
mveRichard MacCutchan6-Aug-10 23:14 
GeneralRe: How do we program Live chat? Pin
Syed Wayez Ahmed6-Aug-10 23:48
Syed Wayez Ahmed6-Aug-10 23:48 
GeneralRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 23:53
mveRichard MacCutchan6-Aug-10 23:53 
GeneralRe: How do we program Live chat? Pin
Syed Wayez Ahmed7-Aug-10 1:17
Syed Wayez Ahmed7-Aug-10 1:17 
QuestionTreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Andraw Tang5-Aug-10 11:12
Andraw Tang5-Aug-10 11:12 
Hi, dear all,

I create a MDIContainer form (called form1) which has a TreeView on the left side, the treeview looks like and is designed at design mode:

+ Input Data
Primary Data
+ Object Data
Object 1
Object 2
Object 3

The Object number is 2 or 3, so by default I create 3 nodes, one for each object, my problems are:

1: Based on user selection about object number (2 or 3), I will decided remove (or disable or hide) Object 3 treenode, if user change the value to 3, I will add (or enable or show) this node. But I didn't find any information about disable treenode, can I disable treenode? If I use remove node, when I decide to add it back later, how can I make sure it is added at the same locatin in treeview?

2: if the user selection is stored in DB, then next time when he open the form, the object node number should be same as user selected object number, but from where I should initialize the treeview? Since the treeview is in form1 (MDI container), I thought I can do it at form1_Load() subroutine, but when I check the treenode count in it (using TreeView1.Nodes.Count),but I got value 1 instead of 6, why???

Thanks!
AnswerRe: TreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Andraw Tang5-Aug-10 12:08
Andraw Tang5-Aug-10 12:08 
GeneralRe: TreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Tom Deketelaere5-Aug-10 22:25
professionalTom Deketelaere5-Aug-10 22:25 
GeneralRe: TreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Andraw Tang6-Aug-10 3:33
Andraw Tang6-Aug-10 3:33 
QuestionDataGridView and combobox issue Pin
mecca15-Aug-10 9:37
mecca15-Aug-10 9:37 
Question[VB6] Problem with search data in Access database (windows form application) Pin
_ASPAle_5-Aug-10 1:22
_ASPAle_5-Aug-10 1:22 
AnswerRe: [VB6] Problem with search data in Access database (windows form application) Pin
AnnieMacD5-Aug-10 5:19
AnnieMacD5-Aug-10 5:19 
QuestionGet table field size Pin
cyberexel4-Aug-10 8:14
cyberexel4-Aug-10 8:14 
AnswerRe: Get table field size Pin
Eddy Vluggen4-Aug-10 9:52
professionalEddy Vluggen4-Aug-10 9:52 
GeneralRe: Get table field size Pin
cyberexel4-Aug-10 23:13
cyberexel4-Aug-10 23:13 
GeneralRe: Get table field size Pin
Eddy Vluggen5-Aug-10 0:28
professionalEddy Vluggen5-Aug-10 0:28 
QuestionCannot find ContextMenu control in vb.net Pin
Andraw Tang4-Aug-10 6:30
Andraw Tang4-Aug-10 6:30 
AnswerRe: Cannot find ContextMenu control in vb.net Pin
cyberexel4-Aug-10 8:05
cyberexel4-Aug-10 8:05 
GeneralRe: Cannot find ContextMenu control in vb.net Pin
Andraw Tang4-Aug-10 10:25
Andraw Tang4-Aug-10 10:25 
GeneralRe: Cannot find ContextMenu control in vb.net Pin
cyberexel4-Aug-10 23:11
cyberexel4-Aug-10 23:11 
QuestionGet Primary Field and Foreign Fields from Access Table Pin
cyberexel4-Aug-10 4:49
cyberexel4-Aug-10 4:49 
AnswerRe: Get Primary Field and Foreign Fields from Access Table Pin
cyberexel5-Aug-10 6:39
cyberexel5-Aug-10 6:39 
QuestionRemote TCP file Transferring Pin
rezafathi3-Aug-10 14:15
rezafathi3-Aug-10 14:15 

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.