Sheridan

In the following section, defines how the Sheridan controls are upgraded.

Sheridan controls (now Infragistics) were a set of components widely used in VB6 that provided some functionality not present in the built-in VB6 controls. Since these controls are so widely used GAPVelocity AI has added support for the most common of them.

The mappings created by GAPVelocity AI for these controls change some of them to equivalent third-party components in .NET or standard .NET controls. As usual, there’s also the possibility to continue using the ActiveX controls through COM Interop.

1. SSActiveTabPanel

1.1. To System.Windows.Forms.TabControl

Map UltraToolBars' SSActiveTabPanel classes to Windows Forms equivalents.

Class

Maps to

ActiveTabs.SSActiveTabPanel

System.Windows.Forms.TabPage

ActiveTabs.SSActiveTabs

System.Windows.Forms.TabControl

ActiveTabs.SSActiveTabs.Caption

System.Windows.Forms.TabControl.Name

ActiveTabs.SSActiveTabs.Tabs

System.Windows.Forms.TabControl.TabPages

ActiveTabs.SSActiveTabs.TabIndex

System.Windows.Forms.TabControl.TabIndex

ActiveTabs.SSActiveTabs.RemoveControl

System.Windows.Forms.TabControl.Controls.Remove

ActiveTabs.SSActiveTabs.AddControl

System.Windows.Forms.TabControl.Controls.Add

ActiveTabs.SSTabsCollection

System.Windows.Forms.TabControl.TabPageColllection

ActiveTabs.SSTab

System.Windows.Forms.TabPage

ActiveTabs.SSTab.Selected

System.Windows.Forms.TabPage.SelectedTab / System.Windows.Forms.TabPage.Select

ActiveTabs.SSTab.Visible

System.Windows.Forms.TabPage.Show / System.Windows.Forms.TabPage.Hide

Original VB6 code:

C# code:

VB.NET code:

1.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

2. SSActiveToolBars

2.1. To System.Windows.Forms.ToolStrip

Convert ActiveToolBars.SSActiveToolBars classes to System.Windows.Forms.ToolStrip.

circle-info

By using this option the converted application will not have any reference to the COM Component.

Class

Maps to

ActiveToolBars.SSActiveToolBars.Enabled

System.Windows.Forms.ToolStrip.Enabled

ActiveToolBars.SSActiveToolBars.ToolBars

System.Windows.Forms.ToolStrip.ToolBars

ActiveToolBars.SSActiveToolBars.BackColor

System.Windows.Forms.ToolStrip.BackColor

ActiveToolBars.SSActiveToolBars.ForeColor

System.Windows.Forms.ToolStrip.ForeColor

ActiveToolBars.SSActiveToolBars.Name

System.Windows.Forms.ToolStrip.Name

ActiveToolBars.SSActiveToolBars.Visible

System.Windows.Forms.ToolStrip.Visible

ActiveToolBars.SSActiveToolBars.Left

System.Windows.Forms.ToolStrip.Left

ActiveToolBars.SSActiveToolBars.Top

System.Windows.Forms.ToolStrip.Top

Original VB6 code:

C# code:

VB.NET code:

2.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

3. SSActiveTreeView

3.1. To System.Windows.Forms.TreeView

Converts Sheridan’s SSActiveTreeView control to .NET native library.

circle-info

This option converts Sheridan SSActiveTreeView to .NET native control.

The Sheridan SSActiveTreeView is a 32-bit only product that consists of a TreeView control and related classes and enums.

Class

Maps to

SSActiveTreeView.ISSNode

System.Windows.Forms.TreeNode

SSActiveTreeView.SSNode

System.Windows.Forms.TreeNode

SSActiveTreeView.SSNodes

System.Windows.Forms.TreeNodeCollection

SSActiveTreeView.SSImages

System.Windows.Forms.ImageList

SSActiveTreeView.SSImage

System.Drawing.Image

SSActiveTreeView.SSTree

