HeaderPane
Main
Hide
Share Link
Print

Upgrading To Version 7.0

Converting an Existing Application

The conversion is not automatic, but takes just a few minutes for a project.

Only a minimal conversion is required when upgrading from SftTabs/OCX 6.5 (or an older version) to SftTabs/OCX 7.0. SftTabs/OCX 7.0 is virtually 100% source compatible with older releases of SftTabs/OCX and SftTabs/ATL. Your application(s) must be recompiled to use SftTabs/OCX 7.0.

SftTabs/OCX 7.0 and older versions can coexist on the same system (both can be installed at the same time). They cannot be used in the same application. In order to convert an application, both the older version and SftTabs/OCX 7.0 must be installed.

Make sure to back up your current projects, before converting your projects. After converting, once the control saves updated property settings, you will not be able to return to SftTabs/OCX 6.5.

Project File

After installing SftTabs/OCX 7.0, all your projects will continue to use SftTabs/OCX 6.5 until you make the following change in each project's VBP (Visual Basic Project) file and in its forms. Make sure to close the project in Visual Basic, then edit the VBP file using a text editor and make the following change:

Existing Project:

Type=Exe
Form=Form1.frm
Reference=*\G{{00020430-0000-0000-C000-000000000046}}#2.0#0#C:\Windows\SysWOW64\stdole2.tlb#OLE Automation
Object={{919B661B-D0B2-4961-B128-D7C32DF3B10C}}#6.5#0; SftTabs_IX86_U_65.ocx
IconForm="Form1"
Startup="Form1"
ExeName32="Features.exe"
Command32=""
Name="Project1"

The line describing SftTabs/OCX 6.5 (using a bold font) should be replaced with the following line:

Object={{9B787CF3-B2CF-417B-844B-90040FFCB281}}#7.0#0; SftTabs_IX86_U_70.ocx

You can copy this line directly from this page. The line must be copied as-is, without any modifications.

Forms

Each form (FRM file) that contains a tab control also names the control. Edit each form using a text editor and make the following changes:

  • Replace the line starting with Object = "919B661B-D0B2-4961-B128-D7C32DF3B10C#6.5#0"; "SftTabs_IX86_U_65.ocx" at the top of the file with Object = "9B787CF3-B2CF-417B-844B-90040FFCB281#7.0#0"; "SftTabs_IX86_U_70.ocx".
  • Replace all occurrences of SftTabsLib. with SftTabsLib70.. The name is used in the line that starts a tab control (Begin SftTabsLib.SftTabs) and in code, for example in the arguments of event procedures.

Once the files have been saved, you can open the project in Visual Basic. As you open each form containing a tab control, it is converted to SftTabs/OCX 7.0. Each form must be opened and saved to complete the conversion.

The controls will save updated property settings, so you will not be able to return to SftTabs/OCX 6.5.

When upgrading from a version older than 6.5, the Object line names that version (for example SftTabs_IX86_U_60.ocx) and is replaced the same way.

Conversion Issues

When upgrading from SftTabs/OCX 6.5, no changes must be made. The new features of version 7.0 (dark mode, high contrast, image and pixel scaling) are off unless the application enables them.

When upgrading from SftTabs/OCX 6.0 or earlier, the following applies:

  • Applications that use Style = styleSftTabsButtonsTop (66) through styleSftTabsButtonsDualLeftRightV (74): In older versions, the UseClientAreaColors property was ignored when Windows themes were used. This is no longer the case. If you want the old behavior, make sure to set UseClientAreaColors to False.
  • Applications that use Style = styleSftTabsButtonsTop (66) through styleSftTabsButtonsDualLeftRightV (74): The background around the tab buttons will use the true background colors when UseExactRegion (set to True) is used with Windows themes.

When upgrading from SftTabs/ATL 4.0 or earlier, the following applies:

  • Applications that added all tabs at run-time will now have to explicitly activate at least one tab (see Tabs.Current). While SftTabs/ATL 4.0 automatically activated the first tab, this is no longer the case.

Distributing the Converted Application

An application converted to SftTabs/OCX 7.0 uses the control SftTabs_IX86_U_70.ocx. The files of the older version are no longer needed by the application. Please see "Distributing SftTabs/OCX" for more information.


Last Updated 11/19/2026 - (email)
© 2026 Softel vdm, Inc.