Link to home
Start Free TrialLog in
Avatar of lekhaew
lekhaew

asked on

I want examples about using COM Object in VB.

I created a COM object from Delphi. I can use it in my Delhpi program.
Now i want to try to use it in other languages.
Can someone sent me for example about using COM ?
                  Thank you
                   lekhaew
                    lekveerayut@yahoo.com
                  lekhaew@keromail.com
Avatar of sunj
sunj

Do you mean ActiveX control?
If so, add it into your project by right click on the component bar and select 'components...'. Your control should appear in the list if it's registered properly.
Avatar of lekhaew

ASKER

No. I don't mean ActiveX control.
Because it's not visual component.
In delphi i register it ,
then call it in my delphi program,
finally, can use it same as one non visual component.
But in VB i don't know how to call it.
                                              Thank you

ASKER CERTIFIED SOLUTION
Avatar of shyamkumarreddy
shyamkumarreddy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lekhaew

ASKER

Thank you for your answer.
But i'm not good in VB.
Can u send me a short program which calling COM object in program.
                                        Thank you
                                         Lekveerayut@yahoo.com