<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>back up codes</title>
	<atom:link href="http://backupcode.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://backupcode.wordpress.com</link>
	<description>always have a backup of your code</description>
	<lastBuildDate>Sun, 20 Feb 2011 08:59:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='backupcode.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>back up codes</title>
		<link>http://backupcode.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://backupcode.wordpress.com/osd.xml" title="back up codes" />
	<atom:link rel='hub' href='http://backupcode.wordpress.com/?pushpress=hub'/>
		<item>
		<title>exceptions</title>
		<link>http://backupcode.wordpress.com/2010/06/06/exceptions/</link>
		<comments>http://backupcode.wordpress.com/2010/06/06/exceptions/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 01:04:22 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[catch block]]></category>
		<category><![CDATA[exceptions]]></category>
		<category><![CDATA[try block]]></category>
		<category><![CDATA[try catch block]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=273</guid>
		<description><![CDATA[Exception represents errors that occur during application execution. The following code example demonstrates a catch block that is defined to handle ArithmeticException errors. This catch block also catches DivideByZeroException errors because DivideByZeroException derives from ArithmeticException, and there is no catch block explicitly defined for DivideByZeroException errors. Imports System Class ExceptionTestClass Public Shared Sub Main() Dim [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=273&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Exception represents errors that occur during application execution.</p>
<p>The following code example demonstrates a catch block that is defined to handle ArithmeticException errors. This catch block also catches DivideByZeroException errors because DivideByZeroException derives from ArithmeticException, and there is no catch block explicitly defined for DivideByZeroException errors.</p>
<p><code><br />
Imports System<br />
Class ExceptionTestClass<br />
Public Shared Sub Main()<br />
Dim x As Integer = 0<br />
Try<br />
Dim y As Integer = 100 / x<br />
Catch e As ArithmeticException<br />
Console.WriteLine("ArithmeticException Handler: {0}", e.ToString())<br />
Catch e As Exception<br />
Console.WriteLine("Generic Exception Handler: {0}", e.ToString())<br />
End Try<br />
End Sub<br />
End Class<br />
</code></p>
<p>The common language runtime provides an exception handling model that is based on the representation of exceptions as objects, and the separation of program code and exception handling code into try blocks and catch blocks, respectively. There can be one or more catch blocks, each designed to handle a particular type of exception, or one block designed to catch a more specific exception than another block.</p>
<p>If an application handles exceptions that occur during the execution of a block of application code, the code must be placed within a try statement. Application code within a try statement is a try block. Application code that handles exceptions thrown by a try block is placed within a catch statement, and is called a catch block. Zero or more catch blocks are associated with a try block, and each catch block includes a type filter that determines the types of exceptions it handles.</p>
<p>When an exception occurs in a try block, the system searches the associated catch blocks in the order they appear in application code, until it locates a catch block that handles the exception. A catch block handles an exception of type T if the type filter of the catch block specifies T or any type that T derives from. The system stops searching after it finds the first catch block that handles the exception. For this reason, in application code, a catch block that handles a type must be specified before a catch block that handles its base types, as demonstrated in the example that follows this section. A catch block that handles System.Exception is specified last.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=273&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/06/06/exceptions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>date time &amp; numeric formats</title>
		<link>http://backupcode.wordpress.com/2010/06/04/date-time-numeric-formats/</link>
		<comments>http://backupcode.wordpress.com/2010/06/04/date-time-numeric-formats/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 10:17:14 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[date time format]]></category>
		<category><![CDATA[numeric format]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=270</guid>
		<description><![CDATA[Format Function returns a string formatted according to instructions contained in a format String expression. This example shows various uses of the Format function to format values using both String formats and user-defined formats. For the date separator (/), time separator (:), and the AM/PM indicators (t and tt), the actual formatted output displayed by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=270&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Format Function returns a string formatted according to instructions contained in a format String expression.</p>
<p>This example shows various uses of the Format function to format values using both String formats and user-defined formats. For the date separator (/), time separator (:), and the AM/PM indicators (t and tt), the actual formatted output displayed by your system depends on the locale settings the code is using. When times and dates are displayed in the development environment, the short time format and short date format of the code locale are used. </p>
<p><code><br />
Dim myStr As String<br />
</code></p>
<p><code><br />
myStr = Format(Now(), "Long Time")<br />
</code><br />
Returns current system time in the system-defined long time format.</p>
<p><code><br />
myStr = Format(Now(), "Long Date")<br />
</code><br />
Returns current system date in the system-defined long date format.</p>
<p><code><br />
myStr = Format(Now(), "D")<br />
</code><br />
Returns current system date in the system-defined long date format, using the single letter code for the format.</p>
<p><code><br />
myStr = Format(Now(), "h:m:s")<br />
</code><br />
Returns time in format as 5:6:20&#8243;.</p>
<p><code><br />
myStr = Format(Now(), "hh:mm:ss tt")<br />
</code><br />
Returns time in format as 10:12:22 AM.</p>
<p><code><br />
myStr = Format(Now(), "dddd, MMM d yyyy")<br />
</code><br />
Returns date format as &#8220;Saturday, Jan 23 2010&#8243;.</p>
<p><code><br />
myStr = Format(Now(), "HH:mm:ss")<br />
</code><br />
Returns time format as 17:04:23.</p>
<p><code><br />
myStr = Format(23)<br />
</code><br />
Returns 23.</p>
<p><code><br />
myStr = Format(5459.4, "##,##0.00")<br />
</code><br />
The sample uses user-defined numeric formats and would return 5,459.40.</p>
<p><code><br />
myStr = Format(334.9, "###0.00")<br />
</code><br />
returns 334.90.</p>
<p><code><br />
myStrr = Format(5, "0.00%")<br />
</code><br />
Returns 500.00%.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=270&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/06/04/date-time-numeric-formats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>adding attributes</title>
		<link>http://backupcode.wordpress.com/2010/05/02/adding-attributes/</link>
		<comments>http://backupcode.wordpress.com/2010/05/02/adding-attributes/#comments</comments>
		<pubDate>Sun, 02 May 2010 01:01:36 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=267</guid>
		<description><![CDATA[Attributes can be added to selected control events. The following example is added on the page load event which displays a message box whenever the linkbutton is clicked. mylnkbtn.Attributes.Add("onclick", "return confirm('Are you sure you want to logout?')")<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=267&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Attributes can be added to selected control events.</p>
<p>The following example is added on the page load event which displays a message box whenever the linkbutton is clicked.</p>
<p><code><br />
mylnkbtn.Attributes.Add("onclick", "return confirm('Are you sure you want to logout?')")<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=267&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/05/02/adding-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>format functions</title>
		<link>http://backupcode.wordpress.com/2010/05/01/format-functions/</link>
		<comments>http://backupcode.wordpress.com/2010/05/01/format-functions/#comments</comments>
		<pubDate>Sat, 01 May 2010 04:33:54 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[format currency function]]></category>
		<category><![CDATA[format date time function]]></category>
		<category><![CDATA[format functions]]></category>
		<category><![CDATA[format number functions]]></category>
		<category><![CDATA[format percent function]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=265</guid>
		<description><![CDATA[FormatPercent Function The FormatPercent function returns an expression formatted as a percentage (that is, multiplied by 100) with a trailing % character. This example illustrates the use of the FormatPercent function. Dim myNumber As Single = 0.76 Dim myString As String = FormatPercent(myNumber) myString returns 76.00%. FormatNumber Function This example demonstrates the FormatNumber function. Dim [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=265&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FormatPercent Function<br />
The FormatPercent function returns an expression formatted as a percentage (that is, multiplied by 100) with a trailing % character.<br />
This example illustrates the use of the FormatPercent function.</p>
<p><code><br />
Dim myNumber As Single = 0.76<br />
Dim myString As String = FormatPercent(myNumber)<br />
</code></p>
<p>myString returns 76.00%.</p>
<p>FormatNumber Function<br />
This example demonstrates the FormatNumber function.</p>
<p><code><br />
Dim myNumber As Integer = 45600<br />
Dim myString As String = FormatNumber(myNumber, 2, , , TriState.True)<br />
</code></p>
<p>myString returns 45,600.00.</p>
<p>FormatDateTime Function<br />
FormatDateTime Function  returns a string expression representing a date/time value.<br />
This example demonstrates the use of the FormatDateTime function.</p>
<p><code><br />
Dim myDate As DateTime = #3/12/1999#<br />
Dim myString As String = FormatDateTime(myDate, DateFormat.LongDate)<br />
</code></p>
<p>myString returns Friday, March 12, 1999.</p>
<p>FormatCurrency Function<br />
FormatCurrency Function returns an expression formatted as a currency value using the currency symbol defined in the system control panel.<br />
The following example illustrates the use of the FormatCurrency function.</p>
<p><code><br />
Dim myDebt As Double = -4456.43<br />
Dim myString As String<br />
myString = FormatCurrency(myDebt, , , TriState.True, TriState.True)<br />
</code></p>
<p>myString returns ($4,456.43).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=265&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/05/01/format-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>event everytime form is shown</title>
		<link>http://backupcode.wordpress.com/2010/04/30/event-everytime-form-is-shown/</link>
		<comments>http://backupcode.wordpress.com/2010/04/30/event-everytime-form-is-shown/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 09:40:13 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[form load]]></category>
		<category><![CDATA[form show]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=262</guid>
		<description><![CDATA[Codes can be executed everytime a form is loaded or shown. The Load Event will be executed the first time the form is shown but the VisibleChanged Event will be executed everytime the form is shown. The following are the different format between the two: For the VisibleChanged Event: Private Sub myForm_VisibleChanged(ByVal sender As Object, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=262&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Codes can be executed everytime a form is loaded or shown.</p>
<p>The Load Event will be executed the first time the form is shown but the VisibleChanged Event will be executed everytime the form is shown.</p>
<p>The following are the different format between the two:</p>
<p>For the VisibleChanged Event:<br />
<code><br />
  Private Sub myForm_VisibleChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.VisibleChanged<br />
  End Sub<br />
</code></p>
<p>For the Load Event:<br />
<code><br />
 Private Sub myForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
 End Sub<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=262&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/04/30/event-everytime-form-is-shown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>communication port in vb</title>
		<link>http://backupcode.wordpress.com/2010/04/25/communication-port-in-vb/</link>
		<comments>http://backupcode.wordpress.com/2010/04/25/communication-port-in-vb/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 01:24:33 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[com port]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=260</guid>
		<description><![CDATA[In accessing the communication port of a computer, import first the following components: Imports System.IO.Ports Imports System.ComponentModel Then insert the following code to an event: Dim port As New IO.Ports.SerialPort = New SerialPort("COM3", 9600, Parity.None, 1, Stopbits.None) port.Open() Console.WriteLine(port.IsOpen) port.Close()<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=260&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In accessing the communication port of a computer, import first the following components:</p>
<p><code><br />
Imports System.IO.Ports<br />
Imports System.ComponentModel<br />
</code></p>
<p>Then insert the following code to an event:</p>
<p><code><br />
Dim port As New IO.Ports.SerialPort = New SerialPort("COM3", 9600, Parity.None, 1, Stopbits.None)<br />
port.Open()<br />
Console.WriteLine(port.IsOpen)<br />
port.Close()<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=260&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/04/25/communication-port-in-vb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>left, mid &amp; right functions</title>
		<link>http://backupcode.wordpress.com/2010/04/24/left-mid-right-functions/</link>
		<comments>http://backupcode.wordpress.com/2010/04/24/left-mid-right-functions/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 01:53:41 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[left function]]></category>
		<category><![CDATA[mid function]]></category>
		<category><![CDATA[right function]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=257</guid>
		<description><![CDATA[Left function returns a string containing a specified number of characters from the left side of a string.This function returns a substring of a given String. In a class that has a Left property, it may be necessary to fully qualify the Left function. Dim myString As String = "Hello World!" Dim mysubString As String [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=257&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Left function returns a string containing a specified number of characters from the left side of a string.This function returns a substring of a given String. In a class that has a Left property, it may be necessary to fully qualify the Left function.</p>
<p><code><br />
Dim myString As String = "Hello World!"<br />
Dim mysubString As String = Microsoft.VisualBasic.Left(myString, 5)<br />
</code></p>
<p>This would return &#8220;Hello&#8221;.</p>
<p>The Mid function returns a string containing a specified number of characters from a string.</p>
<p><code><br />
Dim myString As String = "Mid Function Demo"<br />
Dim FirstWord As String = Mid(myString, 1, 3)<br />
Dim LastWord As String = Mid(myString, 14, 4)<br />
Dim MidWords As String = Mid(myString, 5)<br />
</code></p>
<p>FirstWord returns Mid.<br />
LastWord returns Demo.<br />
MidWords returns Function Demo.</p>
<p>The Right function returns a string containing a specified number of characters from the right side of a string. In a class that has a Right property, it may be necessary to fully qualify the Right function.</p>
<p><code><br />
Dim myString As String = "Hello World!"<br />
Dim mysubString As String = Microsoft.VisualBasic.Right(myString, 6)<br />
</code></p>
<p>This returns World!.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=257&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/04/24/left-mid-right-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>Asc &amp; AscW functions</title>
		<link>http://backupcode.wordpress.com/2010/04/23/asc-ascw-functions/</link>
		<comments>http://backupcode.wordpress.com/2010/04/23/asc-ascw-functions/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 09:39:31 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[Asc function]]></category>
		<category><![CDATA[AscW functions]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=255</guid>
		<description><![CDATA[The Asc and AscW functions returns an Integer value representing the character code corresponding to a character. Asc returns the code point, or character code, for the input character. This can be 0 through 255 for single-byte character set (SBCS) values and -32768 through 32767 for double-byte character set (DBCS) values. For charts of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=255&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Asc and  AscW functions returns an Integer value representing the character code corresponding to a character.</p>
<p>Asc returns the code point, or character code, for the input character. This can be 0 through 255 for single-byte character set (SBCS) values and -32768 through 32767 for double-byte character set (DBCS) values. For charts of the single-byte ASCII characters, see ASCII Character Codes.</p>
<p>The returned value depends on the code page for the current thread, which is contained in the ANSICodePage property of the TextInfo class in the System.Globalization namespace. You can obtain ANSICodePage by specifying System.Globalization.CultureInfo.CurrentCulture.TextInfo.ANSICodePage.</p>
<p>AscW returns the Unicode code point for the input character. This can be 0 through 65535. The returned value is independent of the culture and code page settings for the current thread.</p>
<p><code><br />
Dim myValue1, myValue2, myValue3 As Integer<br />
myValue1 = Asc("A")<br />
myValue2 = Asc("a")<br />
myValue3 = Asc("Apple")<br />
</code></p>
<p>myValue1 returns 65.<br />
myValue2 returns 97.<br />
myValue3 returns 65.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=255&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/04/23/asc-ascw-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>int &amp; fix functions</title>
		<link>http://backupcode.wordpress.com/2010/04/17/int-fix-functions/</link>
		<comments>http://backupcode.wordpress.com/2010/04/17/int-fix-functions/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 00:50:44 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[fix function]]></category>
		<category><![CDATA[int function]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=248</guid>
		<description><![CDATA[Int and Fix functions return the integer portion of a number. In the case of a negative number argument, the Int function returns the first negative integer less than or equal to the number; the Fix function returns the first negative integer greater than or equal to the number. The following example requires you to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=248&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Int and Fix functions return the integer portion of a number.</p>
<p>In the case of a negative number argument, the Int function returns the first negative integer less than or equal to the number; the Fix function returns the first negative integer greater than or equal to the number. </p>
<p>The following example requires you to specify Option Strict Off because implicit conversions from type Double to type Integer are not allowed under Option Strict On:</p>
<p><code><br />
Dim myNum1, myNum2, myNum3, myNum4, myNum5, myNum6 As Integer<br />
myNum1 = Int(99.8)<br />
myNum2 = Fix(99.8)<br />
myNum3 = Int(-99.8)<br />
myNum4 = Fix(-99.8)<br />
myNum5 = Int(-99.2)<br />
myNum6 = Fix(-99.2)<br />
</code></p>
<p>myNum1 returns 99.<br />
myNum2 returns 99.<br />
myNum3 returns -100.<br />
myNum4 returns -99.<br />
myNum5 returns -100.<br />
myNum6 returns -99.</p>
<p>The CInt function is used to explicitly convert other data types to type Integer with Option Strict Off. However, CInt rounds to the nearest integer instead of truncating the fractional part of numbers. </p>
<p><code><br />
Dim myNum1, myNum2, myNum3 As Integer<br />
myNum1 = CInt(99.8)<br />
myNum2 = CInt(-99.8)<br />
myNum3 = CInt(-99.2)<br />
</code></p>
<p>myNum1 returns 100.<br />
myNum2 returns -100.<br />
myNum3 returns -99.</p>
<p>The CInt function can be used on the result of a call to Fix or Int to perform explicit conversion to integer without rounding. </p>
<p><code><br />
Dim myNum1, myNum2 As Integer<br />
myNum1 = CInt(Fix(99.8))<br />
myNum2 = CInt(Int(99.8))<br />
</code> </p>
<p>myNum1 returns 99.<br />
myNum2 returns 99.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=248&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/04/17/int-fix-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
		<item>
		<title>val function</title>
		<link>http://backupcode.wordpress.com/2010/04/16/val-function/</link>
		<comments>http://backupcode.wordpress.com/2010/04/16/val-function/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:44:47 +0000</pubDate>
		<dc:creator>backupcode</dc:creator>
				<category><![CDATA[vb.net]]></category>
		<category><![CDATA[val function]]></category>
		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://backupcode.wordpress.com/?p=243</guid>
		<description><![CDATA[The Val function returns the numbers contained in a string as a numeric value of appropriate type. It stops reading the string at the first character it cannot recognize as part of a number. Symbols and characters that are often considered parts of numeric values, such as dollar signs and commas, are not recognized. However, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=243&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Val function returns the numbers contained in a string as a numeric value of appropriate type. It stops reading the string at the first character it cannot recognize as part of a number. Symbols and characters that are often considered parts of numeric values, such as dollar signs and commas, are not recognized. However, the function recognizes the radix prefixes &amp;O (for octal) and &amp;H (for hexadecimal). Blanks, tabs, and linefeed characters are stripped from the argument.</p>
<p><code><br />
Dim myValue1, myValue2, myValue3 As Double<br />
myValue1 = Val("2457")<br />
myValue2 = Val(" 2 45 7")<br />
myValue3 = Val("24 and 57")<br />
</code></p>
<p>myValue1 will give result 2457.<br />
myValue2 will give result 2457.<br />
myValue3 will give result 24.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/backupcode.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/backupcode.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/backupcode.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/backupcode.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/backupcode.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/backupcode.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/backupcode.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/backupcode.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=backupcode.wordpress.com&amp;blog=8564926&amp;post=243&amp;subd=backupcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://backupcode.wordpress.com/2010/04/16/val-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">backupcode</media:title>
		</media:content>
	</item>
	</channel>
</rss>
