DHTML applications are compiled the same way any Visual Basic project is compiled — by choosing Make from the File menu. A DHTML application must be built as an in-process component, or a DLL file.
Like standard Visual Basic projects, DHTML application projects have code modules and visual designers — in this case, the DHTML Page designer. Visual Basic creates a page designer for each HTML page in your application. For each page designer, Visual Basic stores the following:
Any files associated with the HTML pages are also a part of your project, in that they must be deployed with the project. For example, if your HTML page references a series of images, the image files themselves must be deployed with the project. See "Deploying Your DHTML Application" later in this chapter for more information.
When you compile a DHTML application, Visual Basic creates a DLL containing the page designer and its code. The HTML pages and their associated files are stored separately from the DLL and must be deployed with it.
During compile, Visual Basic creates several additional files. These include your project file, a .vbw file that contains layout information on your project, an .exp file, and a library file.
To build your DHTML application
Note By default, the BuildFile property is set to the value of the SourceFile property.