Monday, March 16, 2009 12:03 PMFolks,
The scenario I am working currently is as follows:
I have an ActiveX Control written with VB6 named ABC.OCX, and I want to use a .net class to carry out some tasks that the activeX control needs. So I have written a .net Assembly named MyDotNetAssembly that contains the class MyDotNetClass with it's interface IMyClassInterface. after than, I have checked the build option "Register for COM interop" and used this assembly as a reference assembly form my ActiveX vb project. Than I have created the internet-style CAB file using the "Setup and deployment wizard" of VB6, and the generated output directory contains a sample HTML file that hosts the ActiveX and when I run this HTML form browser it works!!.
I have then used the ActiveX control inside my ASP.net application's page (using the regular object tag inside html) and it works fine onto the development box.
So far so good.
Now, as soon as I try to access that page from outside of Development box, it doesn't render the activeX control at all. No error.....nothing!!! During the first hit, it asked me to install the active X, and I have installed that nice. I have made the web site as a trusted site in my VISTA machine. but it doesn't render anything for that activeX neither shows any errors..?
Can anyone guess anything..? I would greatly appreciate any helps.
Doing stuff with .net
Monday, March 16, 2009 12:53 PM
Hi Moim, this forum is for software developers who are using the Open Protocol Specification documentation to assist them in developing systems, services, and applications that are interoperable. The Open Protocol Specifications can be found at: http://msdn2.microsoft.com/en-us/library/cc203350.aspx. Since your post does not appear to be related to the Open Protocol Specification documentation set we would appreciate it if you could try the '.NET Base Class Library' forum at http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/threads/ instead to find the information you are looking for. Thanks!
FYI - I will post this information on your duplicate post at http://social.microsoft.com/Forums/en-US/interopconversations/thread/f9b7c4f5-73ad-46d2-bd0c-aa44cd76ab7c (Using .Net from VB6 ActiveX control).
Monday, March 16, 2009 1:25 PMI'm sorry for this. How can I remove this from here than..?
Doing stuff with .net
Monday, March 16, 2009 1:33 PMHi Moim - no need for an apology. Glad to have been able to refer you to the right place. On another note, we never delete threads from these forums, in order to preclude accidental removal of threads related to our Open Protocol Specification documentation.
- Marked As Answer by Bill Wesse MSFT Monday, March 16, 2009 1:33 PM