Solved

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

Posted on 2010-08-13
5
315 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
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 100

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

914 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

22 Experts available now in Live!

Get 1:1 Help Now