Accessing ROC from VB.NET Winforms

To access the ROC application from VB.NET Winforms, perform the following:

  1. Perform steps 1 to 12 as mentioned in Accessing ROC from ASP.NET Web Forms by setting the User Defined View Generator property to VB.NET Client when building the AB Suite application and generating the ROC Ispec bundle folder.

  2. Double-click the SetupVBNETClient.vbs file from the following path: <root folder>:\NGEN_CE\VB.NET Client\Utilities\Setup and click OK.

    The VB.NET Client Application Setup Script dialog box appears and prompts you to specify the AB Suite application name.

  3. Specify the AB Suite application name in the VB.NET Client Application Setup Script dialog box and click OK.

  4. Click Yes to confirm the creation of a directory with the AB Suite application name.

    The VB.NET Client Application Setup Script dialog box appears confirming the initialization of VB.NET Application directories.

  5. Click OK in the VB.NET Client Application Setup Script dialog box.

    A directory is created in the following path <root folder>:\NGEN_CE\VB.NET Client with the AB Suite application name.

  6. Navigate to the location where the directory is created and double-click the <AB Suite application name>.vbproj file.

    The Microsoft Visual Studio environment opens with the AB Suite application name displayed in Class View window. You can also see errors listed in the Error List.

  7. Switch to the Solution Explorer window, right-click the AB Suite application name and select Properties.

    The properties window appears.

  8. Click the References tab in the properties window and click Reference Paths....

    The Reference Paths dialog box appears.

  9. Specify the path for the bin folder of the Component Enabler installation directory in the Folder box of the Reference Paths dialog box.

    For example: C:\NGEN_CE\bin\

  10. Click Add Folder in the Reference Paths dialog box.

    The path for the bin folder appears in the Reference Paths box.

  11. Click OK to close the Reference Paths dialog box.

    This resolves all the errors and clears the Error List window.

  12. Right-click the solution node in the Solution Explorer window, and select Build Solution.

    The Save File As dialog box appears with <AB Suite application name>.sln displayed in the Object name box.

  13. Click Save in the Save File As dialog box to save the solution.

  14. Navigate to <root folder>:\NGEN_CE\classes\com\unisys\<AB Suite application name>\<bundle folder name>\views and double-click the <AB Suite application name>.sln file.

    The Microsoft Visual Studio environment opens with all the Ispecs present in the AB Suite application listed in the Class View window.

  15. Switch to the Solution Explorer window, right-click the solution node and select Build Solution.

    All the Ispecs in the AB Suite application are built.

  16. Repeat steps 2 to 15 to build the Ispecs for the ROC application.

  17. Configure the config.xml present in the bin folder of AB Suite and ROC applications respectively.

    Refer to the Agile Business Suite Component Enabler User Guide for more information on how to configure the config.xml file.

    Note: You can access ROC separately after this step. To access ROC from the AB Suite application, complete the following steps.

  18. Navigate to <root folder>:\NGEN_CE\VB.NET Client\<AB Suite application name>\bin and double-click the <AB Suite application name>.exe file.

    The AB Suite application opens with the Select Form window.

    Note: If you specify an Ispec as Fireup Ispec in the Segment properties, the application displays the same Ispec instead of the Select Form window.

  19. In the Select Form window, select the Ispec that you created at the beginning of the procedure and click OK.

    The Ispec opens and prompts you to enter the ROC application name you want to switch to.

    Notes:

    • If the application opens with a Menu Ispec, select System > Select Form and open the Ispec that you created at the beginning of the procedure.

    • If the application opens with the Ispec that you created at the beginning of the procedure, perform step 20 to switch to the ROC application.

  20. Enter the ROC application name in the Ispec text field and press Enter.

    The ROC application is displayed.