Project references
Project references offer a way to share code among projects. The References dialog box is used to create project references. It appears when you choose the References command from the Edit menu. Open projects available as references appear in the dialog box's list of libraries. To add a reference to a project that is not open, click on the Browse button and locate the file containing the desired project.
The References dialog allows you to select another application's objects that you want to be available in your code by setting a reference to that application's object library.
Available References
Lists the references available to your project. After you set a reference to an object library by selecting the check box next to its name, you can find a specific object and its methods and properties in the Object Browser.
If you are not using any objects in a referenced library, you should clear the check box for that reference to minimize the number of object references Sax Basic must resolve, thus reducing the time it takes your project to compile. You can't remove a reference for an item that is used in your project.
If you remove a reference to an object that your are currently using in your project, you will receive an error the next time you refer to that object. References not in use are listed alphabetically.
Priority Buttons
Moves references up and down on the list. When you refer to an object in code, Sax Basic searches each referenced library selected in the References dialog box in the order the libraries are displayed. If two referenced libraries contain objects with the same name, Sax Basic uses the definition provided by the library listed higher in the Available References box.
Result
Displays the name and path of the reference selected in the Available References box, as well as the language version.
Browse
Displays the Add Reference dialog box so that you can search other directories for and add references to the Available Resources box for the following types:
- Type Libraries(*.olb, *.tlb, *.dll)
- Executable Files (*.exe, *.dll)
- ActiveX Controls (*.ocx)
- All Files (*.*)