Creating the FmLib Project with Visual InterDev

The next installation step is to create a Microsoft® Visual InterDev™ project that you can use to edit and debug the FmLib source files. You will normally perform these steps on the developer workstation you will use to modify and debug the application, but they can be performed on the host server if necessary.

To create a new Visual InterDev project

  1. Start Microsoft Visual InterDev and wait for the New Project dialog box to appear. (If it does not appear, click New Project on the File menu.)
  2. Click New Web Project in the Visual InterDev Projects window. The New Project dialog box appears.
  3. Type a directory location for your local FmLib source files and name the project FmLib. Click Open.
  4. In the Web Project Wizard, type the name of the host server in the drop-down list box. Click Next.
  5. Click the Create a New Web Application option button. Confirm that the application name has been entered as FmLib. Clear the Create search.htm to enable full-text searching check box. Click Finish.
  6. Because some ASP application files are already in place, you may receive warnings as the project is initialized. Click OK on any error dialog boxes and if asked to replace files, click No.

Note  If you receive the error "Web directory /FmLib already exists," you will need to rename the FmLib directory on the host server and then generate a new FmLib project. After the new project has been initialized, copy the FmLib source files over the new project files and synchronize the project (click Synchronize Files on the Web Project submenu of the Project menu) in Visual InterDev.

To add a new data connection

  1. Start Microsoft Visual InterDev and open the FmLib project you created in the To create a new Visual InterDev project procedure.
  2. In the Project window, locate global.asa in the root folder of the project. Expand the tree view by clicking the plus (+) icon to the left of the file name.
  3. Right-click the global.asa file, and click Add Data Connection on the context menu. The Select Data Source dialog box appears.
  4. Click the Machine Data Source tab. Click the FmLib data source. (If you are not setting up the Visual InterDev project on the host computer, you will need to add a new ODBC connection for FmLib; see the steps in Creating the ODBC DSN for more information.) Click OK when finished.
  5. Click OK in the SQL Server Login dialog box.
  6. In the Properties dialog box, name the new connection "FmLib". Click OK to close the Properties dialog box.
  7. Save changes to the new FmLib project. (Click Save All on the File menu.)

At this point, you should have an operational Web application, and a project in Visual InterDev that you can use to view and modify the source files. To connect to the application, open Internet Explorer and type http://<servername>/FmLib in the Address field.