×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!
  • Students Click Here

*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.

Students Click Here

[OCX problem] - Failed to import the ActiveX control Visual Studio

[OCX problem] - Failed to import the ActiveX control Visual Studio

[OCX problem] - Failed to import the ActiveX control Visual Studio

(OP)
I'm using Visual Studio and SAGE 2020. In previous version of SAGE 2019. I can used the .ocx and installed it successfully. But after upgrading, I cannot use it anymore.

When I dragged the Item from ToolBox:


I even tried to manually register the .ocx file


Is there any thing that I missed? Or need to be done?

Btw, when I tried to rebuild the solutions, below is the error:

CODE -->

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2015,5): warning MSB3283: Cannot find wrapper assembly for type library "AxAccpacOE1100". Verify that (1) the COM component is registered correctly and (2) your target platform is the same as the bitness of the COM component. For example, if the COM component is 32-bit, your target platform must not be 64-bit. 

RE: [OCX problem] - Failed to import the ActiveX control Visual Studio

Installing Sage would have caused it to run regacc.

Maybe try running VS as Administrator?

RE: [OCX problem] - Failed to import the ActiveX control Visual Studio

(OP)
I'm already running my VS as Administrator. Till now it is not working. Spent 3 days already for this error.

RE: [OCX problem] - Failed to import the ActiveX control Visual Studio

Are you able to create a new project with the other sub components of the OE screen? Meaning - an Accpac data source, field edit control, etc? I'm wondering if there is an underlying issue affecting the OE screen.

RE: [OCX problem] - Failed to import the ActiveX control Visual Studio

(OP)
I ended up converting the .NET to VB6.

RE: [OCX problem] - Failed to import the ActiveX control Visual Studio

I'm not sure where the issue is but I had the same problem when trying to bring the .ocx controls into Delphi to do customizations. Other people had success but the error messages that I was seeing was very similar to what you were seeing. I dropped back to VB6 and didn't look back - until Orchid's Extender came along.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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! Already a Member? Login

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