Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / February 2005

Tip: Looking for answers? Try searching our database.

How to call C++ written ActiveX from .NET ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Grabelkovsky - 28 Feb 2005 16:32 GMT
I have C++ written ActiveX.
It's called from Browser and works without any problem.

But I haven't been succsessfull to call him from .NET (C#) environment.

I'd like to see any example to understand the problem.

Thanks,
Michael.

Additional information:
1. ActiveX was written inside VC6 environment.
2. I try to use the http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsAxHosting.aspx. Nothing. It is not seen even as "white box".
3. I've add MessageBox(..."OK"...) inside Control constructor. It's called! But C# application traps after...
4. I succsessfully call my ActiveX from Browser control implemented inside .NET (C#) application. But I can't manage it in this case.

Probably I need to transmite ActiveX to VC7 ?
Douglas J. Steele - 28 Feb 2005 22:52 GMT
You'll stand a much better chance of getting an answer if you ask in a more
appropriate newsgroup (one related to C#)

This newsgroup is for questions about working with ActiveX controls using
Access, the database product that's part of Office Professional.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

I have C++ written ActiveX.
It's called from Browser and works without any problem.

But I haven't been succsessfull to call him from .NET (C#) environment.

I'd like to see any example to understand the problem.

Thanks,
Michael.

Additional information:
1. ActiveX was written inside VC6 environment.
2. I try to use the
http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsAxHosting.aspx.
Nothing. It is not seen even as "white box".
3. I've add MessageBox(..."OK"...) inside Control constructor. It's called!
But C# application traps after...
4. I succsessfully call my ActiveX from Browser control implemented inside
.NET (C#) application. But I can't manage it in this case.

Probably I need to transmite ActiveX to VC7 ?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.