[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 548
  • Last Modified:

VB6 ocx in C# prog

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
ocjared
Asked:
ocjared
  • 2
1 Solution
 
smeggheadCommented:
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
 
ocjaredAuthor Commented:
Any suggestions for other avenues?
0
 
smeggheadCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now