|
-
Mar 4th, 2003, 03:23 PM
#1
Thread Starter
Lively Member
ActiveX exe in .NET?
Hi all!
What is the closest .NET project type to an old ActiveX-exe project?
Thanx!
-
Mar 4th, 2003, 10:29 PM
#2
PowerPoster
Class Library is the closest. There really isn't the exact mapping from a ActiveX.Exe to .net. Class Library comes the closest though. What is it your trying to do?
-
Mar 5th, 2003, 02:48 PM
#3
Thread Starter
Lively Member
What is it your trying to do?
I need an exe (then an indipendent program) that can expose a class and its events.
Using a library I cannot run it by itsself and use its instance both.
Thanx
-
Mar 6th, 2003, 10:22 AM
#4
PowerPoster
Originally posted by neodatatype
I need an exe (then an indipendent program) that can expose a class and its events.
Using a library I cannot run it by itsself and use its instance both.
Thanx
Hmmm, not so sure I completely understand. If you create a class library, its classes and events are exposed for you to use. Active X EXE's just don't run by themselves, they need to be called. If you mean you want the class to run in it's own thread, you will have to program in that functionality. If you want that dll's classes to share data with other apps or other instances of your app, you can create static objects that won't have to be instantiated.
-
Mar 8th, 2003, 07:03 PM
#5
PowerPoster
ActiveX exe can run standalone. You have this option when you compile your project. For example, Microsoft Excel is an ActiveX exe. The GetObject() method will allow you to attached to an already running instance (based on the supplied parameters).
Last edited by Lethal; Mar 9th, 2003 at 03:00 AM.
-
Mar 9th, 2003, 12:43 PM
#6
PowerPoster
Your right, I went back and looked it up since I haven't used them.
So how would you do this in .Net?
-
Mar 9th, 2003, 02:49 PM
#7
PowerPoster
Wish I had a definitive answer..
Possibly through remoting???
I would like to find out.
-
Mar 10th, 2003, 12:46 PM
#8
Thread Starter
Lively Member
[QUOTE
Possibly through remoting???
[/QUOTE]
Someone give me the same answer, but no one can tell me how
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|