|
-
Feb 27th, 2007, 07:13 AM
#1
Thread Starter
Member
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.!
my questions will be in vb6 or visual studios 2005 
-
Feb 27th, 2007, 07:35 AM
#2
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.
-
Feb 27th, 2007, 07:43 AM
#3
Thread Starter
Member
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.
Last edited by SwInY; Feb 27th, 2007 at 07:46 AM.
my questions will be in vb6 or visual studios 2005 
-
Feb 27th, 2007, 06:55 PM
#4
Thread Starter
Member
Re: 2 things about web browser.
my questions will be in vb6 or visual studios 2005 
-
Feb 27th, 2007, 07:07 PM
#5
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.
-
Feb 27th, 2007, 11:41 PM
#6
Thread Starter
Member
Re: 2 things about web browser.
my questions will be in vb6 or visual studios 2005 
-
Feb 27th, 2007, 11:54 PM
#7
Re: 2 things about web browser.
 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
-
Feb 28th, 2007, 12:20 AM
#8
Thread Starter
Member
Re: 2 things about web browser.
my questions will be in vb6 or visual studios 2005 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|