On a vb6 project using dbgrid32.ocx - work well with XP - when installed on Vista, the data don't appear in the grid

Posted on 2008-11-13
Last Modified: 2012-05-05
On a vb6 project using dbgrid32.ocx - work well with XP - when installed on Vista, the data don't appear in the grid - after using dbgrid32.reg to register the componant, it work on one computer and  not an other - we tried install the program with the adminstrator rights and also to run it in the compatibility mode - any explanation ? And how to setup the installation program so this problem no more appear ?
Question by:Labpsy
    LVL 27

    Expert Comment

    by:Asta Cu
    So a right-click option on the icon/program and choosing to ru in Administrator mode doesn't help?

    Author Comment

    Thank you for your comment.
    No, it does not work - the program has been reinstalled with the administrator right. The mode compatibiity with XP had also been try.
    I think it may be due to the registration of the ocx in the registry - I don't know the way to register  is different in Vista.
    LVL 14

    Accepted Solution


    The manual registering on Vista is the same a on other OS

    This will unregister
    regsvr32 c:\path\myControl.ocx /U

    And this will register the control
    regsvr32 c:\path\myControl.ocx

    Run command is on the startup menu, among the other programs, that's a little hiden in Vista. And Run that as admin on right click menu that appeasr from right mouse button on the "run" command icon.


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    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…
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    733 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

    23 Experts available now in Live!

    Get 1:1 Help Now