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

About webbrowser1.document.body.innerhtml

Status
Not open for further replies.

ty1122

Programmer
Jan 20, 2005
16
US
I am using vb6 and tries to browse a html source created by me: say its urlsource
i did webbrowser1.document.body.innerhtml=urlsource and it displays the page i desired.
but it has an annoying thick border around the page which i dont like.
is there a way to get rid of the border as the full webbrowser window mode if i do webbrowser1.navigate(someurl)?
Thank you.
 
i'm not sure what you mean, but the innerhtml command is usually used to extract the body section of the page from the html document.

Try :
WebBrowser.Navigate " & myWebAddress
or for a local file:
WebBrowser.Navigate "C:/myfilelocation"

Good luck

BB
 
hi
i am trying to view this html file without creating a file. i just made my own html code and want to display it in the window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top