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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTMLDocument

Status
Not open for further replies.

fhipp

Programmer
Sep 7, 2002
5
US
I'm loading a html page into a web control in VB5,
the page contains many text inputs and a single form button. The script on the page uses the button on click
event to reformat all the text in the textboxes, creates
a new html string, starts outlook , a new email and inserts
the html into the mail message. This works fine when i run
the page in IE, and within my web control until:
I get the web control.document.body.innertext, modify it
from within the VB app, then set this new string to the
web control .document.body.innertext .... once i do this
the button appears to do nothing. the document still contains all the script text but i seem to have lost the onclick event?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top