Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM Exception

Status
Not open for further replies.

JurkMonkey

Programmer
Nov 23, 2004
1,731
CA
Here we go:

I'm using an ActiveX Component which is throwing a System.Runtime.InteropServices.COMException

Class not registered

Can someone explain how to register this dll properly?

<insert stupid signature here>
 
Ok,

I'm going to post the answer now... and it was a damn easy problem that I spent waaaaaay too much time on.... but here it goes...

I was trying to register the .dll files - when in actual fact, I needed to register the .ocx file that I was using. Once I ran the regsvr32 <myocxfile> it ran great.

Thanks chmohan for your fast reply also.

<insert stupid signature here>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top