TDBGrid component not correctly registered - Win7x86

Originally Posted 27 March 2014, 2:14 pm EST

  • Originally Posted 27 March 2014, 2:14 pm EST

    I have twice setup a new build machine on Windows 7 x86 and both times this file is giving me problems.

    I am trying to get ComponentOne files to register properly but without success.
    I have installed VB6 sp6. I can open a new project and when I press CTRL + T , first the True DBGrid control is not listed.
    I then click on 'browse' for the file and it is found in the C:\Windows\System32 directory. When I select it I am given a message stating that the 'component is not correctly registered'.

    So I am a savvy developer and I open my trusty powershell console with admin rights. I change directory to the System32 directory and type in .\regsvr32 .\todg8.ocx . Registration succeeds.

    I then open vb6 again with a new project and again True DBGrid is not listed. I then figure, why not register everything t*.ocx and t*.dll. I use a full system path with correct case, and again I get messages stating that the file has succeeded for each file. I then add in the o*.ocx and 0*.dll files too even though I am not using them. All appropriate files succeed.

    I cannot seem to get VB6 to recognize the file at all even though registration of the file is successful.

    This is a 32bit version of Windows 7, so there is no SysWoW64 issues to deal with, everything is appropriately found in System32.

    System is a clean Win7 x86 OS and IE 9
    IIS 6 and 7 installed.
    .NET Framework 3.5.1 installed
    VB6sp6 & VS2010 sp1

    I am running VB6 as an administrator.
    I have also tried disabling the UAC.


  • Marked as Answer

    Reply

    Hello,

    There seems to be a problem with the registration of the control itself on your Windows 7 machine.

    Could you please confirm what version and build of the TrueDBGrid control are you using ?

    If you are using the latest build of TrueDBGrid Pro 8.0, then please download the latest ComponentOne Studio for ActiveX installer from the following link :
    http://www.componentone.com/SuperProducts/StudioActiveX/

    installing the same would take care of registration of all the ocx(s) and dll(s), of all the controls in the studio, on your system.

    OR, you can do it manually too. Please follow the below mentioned steps for registering the latest build of the control on your system : (Perform the following steps with disabled UAC)
    1. Unregister the previous version/build of the control from your machine :
    -Run the Command prompt with administrative rights.
    -Type the following command in the command prompt :
    c:\Windows\System32>c1regsvr /u
    2. Remove any earlier references of the control from System32.
    3. Download the latest TrueDBGrid8 Build from the following link :
    http://prerelease.componentone.com/activex/C1TrueDBGrid/2013-T3/
    4. From the TrueDBGrid8 build folder, Copy all the ocx(s) & dll(s) on this location :
    C:\WINDOWS\system32
    5. Register these ocx(s) & dll(s) on your machine as :
    -Run the Command prompt with administrative rights.
    -Go to C:\WINDOWS\system32 folder using the following command :
    C:\>cd C:\Windows\system32
    Type the following command :
    C:\Windows\system32>regsvr32 (or specify the whole path)

    -Follow this registeration procedure for all the ocx(s) & dll(s) included in the folder.
    (Note : Some files,mostly dll(s), may not get register. You can ignore them.
    Also, make sure that all the Visual Studio instances are closed at the time of registration process.)

    After the controls get registered on your machine :
    1. Create a fresh project.
    2. Drag & Drop a TrueDBGrid on the form.
    -This indicates that the control is correctly registered on your machine.

    Hope this helps.

    If you face any further issues then I would request you to share a screenshot of the error message so that I could provide you with appropriate assistance.

    Regards,
    Reema
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels