Localtion: Home»Directory»NET Framework
I have a derived tree control on a MDI parent form. From a child form I
want to be able to add a node (or modify). The tree (CurrTree) has
Public WithEvents CurrTree As TreeView
defined in the parent (MDI) and the same tree(CurrTree) is also defined in a
module as a
Public CurrTree As TreeView
I'm not sure if I really need to do this or not (part of my confusion)...
In a child form when I try to access this treeview it is object reference
not set to an instance of an object....
I think I understand why I get this error (in the child the tree is not set
to anything) but I guess I'm not getting the big picture of sharing objects
between forms...
So my question is
1. Am I defining it (the tree) correctly to make it available everywhere in
my app
2. I know I have to set it to something when the child opens but what should
I set it to??
any help is greatly appreciated....
tia
meh
Try this in Release mode of .Net 1.1 SP1: class Bug2 { class C : IDisposable { public C() {} void ID...
By anonymous, 21 Comments
Hello,I'm a total asp.net newbie. I'm developing a web app and on my machine Ilogin to a sql...
By sal, 3 Comments
I have read a few different posts regarding problems logging into the newly created site but none ar...
By rdmenotte, 3 Comments
Hello,I'm a total asp.net newbie. I'm developing a web app and on my machine Ilogin to a s...
By sal, 3 Comments
Hello,I'm a total asp.net newbie. I'm developing a web app and on my machine Ilogin to a sql server ...
By sal, 3 Comments
I am getting a Null Reference error. I am trying to harvest data from a CreateUserWizard using the ...
By mdcragg, 3 Comments
Hi, I am writing an application that has to be run via a web browser and it also must run using the ...
By anonymous, 7 Comments
Hello all,My first post to the board and it's going to be a "I'm having trouble with my authenticati...
By jennih, 3 Comments
Hi folks,I've looked through several of the existing threads on this as well as looking through some...
By merk, 14 Comments
Hello All, I am very new to C# since my job consist to design/develop CE drivers but a client wants ...
By anonymous, 1 Comments
Hello all,I've looked through this newsgroup and saw lots of questions about runningan applicati...
By mattbudd, 1 Comments
I know that there is unlimited of forum-treads about solutions to nested repeater problems.Still, I ...
By woppie, 1 Comments
Aaaaarg. Why does Oracle make this so confusing! I have a web appication that was working fine con...
By tdalsimer, 1 Comments
I have two divs on an aspx, and each DIV holds a repeater which holds aUserControl.On the left hand ...
By labelle_gmail_com
I have two divs on an aspx, and each DIV holds a repeater which holds a UserControl. On the left han...
By anonymous
in the spirit of beating a dead hose (with such a blatently repeated topic) and as a result of my CL...
By stevewhitley, 1 Comments
in the spirit of beating a dead hose (with such a blatently repeatedtopic) and as a result of my CLS...
By stevewhitley, 1 Comments