DOCUMENT:Q192552 25-JUN-1999 [vbwin] TITLE :HOWTO: Create an HTML Form With DHTML Page Designer PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Enterprise Edition for Windows, version 6.0 ------------------------------------------------------------------------------- SUMMARY ======= This article describes how to use the DHTML Page Designer to create a simple HTML form application. Currently, the DHTML Page Designer will not insert all the tags required to do this so you need to manually insert the missing tags. MORE INFORMATION ================ You can build a simple HTML form using the DHTML Page Designer. The form will have two fields and a submit button. The information will be posted to an ASP file on the server. The server will simply display the values entered in the fields. Follow these steps: 1. Start Visual Basic 6.0 and create a new DHTML Application project. 2. Open the DHTMLPage1 from Designers. 3. From the toolbox, drag a textbox and change its NAME to Field1. 4. Drag another textbox and change its NAME to Field2. 5. Drag a submit button and change its VALUE to Submit. 6. Save the project. 7. You now need to save the HTM as an External HTML file. To do this: a. Bring up the DHTML Page Designer Properties. b. Select "Save the HTML as an External file" check box. c. Click the "New" button. d. Specify the location and name of the file you want. 8. Click the Launch Editor button on the Designer tool bar. You will see HTML similar to the following in your editor: