Solved

VB6 ocx in C# prog

Posted on 2003-11-17
3
527 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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