Run Time Error Flexgrid control after deployement

AdibRahman77
AdibRahman77 used Ask the Experts™
on
Hi,

I added Flexgrid control reference to my project and utilized it in my project. Everything went fine. I was able to use the grid control in my forms. After developement was finished I deployed the exe on test box and I got following error.

Runtime Error 339 Component MSFLEXGRID.OCX or one of its dependencies not corrected registered;A file is missing or invalid.

    I am not able to figure out what steps I need to follow to fix this issue.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jim HornSQL Server Data Dude
Most Valuable Expert 2013
Author of the Year 2015

Commented:
You can copy/paste the Dependancy Walker (depends.exe, ships with VS Enterprise, all versions), then run it, load that ocx, and see which of its dependant files are either missing or the wrong version.

What are you using to deploy this app?  Many deployment tools (Wise, InstallMaster) will automatically detect all dependant files necessary to run the app, and include them in the deployment package.
As Jim said, you can also use the package and deployment wizard that comes with VB
Senior IT Developer
Commented:
i would like to suggest InnoSetup rather than package and deployment wizard
Inno Setup
http://www.innosetup.com
http://www.jrsoftware.org/isinfo.php

InstallShield
http://www.installshield.com/downloads/

IS Tool:
http://www.jrsoftware.org/is3rdparty.php

InnoSetup Convertor:
http://www.patrice.ch/en/computer/programs/dp_to_is/


Nullsoft Scriptable Install System
http://nsis.sourceforge.net/home/

Ghost Installer
http://www.ginstall.com/

Installer Vise
http://www.vise.com/downloads.asp

Wise
http://www.wise.com

Commented:
you have to copy the specified ocx to the clients system and register it.
your problem will be solved.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial