2 things about web browser.
Hey guys.
im after 2 things.
1st of all is it possible.
i have some HTML code a form.
i want 2 exec it inside the program 2 basicly imatate opening the html file in my computer and press submit.
all done inside the actual program tho.
2nd thing is
In vb6 there is code to open up a page SOURCE CODE.
the html code and stuff.
so basically you can retrieve your ip from a site and stuff.
If you can help me out it be SO helpful thanks guys.!
Re: 2 things about web browser.
Do you mean that you have HTML in like a textbox or something? Do you have a WebBrowser control on the form? If so, simply set the WebBrowser1.DocumentText property to whatever HTML youve got.
The same property can be used to retrieve the html source from the displayed webpage.
Re: 2 things about web browser.
ok i got it now.
need the 2nd part now.
and also is there any way you can do it so you can put like a MASSIVE form in.
without like a txtbox. cause if you do webform.documenttext = "text<""gw"" you kinda carnt.
Re: 2 things about web browser.
Re: 2 things about web browser.
If you want the source from a page loaded in a WebBrowser use its DocumentText property. If you want to get the source without using a WebBrowser then use the WebClient.DownloadString method.
Re: 2 things about web browser.
Re: 2 things about web browser.
Quote:
Originally Posted by SwInY
e.g please?
I suspect that your legs are just painted on.
http://msdn2.microsoft.com/en-us/library/fhd1f0sw.aspx
Re: 2 things about web browser.