Com object help

J

jt

I have a com object that I don't know how to expose its methods and insert
it events.

I've been using this activex control in VB6 and now learning VB.NET. I've
added the activex control to my project but how can I use it?

In VB6 I would just select the object name in drop down box on the left then
on the right I would select what event I want to use and be inserted.

Any help on the VB.NET how can I get it to insert its events, etc...

Thanks!
jt
 
T

Tom Shelton

jt said:
I have a com object that I don't know how to expose its methods and insert
it events.

I've been using this activex control in VB6 and now learning VB.NET. I've
added the activex control to my project but how can I use it?

In VB6 I would just select the object name in drop down box on the left
then on the right I would select what event I want to use and be inserted.

Any help on the VB.NET how can I get it to insert its events, etc...

Thanks!
jt

Is this a control or a code component? If it is a code component, just set
the reference and VB.NET will generate a RCW (runtime callable wrapper) for
your object. You should then be able to see it in the object browswer.
Import it's namespace, and use it just like any other object. If it is a
control - just add it to your tool box and drop it on the form.
 
J

jt

Thanks Tom!

It is a 3rd party control. Added it to the toolbox and then thr form as you
suggested.

Thanks again,
jt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top