What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » HTML of WebBrowser control in VB

HTML of WebBrowser control in VB
Author: Message:
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
O.P. Huh?  HTML of WebBrowser control in VB
In VB, how do i get the html code of the page currently being displayed in the web browser control?  Any ideas?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
09-01-2003 07:58 PM
Profile E-Mail PM Web Find Quote Report
Hah
Full Member
***

Avatar
Im in a good mood - take advantage!

Posts: 224
37 / Male / –
Joined: May 2003
RE: HTML of WebBrowser control in VB
WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER

Then you can use the Win32 api to save it where ever u like and access it from Open File For Output/Input As ........... etc etc.

hehe, hope that helps, aint much and is extrememly basic.

Hah

(Whacko, if u read, contact me on msn if u pos can, u asked me bout somit in pm and u didnt reply when I replied)
This post was brought to you by Hah!
(and he takes no responsibility for it :p)

[Image: signatures.jpg]

{Current Web Site}
09-05-2003 01:45 AM
Profile E-Mail PM Web Find Quote Report
Hah
Full Member
***

Avatar
Im in a good mood - take advantage!

Posts: 224
37 / Male / –
Joined: May 2003
RE: HTML of WebBrowser control in VB
Also, i think there is something like

WebBrowser.Document.documentElement.innerHTML

but I havent got that to work yet.

Try MSDN.

Hah
This post was brought to you by Hah!
(and he takes no responsibility for it :p)

[Image: signatures.jpg]

{Current Web Site}
09-05-2003 01:46 AM
Profile E-Mail PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
O.P. RE: HTML of WebBrowser control in VB
Yea i tried WebBrowser.Document.documentElement.innerHTML but it just raised errors.  Once ive done WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER
how do i actually save the file?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
09-05-2003 10:17 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On