DHTML Example

adplus-dvertising
How to start with DHTML
Previous Home Next

DHTML application can be a single HTML page that uses Visual Basic code and the Dynamic HTML object model to instantly respond to actions that occur on the page.

This could involve responding to user-initiated actions such as mouse movements and clicks, or responding to actions the browser itself performs, such as opening the page or loading a picture. These are just a few of the things you could do with a more complicated DHTML application: Retrieve data from the page and use it to query a database. Update the page's appearance and behavior. Create HTML elements and insert them onto a page in response to user requests.

How to start a new DHTML projkect/application

Start a new project and select DHTML Application as your project type.

Explorer Window->> Open Destination folder ->> Double click on DHTML page to display in the main window.

if you want to add some additional DHTML page on your project on the menu than, click Add DHTML Page and Visual Basic adds a new page designer to your project.

Now Save it within the designer file. This method allows you to easily share files between developers or move your development project from machine to machine without worrying about paths to any external pages.

Specifying save options for a page

To access the DHTMLPage Properties dialog box

Select the page designer and then click the Properties toolbar icon.

To save your HTML page within the designer files until the project is built

Click Save HTML as part of the VB project in the .DHTMLPage Properties dialog box.

To create a new page and save it to a location on your computer

Click Save HTML in an external file in the .DHTMLPage Properties dialog box.

Click New, enter a file name for your page, and click OK.

  • To import an existing page and save it to a location on your computer
  • Click Save HTML in an external file in the .DHTMLPage Properties dialog box.

Click OK to return for page designer.

Previous Home Next