Visual Basic Concepts

Building Your IIS Application

IIS applications are compiled the same way any Visual Basic project is compiled — by choosing Make from the File menu. An IIS application must be built as an in-process component, or a DLL file.

When you run or compile the project, Visual Basic creates the following files:

  • A DLL file Visual Basic uses to run the project.

  • An .asp file that hosts the application in the browser and creates its run-time component.

  • An .exp file generated by the linker when the project is compiled and linked.

  • A .vbw file that contains the windows layout information for the project.

When you run or compile the project, you should place the DLL file in the same directory as your project files, for easiest deployment.

Tip   If you are checking your IIS application into Microsoft® Visual SourceSafe®, you should manually check in the project's .htm files. These files are not automatically checked into the SourceSafe directory with the rest of the project files.

To compile your IIS application

  1. If the project is still in run mode, click the End button to return to design mode.

  2. On the File menu, click Make Project.dll to open the Make Project dialog box. Click OK to make the DLL file.