Share via


Importing an Existing HTML File as a Resource

Home Page (HTML Resource)OverviewHow Do I ... Topics

If you've already designed your Web page, or want to take advantage of other existing Web pages, you can easily include an HTML file into your project's resource script.

To import an existing HTML file as a resource

  1. From the Insert menu, choose Resource.

  2. In the Resource Type list, select HTML, then click Import.

  3. In the Import Resource dialog box, navigate to the location of the HTML file and click Import.

Note   If your imported HTML file contains calls to bitmaps or other graphic images, you may want to import the corresponding image files into your resource script as well, to ensure their availability when the user runs the application. Use the to display these graphic images from your page. The res: protocol supports displaying a resource that resides in a compiled .dll or .exe module.

What do you want to do?

Create a new HTML resource

Preview the HTML resource

Set syntax coloring for a custom HTML variation