PC Review


Reply
Thread Tools Rate Thread

COM Components

 
 
David Pendrey
Guest
Posts: n/a
 
      17th Mar 2005
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.


 
Reply With Quote
 
 
 
 
Daniel Carbajal [MVP]
Guest
Posts: n/a
 
      17th Mar 2005
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

"David Pendrey" <(E-Mail Removed)> wrote in message
news:42391152$(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
David Pendrey
Guest
Posts: n/a
 
      17th Mar 2005
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


"Daniel Carbajal [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
> "David Pendrey" <(E-Mail Removed)> wrote in message
> news:42391152$(E-Mail Removed)...
>> 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.
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while invoking the COM+ components developed using .Net (Serviced Components) Praveen Chandra Microsoft Dot NET 4 21st Jun 2006 07:47 AM
Cannot install any components in add/remove windows components =?Utf-8?B?TWVnYUppbQ==?= Windows XP Setup 2 6th May 2005 01:42 AM
What is the difference between framework components and application components? Julia Microsoft C# .NET 2 22nd Nov 2004 02:48 PM
Components added to a Components Surface not in Components Collection? Microsoft Microsoft Dot NET Framework 2 20th Feb 2004 07:42 PM
UnHiding Games components in add/ remove components Mark Microsoft Windows 2000 Registry 3 15th Sep 2003 01:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:20 PM.