COM Components

  • Thread starter Thread starter David Pendrey
  • Start date Start date
D

David Pendrey

Hello everyone :)

I am new to programming in .NET and I want to make the equivalent of an
ActiveX .EXE file in Visual Basic 5 so that I can have some classes
accessible outside of my application. I don't want to make all of the
classes visible, only some. Additional to this I was wondering if it is
possible to do the same with a .NET interface. So when someone referenced my
program in a .NET language my classes would be in MyProgramName.MyClassName
just like System.ClassName

Thank you all for taking the time to read this.
 
Well, if you need classes outside you application, you only need to do a
..Net class library (.dll), and if you want this to run in COM+, only doing
small modifications you can have an Enterprise Serviced Component...

Cheers,

Daniel Carbajal
Microsoft MVP
 
Daniel

In VB5 it is possible to make classes accessible outside of your application
if the application is an Active X .EXE file (it does not have to be a .DLL
file). However even if I need to export most of my code to a .DLL file I
still need to know how to make the classes accessible to other applications.
I have tried simply making the class public and compiling it but this does
not seem to work. Does anyone know how to help me?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top