question

LingSteven avatar image
0 Votes"
LingSteven asked cheong00 commented

How to work with COM component in vb6?

Hi,

I need to interact with C++ COM components in VB6. Could you provide some demos and tutorials?

Thanks,
Steven

not-supported
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LingSteven ,
You can ask vb6 questions in the following forum:
Visual Basic 6 and Earlier
Thank you for your understanding.

0 Votes 0 ·

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered cheong00 commented

"dotnet-visual-basic" Tag is for VB .NET

In VB6, you mainly use CreateObject : Using the CreateObject and GetObject Functions to Instantiate Objects



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Or you can "Add Reference..." in "Project" menu similar to .NET project (of course, only COM libraries will be shown, no .NET assemblies would be there)

0 Votes 0 ·