System.Windows.Forms.TreeView

Original VB6 code:

C# code:

VB.NET code:

3.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

4. SSCalendarWidgets

4.1. To System.Windows.Forms Controls

Converts Sheridan’s SSCalendarWidgets controls to System.Windows.Forms.

circle-info

This option converts Sheridan’s SSCalendar controls to the native System.Windows.Forms controls.

General Description:

The Sheridan SSCalendarWidgets library provides a set of controls with an intuitive graphical interface for users to view and set date information: SSDateCombo (control that allows the user to select a single item from a list of dates or times), the SSMonth (grid containing the numbered days of the month, arranged in columns underneath the days of the week, with the selected range of dates highlighted) and the SSYear control.

Deployment Note:

The following list shows which SSCalendarWidgets components are mapped to .NET equivalents:

Class

Maps to

SSCalendarWidgets_A.SSDateCombo

System.Windows.Forms.DateTimePicker

SSCalendarWidgets_A.SSMonth

System.Windows.Forms.MonthCalendar

SSCalendarWidgets_A.SSYear

System.Windows.Forms.MonthCalendar

SSCalendarWidgets_A.Constants.StartOfWeek

System.Windows.Forms.Day

Original VB6 code:

C# code:

VB.NET code:

4.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

5. SSDataWidgets_B

5.1. To ComponentOne (.NET version)

Converts Sheridan’s SSDataWidgets controls to Component One .NET equivalents.

circle-info

This option removes the usage of the legacy COM component.

General Description:

The Sheridan SSDataWidgets is an ActiveX library that contains the SSDBGrid, SSDBDropDown and more controls that display and manage data in a tabular fashion.

Deployment Note:

The following list shows which SSDataWidgets components are mapped to Component One .NET equivalents:

Class

Maps to

ISSColumns

C1.Win.C1TrueDBGrid.C1DataColumnCollection

Constants_RelocateISSStyleSets

C1.Win.C1TrueDBGrid.C1WinTrueDBG

SSDBDropDown

C1.Win.C1TrueDBGrid.C1TrueDBDropDown

ISSColumn

C1.Win.C1TrueDBGrid.C1DataColumn

SSDBGrid

C1.Win.C1TrueDBGrid.C1TrueDBGrid

Constants_CaptionAlignment

C1.Win.C1TrueDBGrid.AlignHorzEnum

Constants_ColumnCaptionAlignment

C1.Win.C1TrueDBGrid.AlignHorzEnum

Constants_BorderStyle

System.Windows.Forms.BorderStyle

Original VB6 code:

C# code:

VB.NET code:

5.2. To Infragistics UltraSuite (.NET version)

Converts Sheridan’s SSDataWidgets controls to Infragistics .NET equivalent controls.

circle-info

This option converts SSDataWidgets controls to Infragistics.Win.UltraWinGrid.

General Description:

The Sheridan SSDataWidgets is an ActiveX library that contains the SSDBGrid, SSDBDropDown and SSDBCombo and more controls that display and manage data in a tabular fashion.

Deployment Note:

The following list shows which SSDataWidgets components are mapped to Infragistics .NET equivalents:

Class

Maps to

Constants_Relocate

Infragistics.Win.UltraWinGrid.AllowColSwapp

ISSActiveCell

Infragistics.Win.UltraWinGrid.UltraGridCell

ISSColumn

Infragistics.Win.UltraWinGrid.UltraGridColum

ISSColumns

Infragistics.Win.UltraWinGrid.ColumnsCollection

ISSStyleSets

Infragistics.Win.AppearancesCollection

SSDBCombo

Infragistics.Win.UltraWinGrid.UltraCombo

SSDBDropDown

Infragistics.Win.UltraWinGrid.UltraDropDown

SSDBGrid

Infragistics.Win.UltraWinGrid.UltraGrid

Constants_CaptionAlignment

Infragistics.Win.HAlign

