How do I install a .net dll to work for VB6.0 in XP

A

Acie

Hi,

I have a VB6.0 application for which I need to convert old code with DSO to
the new AMO object. The DSO object is a COm, while the new AMO is a .net
manged API. Unfortunately, I can not register the new dll from SQLServer'05
Analysis Services with the ususal Regsvr32 program.

Is there a way that I can register it so that I can use AMO from VB6.0 ?

Would the regasm pgm do it, and where do I get it ? I don't have .net
software.

thanks,
Acie
 
K

Kerry Moorman

Acie,

You can download the free Visual Studio 2008 Express to do this.

Kerry Moorman
 
C

Cor Ligthert[MVP]

I'm not familiar with HKW articles. Can you point me to them, thanks.
Strange in this newsgroup HKW is in my idea more known then DSO or AMO.

(Decision Support Objects (DSO), Analysis Management Objects (AMO) )

Cor

 
Z

zacks

Hi,

I have a VB6.0 application for which I need to convert old code with DSO to
the new AMO object.  The DSO object is a COm, while the new AMO is a .net
manged API. Unfortunately, I can not register the new dll from SQLServer'05
Analysis Services with the ususal Regsvr32 program.

Is there a way that I can register it so that I can use AMO from VB6.0 ?

Would the regasm pgm do it, and where do I get it ? I don't have .net
software.

If I understand you correctly we do this where I work. We have a
primary application in VB6 that we have not had time to convert
to .NET yet. We have developed some "plug ins" in .NET to enhance the
product that the VB6 program makes use of. All we do in the VB6
program is to declare an object that will link to the .NET dll,

Dim myDll As Object

The link it up with:

Set myDll = CreateObject("DLL Namespace Name")

Then invoke a public method in the .NET DLL with:

myDll.SomeMethodName

The .NET DLL resides in the same folder the VB6 EXE is in, and it was
marked as COM Visible.
 

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