Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
Generalcomment... Pin
misterbear5-Aug-03 0:46
misterbear5-Aug-03 0:46 
GeneralRemoting Pin
Ivan Fernandez5-Aug-03 0:27
Ivan Fernandez5-Aug-03 0:27 
GeneralRe: Remoting Pin
Valeria Bogdevich5-Aug-03 2:55
Valeria Bogdevich5-Aug-03 2:55 
GeneralAn activeX in C# Pin
mrpink5-Aug-03 0:27
mrpink5-Aug-03 0:27 
GeneralRe: An activeX in C# Pin
Anonymously5-Aug-03 1:04
Anonymously5-Aug-03 1:04 
GeneralRe: An activeX in C# Pin
p daddy5-Aug-03 3:38
p daddy5-Aug-03 3:38 
GeneralRe: An activeX in C# Pin
mrpink5-Aug-03 4:29
mrpink5-Aug-03 4:29 
GeneralRe: An activeX in C# Pin
Stephane Rodriguez.5-Aug-03 4:46
Stephane Rodriguez.5-Aug-03 4:46 
There is no tool to help to do this using .NET, at least currently : we have tlbimp.exe, tlbexp.exe, aximp.exe. And guess what, we don't have axexp.exe.

Basically you need to export an object which exposes the common interfaces exposed by an ActiveX object, which are IOleObject, IOleControl, IDispatch just to name the few mandatory ones.

Exposing interfaces is not hard, tlbexp.exe does all the work.

But you have to create an object, which inherits those interfaces. At this point, if I was asked to do just that, I would try to derive the axhost class (winforms namespace), which is the base class used when it comes to instantiating ActiveX objects.

May be you are even better off writing everything from scratch.

To know what interfaces to implement, and to see the wonderful thing appear in the Control Test Container, I would recommend an old Fritz Onion article[^].



  RSS feed
GeneralRe: An activeX in C# Pin
mrpink5-Aug-03 6:03
mrpink5-Aug-03 6:03 
GeneralRe: An activeX in C# Pin
Stephane Rodriguez.6-Aug-03 2:22
Stephane Rodriguez.6-Aug-03 2:22 
Generali,Remtoing Pin
Ivan Fernandez5-Aug-03 0:24
Ivan Fernandez5-Aug-03 0:24 
GeneralCreating child window Pin
S O S5-Aug-03 0:07
S O S5-Aug-03 0:07 
GeneralRe: Creating child window Pin
Furty5-Aug-03 0:54
Furty5-Aug-03 0:54 
GeneralRe: Creating child window Pin
S O S5-Aug-03 4:19
S O S5-Aug-03 4:19 
GeneralRe: Creating child window Pin
Arun Bhalla5-Aug-03 5:37
Arun Bhalla5-Aug-03 5:37 
GeneralRe: Creating child window Pin
S O S5-Aug-03 10:04
S O S5-Aug-03 10:04 
GeneralRe: Creating child window Pin
Arun Bhalla5-Aug-03 10:37
Arun Bhalla5-Aug-03 10:37 
GeneralDataSets vs Serviced Component Pin
schockp4-Aug-03 22:14
schockp4-Aug-03 22:14 
GeneralRe: DataSets vs Serviced Component Pin
Ista5-Aug-03 9:34
Ista5-Aug-03 9:34 
GeneralRe: DataSets vs Serviced Component Pin
schockp5-Aug-03 21:06
schockp5-Aug-03 21:06 
GeneralRe: DataSets vs Serviced Component Pin
Ista6-Aug-03 4:26
Ista6-Aug-03 4:26 
GeneralRe: DataSets vs Serviced Component Pin
schockp6-Aug-03 4:32
schockp6-Aug-03 4:32 
GeneralRe: DataSets vs Serviced Component Pin
Jarrod Marshall6-Aug-03 7:40
Jarrod Marshall6-Aug-03 7:40 
GeneralRe: DataSets vs Serviced Component Pin
schockp6-Aug-03 20:46
schockp6-Aug-03 20:46 
GeneralRe: DataSets vs Serviced Component Pin
Ista6-Aug-03 10:26
Ista6-Aug-03 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.