Trouble with Component One Grid

Posted on 2005-04-14
Last Modified: 2012-06-27
I have an application that i am currently editing. It uses ComponentOne True DBGrid Pro 8.0 for the grid. I added some new columns to this grid, complied it and ran the exe. It worked perfectly on my machine, but when i sent the updated exe to someone else who had this application installed on their machine, it did not reflect the new colums that i had added.

This had worked perfectly on my machine, but on hers. Any idea what could be going on here?

Question by:KalluMama
    LVL 15

    Expert Comment

    Instead of sending the exe file, make a setup.exe

    using VB package and deployment wizard. and send that install file to the usrs.


    Author Comment

    well...the app is already installed on her machine. all i was doing was sending an updated exe...everything else is on her PC
    LVL 8

    Expert Comment

    she is still running an old exe from somewhere. did you include an About form with the version on it, check her shortcut. check the dates on the exe files. make sure you are running the updated one.

    Author Comment

    it is the latest version since the other changes i made have gone into effect , plus the splash screen displays the version adn it is correct...
    LVL 15

    Expert Comment

    What is that update.exe is made of?

    The problem could be realted to dll nighmare.that is even though
    you install the updated version, the GUID's and CLID's won't be refresh
    in the registry.

    The way to fix is this:

    1:Ask other person to uninstall the software.

    2A: I asumme update exe is made by a setup maker program.
    Use update.exe to reinstall the new version.

    LVL 69

    Expert Comment

    by:Éric Moreau
    I would suggest that you recreate the installation kit. If you updated some components on your PC and these are not at the correct version on the user's PC, you may experience problems!
    LVL 5

    Accepted Solution

    The TDBGrid has an option to store the current grid layout... It will store all column declarations in some .grx file. Could this have happened on that PC? If so, you may want to try and remove any .grx file your application might have saved on your clients PC, or implement the following line in your code: MyGrid.Layouts.Remove "MyLayoutName". You may also check your code for lines like 'Layouts.Add ...' or 'LoadLayout' to check wether your application makes use of such Layouts.

    Hope this helps,

    Luc Derckx

    ps: If you didn't change control references or dll references in the new version of your program, than just a new .exe will do and no new installation is needed. Just be sure that no references have changed and no referred dll's/ocx's have changed as well.

    Author Comment


    That was it...the application was loading some .grx file. I deleted them all and the problem was resolved!! Thanks!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    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…
    Article by: Martin
    Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
    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…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now