<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JD Site Care &#187; VB Browser</title>
	<atom:link href="http://jdsitecare.com/category/trunk/webbrowser/feed/" rel="self" type="application/rss+xml" />
	<link>http://jdsitecare.com</link>
	<description>Installing Scripts for You</description>
	<lastBuildDate>Sat, 04 Sep 2010 22:59:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VB Web Browser Control</title>
		<link>http://jdsitecare.com/331/</link>
		<comments>http://jdsitecare.com/331/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 04:16:14 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[VB Browser]]></category>

		<guid isPermaLink="false">http://jdsitecare.com/?p=331</guid>
		<description><![CDATA[Get a glimpse of just some of the functions and properties that are available to make a web browser fully functional.
Code with a brief description of what that function/property does.]]></description>
			<content:encoded><![CDATA[<p>The Web Browser control allows you to build a web browser.<br />
There are several functions and properties you can access which gives you access to creating a beginners basic to a more advanced web browser.<br />
Below are a list of functions and properties with short descriptions to what each function/property does.</p>
<table class="style1">
<tr>
<td align="left" colspan="2" style="font-weight: 700">
                Web Browser Functions</td>
</tr>
<tr>
<td align="left" style="color: #AA2B81">
                Navigate Go</td>
<td align="left">
                <code>WebBrowser1.Navigate(&quot;http://www.google.ca&quot;)</code><br />
                <em>Browser will navigate to specified URL at runtime</em></td>
</tr>
<tr>
<td align="left" style="color: #AA2B81">
                Navigate Back</td>
<td align="left">
                <code>WebBrowser1.GoBack()</code><br />
                <em>Sends Web Browser to previous visited page.<br />
                This is used to navigate to previous web pages.</em></td>
</tr>
<tr>
<td align="left" style="color: #AA2B81">
                Navigate Forward</td>
<td align="left">
                <code>WebBrowser1.GoForward()</code><br />
                <em>Works the same as Back but sends web browser to the<br />
                Next page if the Previous page is displayed</em></td>
</tr>
<tr>
<td align="left" style="color: #AA2B81">
                Navigate Home</td>
<td align="left">
                <code>WebBrowser1.GoHome()</code><br />
                <em>Sends the web page to the default URL (specified under Navigate Go)</em></td>
</tr>
<tr>
<td align="left" style="color: #AA2B81">
                Browser Refresh</td>
<td align="left">
                <code>WebBrowser1.Refresh()</code><br />
                <em>Refreshes the web browser</em></td>
</tr>
<tr>
<td align="left" style="color: #AA2B81">
                Browser Stop</td>
<td align="left">
                <code>WebBrowser1.Stop()</code><br />
                <em>Stops the progress of the web browser while loading</em></td>
</tr>
<tr>
<td align="left" colspan="2" style="font-weight: 700">
                Web Browser Properties</td>
</tr>
<tr>
<td align="left" style="color: #FF9933">
                Browser Status</td>
<td align="left">
                <code>WebBrowser1.StatusText</code><br />
                <em>Displays the current status of the web page loading</em></td>
</tr>
<tr>
<td align="left" style="color: #FF9933">
                Default URL</td>
<td align="left">
                <code>WebBrowser1.url</code><br />
                <em>Sets the default web browser URL which is displayed at runtime.</em></td>
</tr>
<tr>
<td align="left" style="color: #FF9933">
                Status Check</td>
<td align="left">
                <code>WebBrowser1.IsBusy</code><br />
                <em>This is a Boolean (True Or False)<br />
                Checks to see if the web browser is busy loading content from the web page.</em></td>
</tr>
<tr>
<td align="left" style="color: #FF9933">
                Ready State</td>
<td align="left">
                <code>WebBrowser1.ReadyState</code><br />
                Gets the current state of the web browser (Should be used on a timer for<br />
                accurate results)<br />
                Results are fetched as a Numerical value (There are 4 values/steps a browser<br />
                goes through)</p>
<table class="style1">
<tr>
<td>
                            <b>4 = Complete</b></td>
<td>
                            <b>3 = Interactive</b></td>
<td>
                            <b>2 = Loaded</b></td>
<td>
                            <b>1 = Loading</b></td>
</tr>
<tr>
<td>
                            Browser has loaded everything</td>
<td>
                            Browser is still working</td>
<td>
                            Browser has loaded but<br />
                            not all data</td>
<td>
                            Browser loading new doc.</td>
</tr>
</table>
</td>
</tr>
</table>
<p>
        Ready State example of use:<br />
        Declare 4 variables, 1 for each state.</p>
<p>
        <code>Dim Complete As String = WebBrowser1.ReadyState = WebBrowserReadyState.Complete</code><br />
        <br />
        <code>Dim Interactive As String = WebBrowser1.ReadyState =<br />
        WebBrowserReadyState.Interactive</code><br />
        <br />
        <code>Dim Loaded As String = WebBrowser1.ReadyState =<br />
        WebBrowserReadyState.Loaded</code><br />
        <br />
        <code>Dim Loading As String = WebBrowser1.ReadyState =<br />
        WebBrowserReadyState.Loading</code></p>
<p>
        Use your declarations in If&nbsp; statements</p>
<p><code><br />
        If Interactive Then Me.Text = &quot;Not yet loaded&quot;<br />
        </code><br />
        <code>ElseIf Complete Then Me.Text = &quot;Ready&quot;<br />
        <br />
        End If</code></p>
<fb:like href=http://jdsitecare.com/331/ font=></fb:like>


Share and Enjoy:


	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fjdsitecare.com%2F331%2F&amp;title=VB%20Web%20Browser%20Control&amp;bodytext=Get%20a%20glimpse%20of%20just%20some%20of%20the%20functions%20and%20properties%20that%20are%20available%20to%20make%20a%20web%20browser%20fully%20functional.%0D%0ACode%20with%20a%20brief%20description%20of%20what%20that%20function%2Fproperty%20does." title="Digg"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fjdsitecare.com%2F331%2F" title="Sphinn"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fjdsitecare.com%2F331%2F&amp;title=VB%20Web%20Browser%20Control&amp;notes=Get%20a%20glimpse%20of%20just%20some%20of%20the%20functions%20and%20properties%20that%20are%20available%20to%20make%20a%20web%20browser%20fully%20functional.%0D%0ACode%20with%20a%20brief%20description%20of%20what%20that%20function%2Fproperty%20does." title="del.icio.us"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fjdsitecare.com%2F331%2F&amp;t=VB%20Web%20Browser%20Control" title="Facebook"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fjdsitecare.com%2F331%2F&amp;title=VB%20Web%20Browser%20Control" title="Mixx"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fjdsitecare.com%2F331%2F&amp;title=VB%20Web%20Browser%20Control&amp;annotation=Get%20a%20glimpse%20of%20just%20some%20of%20the%20functions%20and%20properties%20that%20are%20available%20to%20make%20a%20web%20browser%20fully%20functional.%0D%0ACode%20with%20a%20brief%20description%20of%20what%20that%20function%2Fproperty%20does." title="Google Bookmarks"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fjdsitecare.com%2F331%2F&amp;title=VB%20Web%20Browser%20Control" title="StumbleUpon"><img src="http://jdsitecare.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://jdsitecare.com/331/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