Constants_ColumnCaptionAlignment

Infragistics.Win.HAlign

Constants_TabNavigation

Infragistics.Win.UltraWinGrid.TabNavigation

Constants_BorderStyle

Infragistics.Win.UIElementBorderStyle

Constants_ScrollBarsStyle

Infragistics.Win.UltraWinGrid.Scrollbars

Original VB6 code:

C# code:

VB.NET code:

5.3. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

6. SSDesignerWidgetsTabs

6.1. To System.Windows.Forms.TabControl

Converts Sheridan’s SSDesignerWidgetsTabs control to a .NET native library.

circle-info

This option removes the dependency on the legacy COM control.

General Description:

The Sheridan SSDesignerWidgetsTabs is an ActiveX library that contains several visual controls. The SSIndexTab contains Tab items which in turn contain controls displayed when the Tab is selected. Although the controls are placed on a Tab at design time, they are actually stored on a page of that Tab designated as page zero. This page is unique and it cannot be removed.

Deployment Note:

The following list shows which SSDesignerWidgetsTabs components are mapped to .NET equivalents:

Class

Maps to

SSDesignerWidgetsTabs.SSIndexTab

System.Windows.Forms.TabControl

SSDesignerWidgetsTabs.CTab

System.Windows.Forms.TabPage

SSDesignerWidgetsTabs.CTabs

System.Windows.Forms.TabControl.TabPageCollection

SSDesignerWidgetsTabs.Constants_TabOrientation

System.Windows.Forms.TabAlignment

6.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

7. SSListBar

7.1. To Infragistics UltraWinListBar.NET Suite

Converts Sheridan’s SSListBar controls to Infragistics UltraWinListBar.NET controls.

circle-info

This option converts Sheridan SSListBar control to Infragistics UltraWinListBar.NET.

General Description:

The Sheridan ActiveListBar is a navigation control that gives applications an appearance similar to that of Microsoft Outlook. It incorporates a system of sliding Groups, each of which is identified by its header. Clicking a Group's header causes the group to become active, slide into view and display the ListItems it contains.

The ActiveListBar has a single collection of items regardless of the group where they are located. The SSListItem.Index property indicates the position of the item in the collection.

Deployment Note:

The following list shows which SSListBar components are mapped to Infragistics UltraWinListBar.NET Suite equivalents:

Class

Maps to

stBar.SSListBar

Infragistics.Win.UltraWinListBar.UltraListBar

stBar.ISSImagesCollection

System.Windows.Forms.ImageList

stBar.ISSGroupsCollection

Infragistics.Win.UltraWinListBar.GroupsCollection

stbar.Constants_BorderStyle

Infragistics.Win.UIElementBorderStyle

stbar.Constants_Style

Infragistics.Win.UltraWinListBar.Style

stbar.ISSGroup

Infragistics.Win.UltraWinListBar.Group

stbar.Constants_PictureBackgroundStyle

Infragistics.Win.ImageBackgroundStyle

stbar.SSGroup

Infragistics.Win.UltraWinListBar.Group

stbar.ISSListItem

Infragistics.Win.UltraWinListBar.Item

stBar.SSListItem

Infragistics.Win.UltraWinListBar.Item

stBar.SSListItems

Infragistics.Win.UltraWinListBar.ItemsCollection

Original VB6 code:

C# code:

VB.NET code:

7.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

8. SSPanels

8.1. On (Empty SSPanel converted to Label)

Convert Threed.SSPanel classes to System.Windows.Forms.Label when the SSPanel doesn't have any other control inside. If it has controls inside, it will be converted to a System.Windows.Forms.Panel.

circle-info

By using this option the converted application will not have any reference to the COM Component.

Class

Maps to

Threed.SSPanel.Height

System.Windows.Forms.Label.Height

Threed.SSPanel.Width

System.Windows.Forms.Label.Width

Threed.SSPanel.BackColor

