troubleshooting Question

Referencing a VB.NET DLL via COM from Visual C++ 6.0

Avatar of georgbuehler
georgbuehler asked on
System ProgrammingVisual C++.NET
4 Comments1 Solution358 ViewsLast Modified:
A customer asked us to help integrate a quoting package developed by a third party to Microsoft CRM. MS-CRM uses a Web Services interface, so you pretty much have to use .NET for any integration development.

The third-party quoting package, however, is written in Visual C++. Porting the code for that app to .NET is not an option.

We decided to write a DLL in VB.NET, with the settings to expose the functions to COM, that would expose the needed functionality to MS-CRM; then, we figured, the C++ developer could use the DLL's COM interface to access MS-CRM.

We built the VB.NET DLL, and tested using it from a VB6 test application via COM, and it worked fine. However, the Visual C++ developer is unfamiliar with using COM, and we're not quite sure how to tell him to register COM component in his project. (We have no experience with Visual C++.)

Could someone provide step-by-step instructions on to register VB.NET COM component in a Visual C++ 6.0 environment?

We did use the RegAsm.exe utility to register the component on the machine, and the object does appear in the OLE Browser tool; however, the component does not show up in the interface for adding components.
ASKER CERTIFIED SOLUTION
F. Dominicus
CEO/Programmer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros