Solved

Doing a ActiveX DLL - modules not accessible ? enums not allowed ?

Posted on 2010-08-13
5
321 Views
Last Modified: 2012-05-10
Hi

Iam trying to create an ActiveX dll which should expose some static methods.
I used a Module to write some static methods, however after trying to use it in .NET the methods dont show.
Additionally it doesnt seem like i am allowed to make enums public ?
0
Comment
Question by:mSchmidt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 17

Expert Comment

by:Zhaolai
ID: 33433091
Just wonder why you won't do it in .NET since you use it in .NET.

0
 

Author Comment

by:mSchmidt
ID: 33433241
Iam actually trying to move a lot of code from a VB6 Exe to an ActiveX Dll so that we can share the code with .NET.

However in the VB6 exe we have around 50 Modules with methods.
0
 
LVL 6

Accepted Solution

by:
judgeking earned 500 total points
ID: 33614422
I've done this myself, and the intelisense in VB.NET doesn't work with my methods, but it does successfully call them.  The Enums do not carry over though, the only thing I could do was recreate them in the .NET portion and use them with the VB6 objects, mainly for clarity.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34914422
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month6 days, 13 hours left to enroll

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question