Solved

C# & AtiveX Exe

Posted on 2003-12-03
3
185 Views
Last Modified: 2010-05-18
Hi.
 I have an Activex Exe built with VB6.0. I would like to know if it is possible and how to do it, to get a reference in C# to an already running instance of that ActiveX Exe(something like GetObject VB6).
 Thanks.
0
Comment
Question by:yooo9
3 Comments
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 75 total points
ID: 9865680
try
System.Runtime.InteropServices.Marshal.GetActiveObject()
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question