We help IT Professionals succeed at work.
Get Started

VB6 - Creating ActiveX .dll file

Wayne Barron
Wayne Barron asked
Last Modified: 2012-06-27
Hello All;

  I am a Delphi programmer, and have just installed VB6 Pro. To create ActiveX .dll files.
(I heard that VB was better at this then Delphi was)

  OK, I am learning how to build an ASP script, and in the information that i am reading.
It states that I need to Compile the source-code that I have just written into an ActiveX DLL.

I started up [VB6] and started a new [ActiveX DLL] Project.
(Do not know if this part is right or not?)
In the Blank-Form, I pasted the code that I wrote.
I did a [Debug - Step Into] and it stopped on the following Line

Public Sub Init(dcnDB As Variant, _

With Error:
Microsoft Visual Basic
Compile error:

Ambiguous name detected: Init
OK   Help  

Can someone please explain to me exactly how to Compile the ASP CLASS into a DLL File?

Thank you for your time.

Carrzkiss (Using VB6 for about 5-minutes now, going to play around with it and see what I can knowledge myself with,
Who knows? Maybe I can find some more use besides just creating DLL files with it :)  )
Watch Question
Top Expert 2010
This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE