<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel>
    <title>.net-Snippets.com (VB)</title>
    <link>http://www.dotnet-Snippets.com/dns/default.aspx</link>
    <description>New Snippets on .NET-Snippets.com</description>
    <language>en-us</language>
    <copyright>copyright by Jan Welker</copyright>
    <image>
      <url>http://dotnet-Snippets.com/dns/bilder/dotnet-snippets.com.gif</url>
      <title>.NET-Snippets.com</title>
    <link>http://www.dotnet-Snippets.com/dns/default.aspx</link>
    </image>
    <item>
    <pubDate>Mon, 28 Apr 2008 21:56:48 GMT</pubDate>
      <title>VB.NET, Get Percent Value</title>
        <description>Calculates the Percentvalue of a given value depending on a maximum value.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/get-percent-value-SID599.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/get-percent-value-SID599.aspx</guid>
   </item>
    <item>
    <pubDate>Mon, 28 Apr 2008 21:53:39 GMT</pubDate>
      <title>VB.NET, Check URL for availability</title>
        <description>This function checks if a given internet address is available.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/check-url-for-availability-SID598.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/check-url-for-availability-SID598.aspx</guid>
   </item>
    <item>
    <pubDate>Mon, 28 Apr 2008 21:52:41 GMT</pubDate>
      <title>VB.NET, Basic Circle Calculation</title>
        <description>A little Class for basic circle calculation
	    </description>      <link>http://www.dotnet-Snippets.com/dns/basic-circle-calculation-SID597.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/basic-circle-calculation-SID597.aspx</guid>
   </item>
    <item>
    <pubDate>Mon, 14 Apr 2008 20:20:58 GMT</pubDate>
      <title>VB.NET, Draw Text on Image</title>
        <description>With this function you can draw some text on an image
	    </description>      <link>http://www.dotnet-Snippets.com/dns/draw-text-on-image-SID596.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/draw-text-on-image-SID596.aspx</guid>
   </item>
    <item>
    <pubDate>Thu, 10 Apr 2008 23:08:16 GMT</pubDate>
      <title>VB.NET, Packetwise File Copy</title>
        <description>This function is to copy a file via many small packets, like the real copy functions do.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/packetwise-file-copy-SID595.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/packetwise-file-copy-SID595.aspx</guid>
   </item>
    <item>
    <pubDate>Wed, 09 Apr 2008 21:00:11 GMT</pubDate>
      <title>VB.NET, Remove single attribute from a file</title>
        <description>With this function you can remove a single attribute from a file
	    </description>      <link>http://www.dotnet-Snippets.com/dns/remove-single-attribute-from-a-file-SID594.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/remove-single-attribute-from-a-file-SID594.aspx</guid>
   </item>
    <item>
    <pubDate>Wed, 09 Apr 2008 20:55:37 GMT</pubDate>
      <title>VB.NET, Read single attribute from file</title>
        <description>With this function you are able to read a single attribute from a file like Read-Only. So you can easily check if a special file attribute is given.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/read-single-attribute-from-file-SID593.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/read-single-attribute-from-file-SID593.aspx</guid>
   </item>
    <item>
    <pubDate>Wed, 09 Apr 2008 20:52:41 GMT</pubDate>
      <title>VB.NET, Give file an attribute</title>
        <description>With this function you can give a file an attribute like ready-only.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/give-file-an-attribute-SID592.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/give-file-an-attribute-SID592.aspx</guid>
   </item>
    <item>
    <pubDate>Tue, 08 Apr 2008 12:55:57 GMT</pubDate>
      <title>VB.NET, Get own internet IP address</title>
        <description>This function is able to read out your own IP address you got assigned from your internet provider. Even if you are using a router. This works because the function sends a request to a website which contains your IP address.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/get-own-internet-ip-address-SID591.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/get-own-internet-ip-address-SID591.aspx</guid>
   </item>
    <item>
    <pubDate>Tue, 08 Apr 2008 12:48:13 GMT</pubDate>
      <title>VB.NET, Windows Live Messenger &quot;Now Playing&quot;</title>
        <description>This class allows you to send a string to Windows Live Messenger to let other users see what you are just listening, like Windows Media Player.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/windows-live-messenger-now-playing-SID590.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/windows-live-messenger-now-playing-SID590.aspx</guid>
   </item>
    <item>
    <pubDate>Tue, 08 Apr 2008 12:31:01 GMT</pubDate>
      <title>VB.NET, Get all email addresses from text or string</title>
        <description>This function can filter all email addresses out of a string and save&apos;s them into a List(Of String)


&lt;a href=&quot;http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdotnet-snippets.com%2fdns%2fget-all-email-addresses-from-text-or-string-SID589.aspx&quot;&gt;&lt;img src=&quot;http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnet-snippets.com%2fdns%2fget-all-email-addresses-from-text-or-string-SID589.aspx&quot; border=&quot;0&quot; alt=&quot;kick it on DotNetKicks.com&quot; /&gt;&lt;/a&gt;
	    </description>      <link>http://www.dotnet-Snippets.com/dns/get-all-email-addresses-from-text-or-string-SID589.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/get-all-email-addresses-from-text-or-string-SID589.aspx</guid>
   </item>
    <item>
    <pubDate>Tue, 18 Mar 2008 20:25:23 GMT</pubDate>
      <title>VB.NET, Filecopy via Windows Shell Dialogue</title>
        <description>With this function you can copy one or more files via windows shell dialogue. This means you will see the default copy progress dialogue when the files beeing copied.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/filecopy-via-windows-shell-dialogue-SID588.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/filecopy-via-windows-shell-dialogue-SID588.aspx</guid>
   </item>
    <item>
    <pubDate>Tue, 18 Mar 2008 20:23:19 GMT</pubDate>
      <title>VB.NET, Calculate CRC32 Hash from File</title>
        <description>This function can calculate the CRC32 Hash from a File.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/calculate-crc32-hash-from-file-SID587.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/calculate-crc32-hash-from-file-SID587.aspx</guid>
   </item>
    <item>
    <pubDate>Sat, 10 Nov 2007 01:15:43 GMT</pubDate>
      <title>VB.NET, VarPtr for .NET</title>
        <description>The VarPtr function will return an offset where a given object is located in the memory.

