Solved

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

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 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