Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate HTML page from Windows form

Status
Not open for further replies.

trenta87

Programmer
Oct 29, 2007
13
US
Hi i need to create a html page which takes the text entered on the windows form and creates a html page so it can be sent in an email. Whats the best way to do this??
 
Here's what I would do:

1) First, create a web page that reads parameters from the URL (i.e.
2) Second, program the web page to send out the email you want after it reads the parameters from the URL.

3) Inside your Windows Form, using the WebBrowser control (System.Windows.Forms.WebBrowser), dynmically build your URL string using the text you entered as parameters. Then call the WebBrowser's Navigate() procedure to navigate to your web page.

Doing this should allow you to enter text and navigate to your website so that it will send out the email you want.

(txmed)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top