In VB6 this function already exists but not in VB.NET, so I build a .NET Version of the VarPtr function.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/varptr-for-net-SID585.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/varptr-for-net-SID585.aspx</guid>
   </item>
    <item>
    <pubDate>Sat, 10 Nov 2007 01:12:36 GMT</pubDate>
      <title>VB.NET, Check Battery Status</title>
        <description>With this little class you can check the battery status of your notebook.
	    </description>      <link>http://www.dotnet-Snippets.com/dns/check-battery-status-SID584.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/check-battery-status-SID584.aspx</guid>
   </item>
    <item>
    <pubDate>Sat, 10 Nov 2007 01:11:06 GMT</pubDate>
      <title>VB.NET, Check if file is in use</title>
        <description>This function checks if a given file is in use by opening the file with exclusive read/write permissions. If the file is in use this function wont get exclusive permissions and will throw an exception and the function will return &quot;true&quot;, otherwise you&apos;ll get &quot;false&quot;
	    </description>      <link>http://www.dotnet-Snippets.com/dns/check-if-file-is-in-use-SID583.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/check-if-file-is-in-use-SID583.aspx</guid>
   </item>
    <item>
    <pubDate>Sat, 10 Nov 2007 01:05:48 GMT</pubDate>
      <title>VB.NET, Check Windows Password</title>
        <description>This function checks a windows user password whether it is valid and matching to the given username.


&lt;a href=&quot;http://www.dotnetkicks.com/kick/?url=http%3a%2f%
2fdotnet-snippets.com%2fdns%2fcheck-windows-password-SID582.aspx&quot;&gt;&lt;img src=&quot;http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnet-snippets.com%2fdns%2fcheck-windows-password-SID582.aspx&quot; border=&quot;0&quot; alt=&quot;kick it on DotNetKicks.com&quot; /&gt;&lt;/a&gt;

	    </description>      <link>http://www.dotnet-Snippets.com/dns/check-windows-password-SID582.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/check-windows-password-SID582.aspx</guid>
   </item>
    <item>
    <pubDate>Mon, 25 Jun 2007 15:10:15 GMT</pubDate>
      <title>VB.NET, Simple Network Time (NTP) Protocol Client </title>
        <description>This is a free VB.NET implementation of the SNTP, as documented in the RFC 2030. Feel free to download it and enjoy. There are no restrictions on how you use the code provided herein, except a short notice to the author.

The Simple Network Time Protocol (SNTP) is a protocol for synchronizing the clocks of computer systems over packet-switched, variable-latency data networks. SNTP uses UDP port 123 as its transport layer. It is designed particularly to
resist the effects of variable latency. SNTP uses  Marzullo’s algorithm with the UTC time scale, including support for features such as leap seconds. SNTPv4 can usually maintain time to within 10 milliseconds
(1/100 s) over the Internet, and can achieve accuracies of 200 microseconds (1/5000 s) or better in local area networks under ideal conditions.

SNTP is one of the oldest internet protocols still in use (since before 1985). SNTP was originally designed by 
Dave Mills of the University of Delaware, who still maintains it, along with a team of volunteers.

SNTP uses a hierarchical system of “clock strata”, where stratum 1 systems are synchronized to an accurate external clock such as a GPS clock or other radio clock. SNTP stratum 2 systems derive their time from one or more stratum 1
systems, and so on. (Note that this is different from the notion of clock strata used in telecom systems)

The 64-bit timestamps used by SNTP consist of a 32-bit seconds part and a 32-bit fractional second part, giving SNTP a time scale of 232 seconds (136 years), with a theoretical resolution of 2−32 seconds (0.233 nanoseconds). Although the SNTP timescale wraps round every 232 seconds, implementations should disambiguate SNTP time using a knowledge of the approximate time from other sources. Since this only requires time accurate to a few decades, this is not a problem in general use.

	    </description>      <link>http://www.dotnet-Snippets.com/dns/simple-network-time-ntp-protocol-client-SID572.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/simple-network-time-ntp-protocol-client-SID572.aspx</guid>
   </item>
    <item>
    <pubDate>Thu, 24 Aug 2006 14:53:42 GMT</pubDate>
      <title>VB.NET, Resize image to fit in picturebox</title>
        <description>Automatically resize an image so it shows ok in the picturebox on your form. It doesn&apos;t change the actual image
	    </description>      <link>http://www.dotnet-Snippets.com/dns/resize-image-to-fit-in-picturebox-SID213.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/resize-image-to-fit-in-picturebox-SID213.aspx</guid>
   </item>
    <item>
    <pubDate>Thu, 17 Aug 2006 02:18:38 GMT</pubDate>
      <title>VB.NET, Invert Colors from Image</title>
        <description>This function inverts the colors from an image by using a new color matrix
	    </description>      <link>http://www.dotnet-Snippets.com/dns/invert-colors-from-image-SID204.aspx</link>
      <author>webmaster@dotnet-Snippets.com</author>
     <guid>http://www.dotnet-Snippets.com/dns/invert-colors-from-image-SID204.aspx</guid>
   </item>
 </channel>
</rss>