Article ID: 889822 - Last Review: July 25, 2011 - Revision: 3.0

How to upgrade a Solomon Visual Basic Tools project from Solomon 5.x to Solomon 6.x

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

INTRODUCTION

This article describes how to upgrade a Microsoft Business Solutions - Solomon 5.x Visual Basic Tools project to Microsoft Solomon 6.x Visual Basic Tools.

MORE INFORMATION

To upgrade a Microsoft Solomon 5.x Visual Basic Tools project to Microsoft Solomon 6.x Visual Basic Tools, follow these steps:
  1. Purchase and install version 8.7 of the Xtreme Command Bars control from Codejock.com. For more information, visit the following Codejock.com Web site:
    http://www.codejock.com (http://www.codejock.com)
  2. Copy the Commandbars.lic file to the Windows/System32 folder.
  3. Manually register the Commandbars.ocx file by using the Regsvr32 tool.
  4. Update the development environment by copying the following files from the SolIV\VT\DEV_VB5 folder on the Solomon 6.0 CD to the location of your project:
    • Applic.dh
    • Swim.bas
    • New_form.frm
    • New_form.frx
  5. Add references to the new controls. To do this, follow these steps in Microsoft Visual Basic 6.0:
    1. In the left pane, right-click the General tab, and then click Components.

      Note Alternatively, you can press CTRL+T on your keyboard. You can also click Project and then click Components.
    2. On the Controls tab, click to clear the Selected Items Only check box.
    3. Click to select the Xtreme CommandBars ActiveX Control module check box.
    4. Click to select the Microsoft Windows Common Controls 6.0 (SP6) check box.
    5. Click OK.
  6. Update the .vbp file manually. To do this, open your .vbp file in Notepad, add the following lines under the other object references, and then save the .vbp file.
    • Object={555E8FCC-830E-45CC-AF00-A012D5AE7451}#1.0#0; CommandBars.ocx
    • Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX
  7. Add the following lines of code to the end of the Form1 code.
    Private Sub MenuBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)
    	Call HandleClick(Control)
    End Sub
    
    Private Sub MenuBars_InitCommandsPopup(ByVal CommandBar As XtremeCommandBars.ICommandBar)
    	' Enable or disable entries according to the currently selected controls.
    	Call EditSelectionsEnable
    End Sub
  8. At the top of Form1, add a Frame control. Name the control MenuBarsFrm.
  9. Add a CommandBars control to the Frame control. Name the control MenuBars.
  10. Save the form.
  11. Compile and then test project.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

The issue that is described in the Introduction section does not apply to Microsoft Dynamics SL 7.0.
Keywords: 
kbmbsinstallation kbmbsmigrate kbhowto KB889822