Solved

Run Time Error Flexgrid control after deployement

Posted on 2006-10-20
4
248 Views
Last Modified: 2013-12-25
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
0
Comment
Question by:AdibRahman77
4 Comments
 
LVL 65

Expert Comment

by:Jim Horn
ID: 17774920
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.
0
 
LVL 20

Expert Comment

by:hes
ID: 17775011
As Jim said, you can also use the package and deployment wizard that comes with VB
0
 
LVL 14

Accepted Solution

by:
Shiju Sasidharan earned 125 total points
ID: 17788560
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
0
 
LVL 4

Expert Comment

by:seshu123
ID: 17978317
you have to copy the specified ocx to the clients system and register it.
your problem will be solved.

0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question