473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

COM Components

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.
Nov 21 '05 #1
2 902
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" <fa*******@dodo.com.au> wrote in message
news:42********@news.comindico.com.au...
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.

Nov 21 '05 #2
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]" <Da************@msn.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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" <fa*******@dodo.com.au> wrote in message
news:42********@news.comindico.com.au...
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.


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Yasutaka Ito | last post by:
Hi, As you know, all the non-ui components (like Timer control, etc.) that sit on the form are contained in its private variable 'components'. How can I enumerate such components from any form...
6
by: Mario T. Lanza | last post by:
Greetings, I don't know about you guys but on many occasions I've asked myself whether or not someone else has solved a particular programming issue -- whether or not they developed a clever...
4
by: james | last post by:
I have a custom UserControl, which can have many sub class levels derived from it. I want to be able to discover all the components at Load time, but the only components I can see from the base...
12
by: Arda Han | last post by:
Hi friends, I need your valuable suggestions for usefull .Net components? Which components are you suggest me? I was try xtragrid it is wonderfull. Tell me please your favourite component...
2
by: Julia | last post by:
Hi, What is excatly the difference between framework components and application components?
0
by: petro | last post by:
I am trying to deploy an asp.net application to my web server. My application uses system.data.oledb to connect to an oracle database. On my development machine I have the oracle client 10g...
5
by: Patrick Vanden Driessche | last post by:
Hi All, I'm currently writing an in-house Form validation framework (WinForms) which is based on 'Component'-inheriting object. So basically, I have a small hierarchy. FormValidator +--...
8
by: JackRazz | last post by:
Is it possible to add an extended property to components like I can with controls via IExtenderProvider? JackRazz
1
by: Ellis Yu | last post by:
Dear all, I write my own components for my project and add them in "My User Control" under the toolbar. Some time later, I make some other new components into it and want to use them in my...
2
by: David Veeneman | last post by:
Is there a way to iterate the components on a form? I need to determine whether an instance of my custom component (a System.ComponentModel component) is present in a form. I have tried...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.