Solved

Run Time Error Flexgrid control after deployement

Posted on 2006-10-20
4
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 66

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 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