Solved

VB6 ocx in C# prog

Posted on 2003-11-17
3
529 Views
Last Modified: 2008-02-26
I have a vb6 activex control(.ocx) that I need to use in a .NET app, but I am unable to add the control. (err - Converting the assembly to a .NET assembly failed. Error loading type library/dll. (I have already tried aximp, with the same results). No interop dll is available., Anyone have an idea how I might be able to pull this off? (I have no source code for the .ocx)

thanks in advance.
0
Comment
Question by:ocjared
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
smegghead earned 250 total points
ID: 9766719
If all else fails, you could wrap it up within another usercontrol in VB6, by re-exposing all the properties methods through the new control.

However, I would explore other avenues before resorting to this.

Smg.
0
 
LVL 1

Author Comment

by:ocjared
ID: 9773983
Any suggestions for other avenues?
0
 
LVL 10

Expert Comment

by:smegghead
ID: 9774638
Would you be able to send me the control ?? I could try it here.. is it completely stand-alone ? my email is on my profile.

Chrs
Smg.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

726 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