Solved

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

Posted on 2010-08-13
5
314 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
5 Comments
 
LVL 17

Expert Comment

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

0
 

Author Comment

by:mSchmidt
Comment Utility
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
Comment Utility
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 100

Expert Comment

by:mlmcc
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now