Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automation in VB

Status
Not open for further replies.

SPRobson

Programmer
Jul 5, 2001
18
0
0
EU
Hi

I want to drive my VB application from another in-house application written in C++. I've been told I can do this using Automation (formerly OLE?). a) Is this true? b) How do I do it? c) What do I have to do with my VB application to make it 'automation' compliant?

Thanks for your help

Simon
 
can you convert the C++ file into an activeX dll? If you can then you can access the public methods using the declare function statement in VB.

Check MSDN (msdn.microsoft.com) for,
"Creating an ActiveX DLL" and
"Accessing DLLs and the Windows API"
for examples on how to do this.

HTH,

D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top