System.Windows.Forms.Label.BackColor

Threed.SSPanel.Enabled

System.Windows.Forms.Label.Enabled

Threed.SSPanel.Font

System.Windows.Forms.Label.Font.Name

Threed.SSPanel.ForeColor

System.Windows.Forms.Label.ForeColor

Threed.SSPanel.Refresh

System.Windows.Forms.Label.Refresh

Threed.SSPanel.Tag

System.Windows.Forms.Label.Tag

Original VB6 code:

C# code:

VB.NET code:

8.2. Off

Convert Threed.SSPanel classes to System.Windows.Forms.Panel.

circle-info

By using this option the converted application will not have any reference to the COM Component.

Class

Maps to

Threed.SSPanel.Height

System.Windows.Forms.Panel.Height

Threed.SSPanel.Width

System.Windows.Forms.Panel.Width

Threed.SSPanel.BackColor

System.Windows.Forms.Panel.BackColor

Threed.SSPanel.Enabled

System.Windows.Forms.Panel.Enabled

Threed.SSPanel.Font

System.Windows.Forms.Panel.Font.Name

Threed.SSPanel.ForeColor

System.Windows.Forms.Panel.ForeColor

Threed.SSPanel.Refresh

System.Windows.Forms.Panel.Refresh

Threed.SSPanel.Tag

System.Windows.Forms.Panel.Tag

Original VB6 code:

C# code:

VB.NET code:

9. SSSplitter

9.1. To System.Windows.Forms.SplitContainer

Converts Sheridan’s SSSplitter control to .NET native control.

circle-info

This option removes the usage of the legacy COM control.

General Description:

The Sheridan SSSplitter is a container control that organizes the controls it contains into “n” resizable panes, which are separated by splitter bars that can be dragged with the mouse.

Deployment Note:

The following list shows which SSSplitter components are mapped to .NET equivalents:

Class

Maps to

SSSplitter.SSSplitter

System.Windows.Forms.SplitContainer

SSSplitter.Constants_SplitterBarAppearance

System.Windows.Forms.BorderStyle

SSSplitter.IPane

System.Windows.Forms.SplitterPanel

SSSplitter.Pane

System.Windows.Forms.SplitterPanel

Original VB6 code:

C# code:

VB.NET code:

9.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

10. Threed

10.1. To System.Windows.Forms Controls

Converts Sheridan’s Threed controls to native .NET controls.

circle-info

This option avoids the usage of legacy COM control.

General Description:

ActiveThreed is a set of 32-bit ActiveX controls: SSCommand (extended command button controls), SSFrame (extended grouping box / frame), SSCheck (extended check selector controls) and SSPanel (extended grouping box / Panel).

Deployment Note:

The following list shows which Threed components are mapped to .NET equivalents:

Class

Maps to

Threed.SSCommand

System.Windows.Forms.Button

Threed.Constants_ButtonStyle

System.Windows.Forms.FlatStyle

Threed.SSFrame

System.Windows.Forms.GroupBox

Threed.SSPanel

System.Windows.Forms.Panel

Threed.SSCheck

System.Windows.Forms.CheckBox

Threed.SSOption

System.Windows.Forms.RadioButton

Threed.Constants_Alignment

System.Drawing.ContentAlignment

Threed.Constants_PictureBackgroundStyle

System.Windows.Forms.ImageLayout

Threed.Constants_Bevel

System.Windows.Forms.BorderStyle

Threed.Constants_MousePointer

System.Windows.Forms.Cursor

Threed.Constants_CheckBoxValue

System.Windows.Forms.CheckState

Original VB6 code:

C# code:

VB.NET code:

10.2. To COM Interop

This feature will take the legacy COM control and create an interoperability code wrapper to make it visible from the managed code. This means the control's functionality will remain the same since it will use the same binary, but the resulting application will depend on the legacy control.

Original VB6 code:

C# code:

VB.NET code:

Last updated

Was this helpful?