The Workflow Toolbar control is packaged in a signed .cab file called modwc.cab. It is included in Microsoft Office Developer client setup as a supported component and is installed as part of the client run-time components. In addition, the .cab file is copied by server setup to the client installation share, where it can be referenced by team solutions.
When you use the toolbar control in a Web page, you should set the codeBase property on the toolbar’s <OBJECT> tag to point to the location of the .cab file, so Internet Explorer can install the control automatically if it is not present on a user’s computer.
However, if you are building templates, you should include the .cab file in your Web site and use a relative URL for the codeBase property to ensure links to the .cab file are correct when a solution is created from the template.
You can set the codeBase property using the Workflow Toolbar properties pane in the Microsoft Script Editor. Once you have done so, you can search for
codeBase=modwc.cab
to see the actual <OBJECT> tag and attributes in the page source of the Microsoft Script Editor. It should look similar to the following:
<OBJECT classid="CLSID:10C6B03C-FCE6-11D2-9332-BBAFB80E127A" codeBase=modwc.cab id=ActiveXCtl0 style="LEFT: 0px; TOP: 0px" tabIndex=18 title=ActiveXCtl0 ActiveXCtl0> <PARAM NAME="_cx" VALUE="12000"> <PARAM NAME="_cy" VALUE="600"> <PARAM NAME="ConnectionString" VALUE="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=IssueTracking;Data Source=SERVERNAME;Connect Timeout=15"> <PARAM NAME="WorkflowTable" VALUE="IssuesWorkflow"> <PARAM NAME="ActionsTable" VALUE="IssuesWorkflowActions"> <PARAM NAME="WorkflowColumn" VALUE="StatusID"> <PARAM NAME="KeyColumn" VALUE="ItemID"> <PARAM NAME="UniqueTable" VALUE="Issues">
Note It is a feature of Microsoft Script Editor to display an ActiveX control graphically by default. If you search for the <OBJECT> tag or associated attributes, the display automatically converts to text. You can change this display using the View menu or the View Controls as Text or View Controls Graphically options. For more information, see the Microsoft Script Editor documentation.