G
Guest
I am trying to include a legacy com control (controlname.ocx) in an asp.net
application using vs 2003. I have added the control to the user control tool
box, then dragged it to the form. However, when i try to reference it in
code, it does not seem to exist. I declared the object variable and the ide
reports the class members. The intellisense then recognizes the child members
of the object variable and provides them in a drop down, however when
attempting to execute the code, it fails with - Object reference not set to
an instance of an object.
I am a long time vb programmer trying my best to make the switch to .net and
after trying to solve this problem for the last 10 hours or so hope that
someone might have an answer or at least point me in the right direction.
Thanks
application using vs 2003. I have added the control to the user control tool
box, then dragged it to the form. However, when i try to reference it in
code, it does not seem to exist. I declared the object variable and the ide
reports the class members. The intellisense then recognizes the child members
of the object variable and provides them in a drop down, however when
attempting to execute the code, it fails with - Object reference not set to
an instance of an object.
I am a long time vb programmer trying my best to make the switch to .net and
after trying to solve this problem for the last 10 hours or so hope that
someone might have an answer or at least point me in the right direction.
Thanks