Reference: |
The Resource Wizard helps you add resources, such as image files, HTML files, Java applets, and ActiveX controls to your project. Resources are non-native Maintain project components that you can use in the forms you design.
Use the dialog box shown below to specify a path to an image.
This dialog box includes the following options:
Displays the location of your image file by its full path and file name. If you wish, you can type a path and file name here.
Opens the Open dialog box, where you can search for your image file.
Enables you to view an image whose path you just typed.
Use the dialog box shown below to specify a path to an HTML file.
This dialog box includes the following options:
Displays the location of your HTML file by its full path and file name. If you wish, you can type a path and file name here.
Opens the Open dialog box, where you can search for your HTML file.
Enables you to view an HTML file whose path you just typed.
Use the Resource Wizard dialog box to specify a path to a Java applet, as shown in the following image.
This dialog box includes the following options:
Displays the location of your Java applet by its full path and file name. If you wish, you can type a path and file name here.
Note: If your Java applet involves using other Java classes, you must either package the applet with these classes, or inform your end users to include the location of these classes in their CLASSPATH. For more information, see the documentation for Internet Explorer.
Opens the Open dialog box, where you can search for your Java applet.
Enter a description of your Java applet.
Java applets often have parameters for which you can specify values, thus affecting the behavior of the Java applet in your application. Usually, you can find out the names and default values of these parameters in a text file that accompanies your Java applet.
After you know the names of your Java applet parameters, you can define them in this dialog box. You only need to define the parameters you want to use in your application.
This dialog box includes the following options:
Opens the Enter a Parameter dialog box, where you can define parameters and their default values.
Deletes the selected parameter.
Moves a selected parameter up in the list of parameters.
Moves a selected parameter down in the list of parameters.
The Resource Wizard, shown in the image below, searches through all of the registered ActiveX controls on your computer and displays them in the Insert ActiveX Control dialog box. When you select an ActiveX control from the list in the Insert ActiveX Control dialog box, it appears on the screen by default. If the ActiveX control you want does not appear on the list, you must download it to your computer.
This dialog box includes the following options:
Opens the Insert ActiveX Control dialog box so that you can insert an ActiveX control to use in your application.
Displays the name of the ActiveX control selected from the Insert ActiveX Control dialog box.
Displays where the ActiveX control resides on your computer.
Use the Open dialog box, shown in the following image, to browse for a file to add to your project. This dialog box is very similar to a standard Windows Open dialog box, but with one important difference. it enables you to browse through any WebFOCUS or web servers you can access.
This dialog box includes the following options:
Contains the directory where you are browsing for files. If you look in the Developer Studio Desktop, you can switch from looking through the Windows file system to looking through your remote application servers.
Double-click here to browse through any WebFOCUS Servers or web servers you can access if you are looking in the Developer Studio Desktop.
Double-click here to browse through the files on your computer if you are looking in the Developer Studio Desktop.
When you add a resource to your project, you must specify a unique name for your resource file in Resource Wizard, shown in the following image. WebFOCUS Maintain refers to this name when deploying your project. This prevents you from overwriting resource files with the same name from other projects.
Resource names must begin with a letter and can include a combination of letters, numbers, and underscores. Names can consist of a maximum of 66 characters.
This dialog box, shown in the image below, appears when you are adding an existing file, such as an HTML file, image, or Java applet, as a resource to your project, using the Resource Wizard. This dialog box tells you that it is creating a copy of the resource in your project directory. At deployment time, WebFOCUS Maintain ensures that the resource gets deployed to the proper location. Select the Don't show this again option if you do not need WebFOCUS Maintain to display this dialog box.
This dialog box also warns you if you are overwriting a resource with the same name, as shown in the following image. You can either rename the resource or overwrite the existing one.
WebFOCUS |