Jump to content


Mobilize.Net Staff
  • Content Count

  • Joined

  • Last visited

  • Days Won


AlbertoEspinoza last won the day on July 2 2018

AlbertoEspinoza had the most liked content!

Community Reputation

1 Neutral

About AlbertoEspinoza

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, You can contact our sales department via email for more information, [email protected]
  2. Hello, For this specific scenario, the VBUC was unable to resolve the reference to the dll containing the class OWC.Chart. In these circumstances, you can right click over the unresolved createobject in that list, and choose the "Set Reference manually" to indicate the location of the dll containing that class. Please let me know if that works for you. Regards,
  3. Hello Kevin, Could you share a sample code in VB6 where that is happening, please?
  4. Hello Thomas, You can contact our sales department via email, [email protected], Alberto.
  5. Upgrade from TDBG 6 to TDBG 7 Summary The Visual Basic Upgrade Companion supports TrueDBGrid 7.0 and later versions, but not TrueDBGrid version 6.0. To migrate code containing version 6 controls, you must first upgrade TDBG 6.0 to TDBG 7.0 Problem Description TrueDBGrid 6.0 defines some properties of the grid in the frx file, while TrueDBGrid 7.0 defines them in the frm file. When a project in Visual Basic has a form, which contains a grid of type True DB Grid 6.0, some characteristics, such as properties of columns, positions, and more are defined in the form's frx file. Since the VBUC will only take the properties defined in the frm file, those properties embedded in the frx file are not migrated. So, to solve this issue, first migrate the version 6.0 controls to version 7.0 prior to migration with VBUC. How to Upgrade to Version 7 In your VB6 development machine, install TrueDBGrid 7.0 You can get an evaluation from this link: http://download.componentone.com/pub/truedbgridpro7/eval Copy to C:\Windows\System32 the next dll: tdbg8mu.dll You can get it from this link: http://gccontent.blob.core.windows.net/gccontent/blogs/legacy/c1/2011/07/tdbg8mu1_utility.zip Register that DLL using regsvr32 Modify the file C:\Windows\vbaddin.ini adding the next line: TDBG7MU.Connect=2 In Visual Basic 6, on the menu Add-Ins/Add-in select the option "Load on startup" for "TrueDBGrid 7.0 Migration Utility" Restart Visual Basic The following button will appear on the upper menu: Upgrade from TrueDBGrid 6.0 to TrueDBGrid 7.0 and from TrueDBGrid (OLEDB) 6.0 to TrueDBGrid (OLEDB) 7.0 (if applies) Open each form and press CTRL + S to save all changes Check that each form has changed, for example: Sometimes the changes won't be applied to the forms, if that happens some workaround will be needed: Add a grid (Version 7.0) on the form Save the form Delete the grid Save again Check changes were applied to the forms Post-migration to .NET After the migration to .NET, in C# some visual elements may need correcting. For example, This is how a grid should look after the migration using version 7 of TrueDBGrid: Because the designer file loaded incompletely, this is how the grid looks after the migration (column width incorrect): The following steps can fix these kinds of problems: Modify any property of the grid, like changing the position of an element or modifying the name of the grid. These changes should be done in the code of the designer file (designer.cs) Save and close all files Re-open the form: the grid should look correct If it's necessary, don't forget to undo all changes previously applied to the designer file. This workaround is needed because sometimes the designer isn't correctly rendered in the form, so when a new change is applied, it needs to load all the designer settings. Upgrade from TDBG 6.0 to TDBG 7.0.pdf
  6. Hello Ocinar, Could you provide that sample code that you tried to migrate? It'd help us find the issue, at least if it's possible we'd like to check the code in CFunction file and Module_Globals. Thanks.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use