Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / April 2005

Tip: Looking for answers? Try searching our database.

.NET control exposed as ActiveX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mircea Pleteriu - 27 Apr 2005 07:44 GMT
Hi,

This is what I want to do:

I want to develop a .NET Windows Control, expose the control as an ActiveX
and host the control from a VB6 form.
The control has to expose a MyEvent event.
It should be possible the VB6 form to register the interest in the MyEvent
event.

This is what my poroblem is:

I've implemented the .NET control, exposed it as an ActiveX and hosted by
the VB6 form and registered the interest in MyEvent event.
The problem is that event is never fired.

I've tried to host the control by a VC++6 form. The event is visible in the
list of events, the handler is created but the event is never fired too.

Does anybody can help me? (I know there is no 100% backword compatibility
for hosting a .NET control from a VB container as I found on the internet)
"Jeffrey Tan[MSFT]" - 27 Apr 2005 09:16 GMT
Hi Mircea,

For this issue, because it is interop related, my colleague Peter Huang
will reply to you in the same issue in interop newsgroup. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.