>Hi everybody,
>
>In vfp, if I have an active-x component that i'd like to instantiate outside of a form, I can create a class based on the container class, drop my component into the container and then I can instantiate my class through this code elsewhere in my project:
myObject = createobject( "MyClass")
How would I do something like this in C# and in vb.net?
>
>Thanks!!!!
>
>Alex
I haven't done a lot of this in .NET, so you'll have to excuse me if I say something stupid... but, can't you add the .dll as a project reference, and instatiate you class from there?