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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failed to load accpac .ocx by Visual Studio 2005

Status
Not open for further replies.

klaussang

Programmer
Jun 18, 2009
6
CN
I need to develop an Accpac customization program using Visual Studio 2005, but I cannot load Accpac ocx controls to my form, the error massage shows "Failed to import ActiveX control, please ensure it is properly registered"

But I can load this ocx by VB6.0, and it runs well.

How can I fix this problem?
 
And I tried "regsvr32" the ocx, but still does not work
 
2 reason that I don't use VB6

1. I have a project developed by VS2005 using Accpac ocx UI controls before I reinstall my OS. So I have to use VS2005 to finish this project.

2. VS2005 and dotnet platform is much more wonderful than VB6. Once you used VS2005 to develop ERP projects, you'll never want to use old tech anymore.
 
Its ok that VS2005 is easy to use with lots of good features but if you are developing any Project that has to be integrated with Accpac then I sugest to use VB6 since accpac controls are build using it and the code that accpac provide through its macro is also in vb6.

You can use VS2005 but you need to do more work in it.
 
It could be that you have a different version of the UI installed that your project was using. If Sage issues a service pack for a particular UI there is a chance that the GUID will be different and that will stop the UI from loading.

If you've opened up the screen in Accpac and then you start a brand new project in VS2005 and still can't get the UI to load then you might make sure that your path environment variable is not referencing an older version of Accpac. For what it is worth I can't get the UI's to appear in Delphi. I'm going to try in Delphi 2009 but the Accpac UIs are 'old technology' as you say so the newer IDEs are having problems with them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top