User control troubles..

Carlos218

New member
Joined
May 7, 2010
Messages
1
Programming Experience
Beginner
Hi im kind of new to vb.net,
i need to create a user control in vb.net that will work in vb6.
but before i go into that i wanted to get a idea of creating the user control in vb.net and using it in vb.net, anyway now my problem..

the control i need to make available on vb6 is the infragistics ultragrid, so i created a user control, i inherit the infragistics ultragrid class and it builds fine.

my problem is when i add the user control to a new project i get a bunch of errors saying that certain functions arnt available for the ultragrid control i created, but that is because it needs to reference files.

now my question is: is there a way to set the user control so that when it is added to a form it automatically adds those extra references that are needed.

for example when u add a standard ultragrid to a form it add 3 reference files to the project. how can i make my control add the same 3 references??

thanks
 
Back
Top