Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

vbdbcoder (Programmer) (OP)
2 Sep 11 10:41
I have been scratching my head for a couple days over this problem.

Environment: 32 bit Windows 7; VS 2010
Target: to build a WinForm application with an OCX control
.NET Framework: 3.5

I could add the OCX control to my Toolbox to the left. As soon as I drag and drop it to the Windows form designer, VS2010 prompted me an error message "Failed to import the ActiveX control. Please ensure it is properly registered.". The OCX was registered correctly.  I could see some of the dependency files were added to the project References from the OCX.

Is there any pointer to fix it...??

Thanks in advance.
 
Qik3Coder (Programmer)
2 Sep 11 11:05
Have you ensured that the dll that contains the OCX is visible within the C:\windows\assemby\ folder?
You may need to physically drag the .dll into the assembly to get it registered correctly.

Then restart both VS and IIS.

Lod

You've got questions and source code. We want both!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close