<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dot Net Tips &#38; Tricks</title>
	<atom:link href="http://dotnetdud.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetdud.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 27 Apr 2008 16:01:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dotnetdud.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/da78c743e85b5f61e1b33b31bea0f127?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Dot Net Tips &#38; Tricks</title>
		<link>http://dotnetdud.wordpress.com</link>
	</image>
			<item>
		<title>Building an Electronic Clock in VB.Net using timer class</title>
		<link>http://dotnetdud.wordpress.com/2008/04/27/building-an-electronic-clock-in-vbnet-using-timer-class/</link>
		<comments>http://dotnetdud.wordpress.com/2008/04/27/building-an-electronic-clock-in-vbnet-using-timer-class/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 16:01:25 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Timer Class in .NET]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/?p=19</guid>
		<description><![CDATA[Using Timer in VB.Net


Building an Electronic Clock in VB.Net using timer class
(VB.NET ProgressBar using Timer)

 
Public Class Form1
 Dim t As New Timer
 
 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 t.Interval = 1000
 AddHandler t.Tick, AddressOf Me.t_ShowProgress
 AddHandler t.Tick, AddressOf Me.t_ShowTime
 t.Start()
 End Sub
 Private Sub t_ShowProgress()
 ProgressBar1.Value += [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=19&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2008/04/using-timer-in-vbnet.html">Using Timer in VB.Net</a></h3>
<div class="post-body entry-content">
<p><span style="font-size:100%;"><a href="http://bp2.blogger.com/_s2jU7girbyM/SBSciaef-ZI/AAAAAAAAAaE/8p3nfuyvzXk/s1600-h/DND_TimerExample.JPG"><img style="float:right;cursor:pointer;margin:0 0 10px 10px;" src="http://bp2.blogger.com/_s2jU7girbyM/SBSciaef-ZI/AAAAAAAAAaE/8p3nfuyvzXk/s400/DND_TimerExample.JPG" border="0" alt="" /></a><span style="font-size:130%;"><br />
</span></span><span style="color:#ff6600;font-weight:bold;font-size:130%;">Building an Electronic Clock in VB.Net using timer class</p>
<p>(VB.NET ProgressBar using Timer)<br />
</span></p>
<p class="MsoNormal"><span style="font-size:100%;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span>Public</span><span> <span style="color:blue;">Class</span> Form1</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">Dim</span> t <span style="color:blue;">As</span> <span style="color:blue;">New</span> Timer</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">Private</span> <span style="color:blue;">Sub</span> Form1_Load(<span style="color:blue;">ByVal</span> sender <span style="color:blue;">As</span> System.Object, <span style="color:blue;">ByVal</span> e <span style="color:blue;">As</span> System.EventArgs) <span style="color:blue;">Handles</span> <span style="color:blue;">MyBase</span>.Load</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span>t.Interval = 1000</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">AddHandler</span> t.Tick, <span style="color:blue;">AddressOf</span> <span style="color:blue;">Me</span>.t_ShowProgress</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">AddHandler</span> t.Tick, <span style="color:blue;">AddressOf</span> <span style="color:blue;">Me</span>.t_ShowTime</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span>t.Start()</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">End</span> <span style="color:blue;">Sub</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">Private</span> <span style="color:blue;">Sub</span> t_ShowProgress()</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span>ProgressBar1.Value += 10</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">If</span> ProgressBar1.Value = 100 <span style="color:blue;">Then</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span> </span>ProgressBar1.Value = 0</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">End</span> <span style="color:blue;">If</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">End</span> <span style="color:blue;">Sub</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">Private</span> <span style="color:blue;">Sub</span> t_ShowTime()</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span>Label1.Text = Now</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span><span> </span><span style="color:blue;">End</span> <span style="color:blue;">Sub</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span>End</span><span> <span style="color:blue;">Class</span></span></p>
<p class="MsoNormal"><span style="font-size:100%;"> </span></p>
<p class="MsoNormal"><span style="line-height:115%;font-family:Verdana;font-size:100%;color:black;">Add Handler &#8211; Associates an event with an event handler at run time. The <span class="keyword">Handles</span> keyword and the <span class="keyword">AddHandler</span> statement both allow you to specify that particular procedures handle particular events, but there are differences. The <span class="keyword">AddHandler</span> statement connects procedures to events at run time. Use the <span class="keyword">Handles</span> keyword when defining a procedure to specify that it handles a particular event.</span></p>
<p class="MsoNormal"><span style="line-height:115%;font-family:Verdana;font-size:100%;color:black;">The <span style="font-weight:bold;color:#ff0000;">Tick event (this is similar to Visual Basic Timer1_Timer event)</span> occurs when the specified timer interval has elapsed and the timer is enabled. This is based on the interval set for the Timer (1000 ms or 1 sec here)</span></p>
<p class="MsoNormal"><span style="line-height:115%;font-family:Verdana;font-size:100%;color:black;">The <a id="KonaLink4" class="kLink" href="http://dotnetdud.blogspot.com/#" target="_top"><span style="color:blue !important;font-weight:400;font-size:12.6px;position:static;"><span class="kLink" style="color:blue !important;font-family:Verdana;font-weight:400;font-size:12.6px;position:static;">progress </span><span class="kLink" style="color:blue !important;font-family:Verdana;font-weight:400;font-size:12.6px;position:static;">bar</span></span></a> will be reset after it reaches 100. The timer will run till the form is closed. Since the process is synchronous only the timer event will be executed or the label will be updated. The same can also be achieved async </span></p>
</div>
<div class="post-footer">
<div class="post-footer-line post-footer-line-1"><span class="post-author vcard"> Posted by <span class="fn">Shasur</span> </span> <span class="post-timestamp"> at <a class="timestamp-link" title="permanent link" rel="bookmark" href="http://dotnetdud.blogspot.com/2008/04/using-timer-in-vbnet.html"><abbr class="published" title="00">8:29 AM</abbr></a> </span> <span class="post-comment-link"> <a class="comment-link" href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=1238823188428556419">0 comments</a> </span> <span class="post-backlinks post-comment-link"> </span> <span class="post-icons"> <span class="item-control blog-admin pid-24239361"> <a title="Edit Post" href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=1238823188428556419"> <img class="icon-action" src="http://www.blogger.com/img/icon18_edit_allbkg.gif" alt="" /> </a> </span> </span></div>
<div class="post-footer-line post-footer-line-2"><span class="post-labels"> Labels: <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/Add%20Handler%20in%20VB.NET">Add Handler in VB.NET</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/Electronic%20Clock%20in%20VB.Net">Electronic Clock in VB.Net</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/Timer%20Event%20in%20VB.NET">Timer Event in VB.NET</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/VB.NET%20Progress%20Bars">VB.NET Progress Bars</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/VB.NET%20Timer%20Tick%20event">VB.NET Timer Tick event</a> </span></div>
</div>
<p><a name="6723476769223947514"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2008/04/regular-expressions-in-dot-net-net.html">Regular Expressions in Dot Net (.NET)</a></h3>
<div class="post-body entry-content">
<p><span style="font-weight:bold;color:#ff6600;">Finding Duplicate Words in a String using .NET Regular Expressions</span></p>
<p><span style="font-weight:bold;color:#ff0000;">Regular Expressions (REGEX) </span>does wonders in programming. Here is a simple Regex code that identifies duplicate words like &#8216;the the&#8217;, &#8217;something something&#8217; etc. Probably copyeditors can use this code to do the work that <a id="KonaLink5" class="kLink" href="http://dotnetdud.blogspot.com/#" target="_top"><span style="color:blue !important;font-weight:400;font-size:12.6px;position:static;"><span class="kLink" style="color:blue !important;font-family:&quot;font-weight:400;font-size:12.6px;position:static;">Microsoft</span></span></a> Spell check does</p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">Sub</span> Regex_Checker_Duplicate_Words()</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">Dim</span> oRegex <span style="color:blue;">As</span> Regex</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">Dim</span> sPattern <span style="color:blue;">As</span> <span style="color:blue;">String</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">Dim</span> oMatches <span style="color:blue;">As</span> Match</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">Dim</span> sText <span style="color:blue;">As</span> <span style="color:blue;">String</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:blue;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>sText = <span style="color:#a31515;">&#8221; the the category catastropic cat cat and rat b b &#8220;</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>sPattern = <span style="color:#a31515;">&#8220;\b([a-zA-Z]+)\s+\1&#8243;</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>oRegex = <span style="color:blue;">New</span> Regex(sPattern)</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>oMatches = oRegex.Match(sText, sPattern)</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">While</span> oMatches.Success</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>MsgBox(oMatches.Groups(0).Value.ToString)</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>oMatches = oMatches.NextMatch</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">End</span> <span style="color:blue;">While</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:blue;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:blue;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">End</span> <span style="color:blue;">Sub</span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:blue;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 2.9pt 0.5in;"><span style="font-size:8.5pt;font-family:Verdana;color:black;">Returns a new </span><strong><span style="font-size:8.5pt;font-family:Verdana;color:black;">Match</span></strong><span style="font-size:8.5pt;font-family:Verdana;color:black;"> with the results for the next match, starting at the position at which the last match ended (at the character beyond the last matched character).</span></p>
<p class="MsoNormal"><strong><span> </span></strong></p>
<p class="MsoNormal"><strong><span> </span></strong></p>
<p class="MsoNormal"><strong><span> </span></strong></p>
</div>
<div class="post-footer-line post-footer-line-1"><span class="post-author vcard"> Posted by <span class="fn">Shasur</span> </span> <span class="post-timestamp"> at <a class="timestamp-link" title="permanent link" rel="bookmark" href="http://dotnetdud.blogspot.com/2008/04/regular-expressions-in-dot-net-net.html"><abbr class="published" title="00">7:04 AM</abbr></a> </span> <span class="post-comment-link"> <a class="comment-link" href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=6723476769223947514">0 comments</a> </span> <span class="post-backlinks post-comment-link"> </span> <span class="post-icons"> <span class="item-control blog-admin pid-24239361"> <a title="Edit Post" href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=6723476769223947514"> <img class="icon-action" src="http://www.blogger.com/img/icon18_edit_allbkg.gif" alt="" /> </a> </span> </span></div>
<div class="post-footer-line post-footer-line-2"><span class="post-labels"> Labels: <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/Dot%20NEt%20REgular%20Expressions">Dot NEt REgular Expressions</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/Regular%20Expressions%20in%20.NET">Regular Expressions in .NET</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/VB.NET%20REgex">VB.NET REgex</a>, <a rel="tag" href="http://dotnetdud.blogspot.com/search/label/VB.NEt%20REgular%20Expressions">VB.NEt REgular Expressions</a> </span></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=19&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2008/04/27/building-an-electronic-clock-in-vbnet-using-timer-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://bp2.blogger.com/_s2jU7girbyM/SBSciaef-ZI/AAAAAAAAAaE/8p3nfuyvzXk/s400/DND_TimerExample.JPG" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>Get Computer Name in .Net</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/get-computer-name-in-net/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/get-computer-name-in-net/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:09:28 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/get-computer-name-in-net/</guid>
		<description><![CDATA[
Get  Computer Name in .Net
Use the My object to get the name of the computer
&#8216; Returns Name of  the Computer
Function Get_Comp_Name() As String
Return  My.Computer.Name.ToString
End Function
The VBA/Visual Basic  function to do the same is :
http://vbadud.blogspot.com/2007/05/get-computer-name.html
The  SQL Statement to get the computer name is :
http://sqldud.blogspot.com/2007/04/get-computer-name-from-sql-query.html

Changing LINKS

Posted by Shasur at 7:43  PM [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=18&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="8078166210201787315"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/get-computer-name-in-net.html">Get  Computer Name in .Net</a></h3>
<div class="post-body entry-content">Use the My object to get the name of the computer</p>
<p>&#8216; Returns Name of  the Computer</p>
<p>Function Get_Comp_Name() As String</p>
<p>Return  My.Computer.Name.ToString</p>
<p>End Function</p>
<p>The VBA/Visual Basic  function to do the same is :<br />
<a href="http://vbadud.blogspot.com/2007/05/get-computer-name.html">http://vbadud.blogspot.com/2007/05/get-computer-name.html</a></p>
<p>The  SQL Statement to get the computer name is :<br />
<a href="http://sqldud.blogspot.com/2007/04/get-computer-name-from-sql-query.html">http://sqldud.blogspot.com/2007/04/get-computer-name-from-sql-query.html</a></p>
<p><a href="http://www.programmersheaven.com/"><img src="http://www.programmersheaven.com/images/minibanner.gif" height="20" width="60" /></a></p>
<p><a href="http://www.changinglinks.com/">Changing LINKS</a></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/get-computer-name-in-net.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-07T19:43:00-07:00">7:43  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=8078166210201787315" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=8078166210201787315" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/.Net" rel="tag">.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/.Net%20Get%20Computer%20Name" rel="tag">.Net Get Computer Name</a>, <a href="http://dotnetdud.blogspot.com/search/label/Computer%20Name%20in%20.Net" rel="tag">Computer Name in .Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Computer%20Name%20in%20ASP.Net" rel="tag">Computer Name in ASP.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Dot%20Net" rel="tag">Dot Net</a>  </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=18&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/get-computer-name-in-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://www.programmersheaven.com/images/minibanner.gif" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>ASP.Net Get User / .Net Get User</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/aspnet-get-user-net-get-user/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/aspnet-get-user-net-get-user/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:09:07 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/aspnet-get-user-net-get-user/</guid>
		<description><![CDATA[ASP.Net  Get User / .Net Get User
User names are the most important ones. Whether to write in logs or display a  warm hello message, it is there throughout
Here let us look at the way to  get the user of the system. Webdevelopemt will have different  &#8216;users&#8217;.
Function Get_User_Name() As String
Return  My.User.Name
End [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=17&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/aspnet-get-user-net-get-user.html">ASP.Net  Get User / .Net Get User</a></h3>
<div class="post-body entry-content">User names are the most important ones. Whether to write in logs or display a  warm hello message, it is there throughout</p>
<p>Here let us look at the way to  get the user of the system. Webdevelopemt will have different  &#8216;users&#8217;.</p>
<p>Function Get_User_Name() As String</p>
<p>Return  My.User.Name</p>
<p>End Function</p>
<p><a href="http://www.blogrankings.com/" title="Blogrankings.com a directory of blog sites"><b>BlogRankings.com</b></a></p>
<p>Again  the My namespace comes in handy</p>
<p>The same can be done using VBA :<br />
<a href="http://vbadud.blogspot.com/2007/05/get-computer-name.html">http://vbadud.blogspot.com/2007/05/get-computer-name.html</a></p>
<p>For  knowing the user using SQL select statement please refer :</p></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/aspnet-get-user-net-get-user.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-07T19:45:00-07:00">7:45  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=9006781340540356815" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=9006781340540356815" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/.Net" rel="tag">.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/.Net%20Get%20User%20Name" rel="tag">.Net Get User Name</a>, <a href="http://dotnetdud.blogspot.com/search/label/ASP.Net%20Get%20User%20Name" rel="tag">ASP.Net Get User Name</a>, <a href="http://dotnetdud.blogspot.com/search/label/Dot%20Net" rel="tag">Dot Net</a>  </span></p>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=17&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/aspnet-get-user-net-get-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>Opening &amp; Closing Forms in .Net</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/opening-closing-forms-in-net/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/opening-closing-forms-in-net/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:08:48 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/opening-closing-forms-in-net/</guid>
		<description><![CDATA[
Opening  &#38; Closing Forms in .Net
Opening &#38; Closing the forms have changed from Visual Basic 6.0 to  VB.Net
The Form object in Visual Basic 6.0 is replaced by the  Form class in Visual Basic  2005. The names of some properties, methods, events, and constants are  different, and in some cases there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=16&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="1447614779854094143"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/opening-closing-forms-in-net.html">Opening  &amp; Closing Forms in .Net</a></h3>
<div class="post-body entry-content">Opening &amp; Closing the forms have changed from Visual Basic 6.0 to  VB.Net</p>
<p>The <b>Form</b> object in Visual Basic 6.0 is replaced by the  Form class in Visual Basic  2005. The names of some properties, methods, events, and constants are  different, and in some cases there are differences in  behavior</p>
<p>Form1.Show Modal=True in VB 6.0 is replaced with the  ShowDialog</p>
<p><code></p>
<p>Sub Show_Form_Modal()</p>
<p>Form1.ShowDialog()  ' Modal</p>
<p>End Sub</p>
<p>Sub Show_Form_Modeless()</p>
<p>Form1.Show() '  Modeless</p>
<p>End Sub</p>
<p>Closing which was done by  Unload(Me)</p>
<p>Private Sub Button1_Click(ByVal sender As System.Object, ByVal  e As System.EventArgs) Handles Button1.Click</p>
<p>Me.Close()</p>
<p>End  Sub<br />
</code></p>
<p><!-- TopBlogArea.com START --><a href="http://www.topblogarea.com/computers/" title="Computers blogs"><img src="http://www.topblogarea.com/tracker.php?do=in&amp;id=11792" alt="Top Computers blogs" border="0" /></a><!-- TopBlogArea.com END --></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/opening-closing-forms-in-net.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-08T18:51:00-07:00">6:51  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=1447614779854094143" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=1447614779854094143" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/Closing%20Forms%20in%20.Net" rel="tag">Closing Forms in .Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Dot%20Net" rel="tag">Dot Net</a>,  <a href="http://dotnetdud.blogspot.com/search/label/Form%20Close%20MEthod" rel="tag">Form Close MEthod</a>, <a href="http://dotnetdud.blogspot.com/search/label/Form%20ShowDialog" rel="tag">Form  ShowDialog</a>, <a href="http://dotnetdud.blogspot.com/search/label/Modal%20Forms%20in%20.Net" rel="tag">Modal Forms in .Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Modeless%20forms%20in%20.Net" rel="tag">Modeless forms in .Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Unloading%20Forms%20in%20.Net" rel="tag">Unloading Forms in .Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net" rel="tag">VB.Net</a>  </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=16&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/opening-closing-forms-in-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://www.topblogarea.com/tracker.php?do=in&#38;id=11792" medium="image">
			<media:title type="html">Top Computers blogs</media:title>
		</media:content>

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>VB.Net Form Close vs Form Dispose</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/vbnet-form-close-vs-form-dispose/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/vbnet-form-close-vs-form-dispose/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:08:29 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/vbnet-form-close-vs-form-dispose/</guid>
		<description><![CDATA[
VB.Net  Form Close vs Form Dispose
Two methods doing some identical jobs always create some confusion. What to  use to &#8216;unload&#8217; the form Form.Close or Form.Dispose
Form.Close should be  the answer as going by Microsoft Form.Close disposes the form as well if the  form Modeless .
One more advantage you get from this method [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=15&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="6267886998514092324"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/vbnet-form-close-vs-form-dispose.html">VB.Net  Form Close vs Form Dispose</a></h3>
<div class="post-body entry-content">Two methods doing some identical jobs always create some confusion. What to  use to &#8216;unload&#8217; the form Form.Close or Form.Dispose</p>
<p>Form.Close should be  the answer as going by Microsoft Form.Close disposes the form as well if the  form Modeless .</p>
<p>One more advantage you get from this method is from the  events that are associated with the form</p>
<p>You can prevent the closing of a  form at run time by handling the <a href="http://dotnetdud.blogspot.com/E_System_Windows_Forms_Form_Closing.htm">Closing</a>  event and setting the Cancel  property of the CancelEventArgs  passed as a parameter to your event handler.</p>
<p>Private Sub  Form1_FormClosing(ByVal sender As Object, ByVal e As  System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing<br />
If  MessageBox.Show(&#8220;Form is closing&#8221;, &#8220;Form Close&#8221;, MessageBoxButtons.YesNo,  MessageBoxIcon.Hand) = Windows.Forms.DialogResult.No Then<br />
e.Cancel =  True<br />
End If<br />
End Sub</p>
<p>The above prevents the form being  closed</p>
<p>When the form is opened as Modal form (using Showdialog) you can  dispose the form explicitly</p>
<p><!-- begin RSS Feeds Submission Directory link --><br />
<a href="http://rss-feeds-submission.com/" title="RSS Feeds Submission Directory"></a></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/Form%20Close%20MEthod" rel="tag">Form Close MEthod</a>, <a href="http://dotnetdud.blogspot.com/search/label/Form%20Dialog%20Method" rel="tag">Form Dialog Method</a>, <a href="http://dotnetdud.blogspot.com/search/label/FormClosing%20Event" rel="tag">FormClosing Event</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net%20Form%20Close%20vs%20Form%20Dispose" rel="tag">VB.Net Form Close vs Form Dispose</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net%20Prevent%20form%20closing" rel="tag">VB.Net Prevent form closing</a> </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=15&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/vbnet-form-close-vs-form-dispose/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Default &amp; Cancel Buttons in Visual Basic.Net Form</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/setting-default-cancel-buttons-in-visual-basicnet-form/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/setting-default-cancel-buttons-in-visual-basicnet-form/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:08:05 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/setting-default-cancel-buttons-in-visual-basicnet-form/</guid>
		<description><![CDATA[
VB.Net  Setting Default &#38; Cancel Buttons
Setting Default &#38; Cancel Buttons in Visual Basic.Net Form
Default  button is in VB.NEt with a different name &#8211; AcceptButton. However, cancel button  retains its name:
Here is a way you can set them
Private Sub  Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles  Me.Load
&#8216;Sets cmdOK as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=14&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="209431612613981791"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/vbnet-setting-default-cancel-buttons.html">VB.Net  Setting Default &amp; Cancel Buttons</a></h3>
<div class="post-body entry-content">Setting Default &amp; Cancel Buttons in Visual Basic.Net Form</p>
<p>Default  button is in VB.NEt with a different name &#8211; AcceptButton. However, cancel button  retains its name:</p>
<p>Here is a way you can set them</p>
<p>Private Sub  Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles  Me.Load</p>
<p>&#8216;Sets cmdOK as the button control that is clicked when the user  presses the Enter key.<br />
Me.AcceptButton = cmdOK</p>
<p>&#8216;Sets cmdCancel as the  button control that is clicked when the user presses the ESC  key.<br />
Me.CancelButton = cmdCancel</p>
<p>End Sub</p>
<p><a href="http://www.blogdigger.com/"><img src="http://www.blogdigger.com/images/blogdigger2.gif" border="0" /></a></p>
<p>For  setting the same in VBA/VB refer : <a href="http://vbadud.blogspot.com/2007/06/setting-default-cancel-buttons-in.html">http://vbadud.blogspot.com/2007/06/setting-default-cancel-buttons-in.html</a></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/vbnet-setting-default-cancel-buttons.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-08T19:56:00-07:00">7:56  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=209431612613981791" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=209431612613981791" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/Setting%20%20Cancel%20Buttons%20in%20Visual%20Basic.Net" rel="tag">Setting Cancel Buttons in Visual Basic.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Setting%20Default%20Buttons%20in%20Visual%20Basic.Net" rel="tag">Setting Default Buttons in Visual Basic.Net</a> </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=14&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/setting-default-cancel-buttons-in-visual-basicnet-form/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://www.blogdigger.com/images/blogdigger2.gif" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>Get Folder Size using .Net</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/get-folder-size-using-net/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/get-folder-size-using-net/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:07:39 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/get-folder-size-using-net/</guid>
		<description><![CDATA[
Directory  Size using VB.Net

For getting the size of each directory in Vb.Net, you need to  add up the size of each file in the directory.
This function gets the  size of each directory including sub-directories and writes to a text  file
Imports System.IO
Dim oBuffer As  System.IO.TextWriter
Function Get_Directory_Size(ByVal sDirPath As  String)
Dim lDirSize [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=13&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="6391010272835505748"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/directory-size-using-vbnet.html">Directory  Size using VB.Net</a></h3>
<div class="post-body entry-content"><span style="font-weight:bold;color:#ff6600;"></span></p>
<p>For getting the size of each directory in Vb.Net, you need to  add up the size of each file in the directory.</p>
<p>This function gets the  size of each directory including sub-directories and writes to a text  file</p>
<p>Imports System.IO</p>
<p>Dim oBuffer As  System.IO.TextWriter</p>
<p>Function Get_Directory_Size(ByVal sDirPath As  String)</p>
<p>Dim lDirSize As Long<br />
Dim oDir As DirectoryInfo<br />
Dim sDir As  DirectoryInfo<br />
Dim sFiles As FileInfo<br />
Dim iFN As Short &#8216;* File  Number<br />
Dim sPath As String &#8216;* Saving Path</p>
<p>&#8216;Dim oFSW As  System.IO.FileSystemWatcher</p>
<p>oDir = New DirectoryInfo(sDirPath)</p>
<p>Dim  oDirs As DirectoryInfo() = oDir.GetDirectories()</p>
<p>For Each sDir In  oDirs</p>
<p>lDirSize = 0</p>
<p>For Each sFiles In  sDir.GetFiles(&#8220;*.*&#8221;)<br />
lDirSize +=  sFiles.Length<br />
Next</p>
<p>&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8216;  Coded by Shasur for  http://dotnetdud.blogspot.com/<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&#8216;MsgBox(&#8220;Size  of Directory &#8221; &amp; sDir.Name &amp; &#8221; is &#8221; &amp;  lDirSize)<br />
oBuffer.WriteLine(sDir.FullName &amp; vbTab &amp;  lDirSize)</p>
<p>Get_Directory_Size(sDirPath &amp; sDir.Name &amp;  &#8220;\&#8221;)</p>
<p>Next</p>
<p>End Function</p>
<p>The procedure below uses  WriteLine function of the StreamWriter class</p>
<p>Sub  Store_Size_Of_Directory</p>
<p>Dim sOPFile As String</p>
<p>sOPFile =  c:\SystemDirSize.log&#8221;</p>
<p>&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8216;  Coded by Shasur for  http://dotnetdud.blogspot.com/<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>oBuffer  = New  System.IO.StreamWriter(sOPFile)<br />
oBuffer.WriteLine(Now())</p>
<p>Get_Directory_Size(&#8220;c:\&#8221;)</p>
<p>oBuffer.Close()<br />
End  Sub</p></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/directory-size-using-vbnet.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-15T18:33:00-07:00">6:33  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=6391010272835505748" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=6391010272835505748" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/.Net%20Get%20Subdirectories" rel="tag">.Net Get Subdirectories</a>, <a href="http://dotnetdud.blogspot.com/search/label/.Net%20StreamWriter" rel="tag">.Net StreamWriter</a>, <a href="http://dotnetdud.blogspot.com/search/label/Get%20Directory%20Size%20using.Net" rel="tag">Get Directory Size using.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Get%20Folder%20Size%20using.Net" rel="tag">Get Folder Size using.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net" rel="tag">VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Write%20to%20Text%20File%20using%20.Net" rel="tag">Write to Text File using .Net</a> </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=13&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/get-folder-size-using-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>Directory Selection in Windows Forms using VB.Net</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/directory-selection-in-windows-forms-using-vbnet/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/directory-selection-in-windows-forms-using-vbnet/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:07:19 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/directory-selection-in-windows-forms-using-vbnet/</guid>
		<description><![CDATA[
Selecting  a Folder in VB.Net

The Visual Basic 6.0 DirListBox control  has been rendered obsolete by the OpenFileDialog and SaveFileDialog components  in Visual Basic 2005. If you want to select a directory FolderBrowser Dialog  will be the one you need to use
For this example, Let us have a form with  a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=12&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="7109791507114096914"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/selecting-folder-in-vbnet.html">Selecting  a Folder in VB.Net</a></h3>
<div class="post-body entry-content"><span style="font-weight:bold;color:#ff6600;"></span></p>
<p>The Visual Basic 6.0 DirListBox control  has been rendered obsolete by the OpenFileDialog and SaveFileDialog components  in Visual Basic 2005. If you want to select a directory FolderBrowser Dialog  will be the one you need to use</p>
<p>For this example, Let us have a form with  a TextBox and a command button. When the command buton is pressed, the  folderdialog is shown and then the selected folder is displayed in the  textbox</p>
<p>Sample Form:</p>
<p><a href="http://bp0.blogger.com/_s2jU7girbyM/Rn3gfbusYjI/AAAAAAAAABY/K-iw2YBsaUA/s1600-h/Form.gif"><img src="http://bp0.blogger.com/_s2jU7girbyM/Rn3gfbusYjI/AAAAAAAAABY/K-iw2YBsaUA/s400/Form.gif" style="cursor:pointer;" border="0" /></a></p>
<p>Add the FolderBrowser Dialog to the form from the  Dialogs Collection (see below).</p>
<p><a href="http://bp2.blogger.com/_s2jU7girbyM/Rn3gk7usYkI/AAAAAAAAABg/FbeqMsWYbkg/s1600-h/Dialogs.gif"><img src="http://bp2.blogger.com/_s2jU7girbyM/Rn3gk7usYkI/AAAAAAAAABg/FbeqMsWYbkg/s400/Dialogs.gif" style="cursor:pointer;" border="0" /></a></p>
<p>This control will not be placed on the form but on a  separate tray at the bottom of the Windows Forms Designer. (see below)</p>
<p><a href="http://bp1.blogger.com/_s2jU7girbyM/Rn3gprusYlI/AAAAAAAAABo/jL1ZKDF0kJ8/s1600-h/Tray.gif"><img src="http://bp1.blogger.com/_s2jU7girbyM/Rn3gprusYlI/AAAAAAAAABo/jL1ZKDF0kJ8/s400/Tray.gif" style="cursor:pointer;" border="0" /></a></p>
<p>Now in the click event for the Button have the  following code:</p>
<p><span style="color:#3333ff;">Private Sub  BtnFolder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)  Handles BtnFolder.Click</span></p>
<p><span style="color:#3333ff;">Dim  MyFolderBrowser As New  System.Windows.Forms.FolderBrowserDialog</span></p>
<p><span style="color:#3333ff;">&#8216; Descriptive text displayed above the tree view  control in the dialog box</span><br />
<span style="color:#3333ff;">MyFolderBrowser.Description = &#8220;Select the  Folder&#8221;</span></p>
<p><span style="color:#3333ff;">&#8216; Sets the root folder  where the browsing starts from</span><br />
<span style="color:#3333ff;">&#8216;MyFolderBrowser.RootFolder =  Environment.SpecialFolder.MyDocuments</span></p>
<p><span style="color:#3333ff;">&#8216; Do not show the button for new  folder</span><br />
<span style="color:#3333ff;">MyFolderBrowser.ShowNewFolderButton =  False</span></p>
<p><span style="color:#3333ff;">Dim dlgResult As  DialogResult = MyFolderBrowser.ShowDialog()</span></p>
<p><span style="color:#3333ff;">If dlgResult = Windows.Forms.DialogResult.OK  Then</span><br />
<span style="color:#3333ff;">txt_watchpath.Text =  MyFolderBrowser.SelectedPath</span><br />
<span style="color:#3333ff;">End  If</span></p>
<p><span style="color:#3333ff;">End  Sub</span></p>
<p>The FolderBrowserDialog component is displayed at run time  using the ShowDialog method. Set the RootFolder property to determine the  top-most folder and any subfolders that will appear within the tree view of the  dialog box. Once the dialog box has been shown, you can use the SelectedPath  property to get the path of the folder that was selected</p>
<p>For similar  functionality in VB6.0 refer <a href="http://vbadud.blogspot.com/2007/04/browse-folder-select-folder-thru-shell.html">http://vbadud.blogspot.com/2007/04/browse-folder-select-folder-thru-shell.html</a></p>
<p>When  a Visual Basic 6.0 application is upgraded to Visual Basic 2005, any existing  DirListBox controls are upgraded to the VB6.DirListBox control that is provided  as a part of the compatibility library  (Microsoft.VisualBasic.Compatibility).</p></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/selecting-folder-in-vbnet.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-23T20:07:00-07:00">8:07  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=7109791507114096914" class="comment-link">1  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=7109791507114096914" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/Common%20Dialog%20in%20VB.Net" rel="tag">Common Dialog in VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Dot%20Net" rel="tag">Dot Net</a>,  <a href="http://dotnetdud.blogspot.com/search/label/FolderBrowser%20Dialog" rel="tag">FolderBrowser Dialog</a>, <a href="http://dotnetdud.blogspot.com/search/label/Selecting%20a%20Folder%20in%20VB.Net" rel="tag">Selecting a Folder in VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Selecting%20Directories%20in%20VB.Net" rel="tag">Selecting Directories in VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net" rel="tag">VB.Net</a>  </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=12&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/directory-selection-in-windows-forms-using-vbnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://bp0.blogger.com/_s2jU7girbyM/Rn3gfbusYjI/AAAAAAAAABY/K-iw2YBsaUA/s400/Form.gif" medium="image" />

		<media:content url="http://bp2.blogger.com/_s2jU7girbyM/Rn3gk7usYkI/AAAAAAAAABg/FbeqMsWYbkg/s400/Dialogs.gif" medium="image" />

		<media:content url="http://bp1.blogger.com/_s2jU7girbyM/Rn3gprusYlI/AAAAAAAAABo/jL1ZKDF0kJ8/s400/Tray.gif" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>OpenFileDialog in Visual Basic .Net</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/openfiledialog-in-visual-basic-net/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/openfiledialog-in-visual-basic-net/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:06:43 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/openfiledialog-in-visual-basic-net/</guid>
		<description><![CDATA[
OpenFileDialog  in Visual Basic .Net
List Files in Visual  Basic .Net / Visual Basic 2005
The Visual Basic 6.0 DirListBox  control has been rendered obsolete by the OpenFileDialog and SaveFileDialog  components in Visual Basic 2005.
Conceptual Differences
The Visual  Basic 6.0 DirListBox control was typically used to display directories and paths  in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=11&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="4348659657661766835"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/openfiledialog-in-visual-basic-net.html">OpenFileDialog  in Visual Basic .Net</a></h3>
<div class="post-body entry-content"><span style="font-weight:bold;color:#ff6600;">List Files in Visual  Basic .Net / Visual Basic 2005</span></p>
<p>The Visual Basic 6.0 DirListBox  control has been rendered obsolete by the OpenFileDialog and SaveFileDialog  components in Visual Basic 2005.</p>
<p>Conceptual Differences<br />
The Visual  Basic 6.0 DirListBox control was typically used to display directories and paths  in a File Open or Save dialog box.</p>
<p>In Visual Basic 2005, the Windows  Forms OpenFileDialog and SaveFileDialog components provide the ability to create  standard Windows dialog boxes for working with files, in most cases eliminating  the need for the DirListBox control.</p>
<p>For this example, Let us have a  form with a TextBox and a command button. When the command buton is pressed, the  folderdialog is shown and then the selected folder is displayed in the  textbox</p>
<p>Sample Form:</p>
<p><a href="http://bp0.blogger.com/_s2jU7girbyM/Rn3gfbusYjI/AAAAAAAAABY/K-iw2YBsaUA/s1600-h/Form.gif"><img src="http://bp0.blogger.com/_s2jU7girbyM/Rn3gfbusYjI/AAAAAAAAABY/K-iw2YBsaUA/s400/Form.gif" style="cursor:pointer;" border="0" /></a></p>
<p>Add the FolderBrowser Dialog to the form from the  Dialogs Collection (see below).</p>
<p><a href="http://bp2.blogger.com/_s2jU7girbyM/Rn3gk7usYkI/AAAAAAAAABg/FbeqMsWYbkg/s1600-h/Dialogs.gif"><img src="http://bp2.blogger.com/_s2jU7girbyM/Rn3gk7usYkI/AAAAAAAAABg/FbeqMsWYbkg/s400/Dialogs.gif" style="cursor:pointer;" border="0" /></a></p>
<p>This control will not be placed on the form but on a  separate tray at the bottom of the Windows Forms Designer. (see below)</p>
<p><a href="http://bp1.blogger.com/_s2jU7girbyM/Rn3gprusYlI/AAAAAAAAABo/jL1ZKDF0kJ8/s1600-h/Tray.gif"><img src="http://bp1.blogger.com/_s2jU7girbyM/Rn3gprusYlI/AAAAAAAAABo/jL1ZKDF0kJ8/s400/Tray.gif" style="cursor:pointer;" border="0" /></a></p>
<p>Now in the click event for the Button have the  following code:</p>
<p><span style="color:#3333ff;">Private Sub  BtnFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)  Handles BtnFile.Click</span></p>
<p><span style="color:#3333ff;">Dim  MyFileOpen As New System.Windows.Forms.OpenFileDialog</span><br />
<span style="color:#3333ff;">Dim bExOccured As Boolean</span><br />
<span style="color:#3333ff;">Dim retVal As DialogResult</span><br />
<span style="color:#3333ff;">Dim sMyFile As String</span><br />
<span style="color:#3333ff;">Try</span><br />
<span style="color:#3333ff;">&#8216; does not add an extension to a file name if the  user omits the extension</span><br />
<span style="color:#3333ff;">MyFileOpen.AddExtension = True</span></p>
<p><span style="color:#3333ff;">&#8216;dialog box does not allow multiple files to be  selected</span><br />
<span style="color:#3333ff;">MyFileOpen.Multiselect =  False</span></p>
<p><span style="color:#3333ff;">MyFileOpen.Filter =  &#8220;ASCII files (*.txt;*.log)|*.txt;*.log&#8221;</span></p>
<p><span style="color:#3333ff;">retVal = MyFileOpen.ShowDialog()</span><br />
<span style="color:#3333ff;">If retVal = Windows.Forms.DialogResult.OK  Then</span></p>
<p><span style="color:#3333ff;">If  MyFileOpen.CheckFileExists = True And MyFileOpen.CheckPathExists = True  Then</span></p>
<p><span style="color:#3333ff;">sMyFile =  MyFileOpen.FileName</span></p>
<p><span style="color:#3333ff;">End  If</span><br />
<span style="color:#3333ff;">End If</span><br />
<span style="color:#3333ff;">Catch ex1 As  AccessViolationException</span><br />
<span style="color:#3333ff;">MsgBox(ex1.StackTrace.ToString)</span><br />
<span style="color:#3333ff;">bExOccured = True</span><br />
<span style="color:#3333ff;">Catch ex As Exception</span><br />
<span style="color:#3333ff;">MsgBox(ex.StackTrace.ToString)</span><br />
<span style="color:#3333ff;">bExOccured = True</span><br />
<span style="color:#3333ff;">Finally</span><br />
<span style="color:#3333ff;">If bExOccured = True Then</span><br />
<span style="color:#3333ff;">MsgBox(&#8220;Program executed with some  errors!!!&#8221;)</span><br />
<span style="color:#3333ff;">End If</span><br />
<span style="color:#3333ff;">End Try</span><br />
<span style="color:#3333ff;">End Sub</span></p>
<p>You can use filters to  restrict the type of files that can be opened. A sample of common filters is  given below</p>
<p><span style="color:#009900;">&#8216;MyFileOpen.Filter =  &#8220;Microsoft Word Documents (*.doc)|*.doc|Microsoft Word Documents  (*.rtf)|*.rtf&#8221;</span><br />
<span style="color:#009900;">&#8216;MyFileOpen.Filter =  &#8220;Image Files(*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF&#8221;</span><br />
<span style="color:#009900;">&#8216;MyFileOpen.Filter = &#8220;Microsoft Word Documents  (*.doc;*.rtf)|*.doc;*.rtf&#8221;</span></p>
<p><span style="color:#009900;">&#8216;MyFileOpen.Filter = &#8220;Microsoft Excel Workbooks  (*.xls)|*.xls&#8221;</span><br />
<span style="color:#009900;">&#8216;MyFileOpen.Filter =  &#8220;Microsoft Excel Addins (*.xla;*.xll)|*.xla;*.xll&#8221;</span><br />
<span style="color:#009900;">&#8216;MyFileOpen.Filter = &#8220;All files  (*.*)|*.*&#8221;</span><br />
<span style="color:#009900;">&#8216;MyFileOpen.Filter =  &#8220;Text files (*.txt)|*.txt&#8221;</span></p>
<p>This class allows you to check  whether a file exists and to open it. The ShowReadOnly property determines  whether a read-only check box appears in the dialog box. The ReadOnlyChecked  property indicates whether the read-only check box is checked.</p>
<p>Most of  the functionality for this class is found in the FileDialog  class.</p>
<p>Microsoft recommends that you use the OpenFileDialog and  SaveFileDialog components to provide a consistent and familiar user experience.  If you find it necessary to create your own file dialog boxes, Visual Basic 2005  does provide a DirListBox control as part of the Microsoft Visual Basic  Compatibility Runtime library.</p>
<p>For CommonDialog implementation in  VB6.0 refer <a href="http://vbadud.blogspot.com/2007/06/visual-basic-common-dialog.html">http://vbadud.blogspot.com/2007/06/visual-basic-common-dialog.html</a></p>
<p>Upgrade  Notes<br />
When a Visual Basic 6.0 application is upgraded to Visual Basic 2005,  any existing DirListBox controls are upgraded to the VB6.DirListBox control that  is provided as a part of the compatibility library  (Microsoft.VisualBasic.Compatibility).</p></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/openfiledialog-in-visual-basic-net.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-23T20:14:00-07:00">8:14  PM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=4348659657661766835" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=4348659657661766835" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/OpenFileDialog%20%20in%20Visual%20Basic%20.Net" rel="tag">OpenFileDialog in Visual Basic .Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/OpenFileDialog%20%20in%20Visual%20Basic%202005" rel="tag">OpenFileDialog in Visual Basic 2005</a>, <a href="http://dotnetdud.blogspot.com/search/label/OpenFileDialog%20Filters" rel="tag">OpenFileDialog Filters</a>, <a href="http://dotnetdud.blogspot.com/search/label/Select%20Word%20Document%20in%20VB.Net" rel="tag">Select Word Document in VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net%20OpenFileDialog" rel="tag">VB.Net OpenFileDialog</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB2005%20OpenFileDialog" rel="tag">VB2005 OpenFileDialog</a> </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=11&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/openfiledialog-in-visual-basic-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://bp0.blogger.com/_s2jU7girbyM/Rn3gfbusYjI/AAAAAAAAABY/K-iw2YBsaUA/s400/Form.gif" medium="image" />

		<media:content url="http://bp2.blogger.com/_s2jU7girbyM/Rn3gk7usYkI/AAAAAAAAABg/FbeqMsWYbkg/s400/Dialogs.gif" medium="image" />

		<media:content url="http://bp1.blogger.com/_s2jU7girbyM/Rn3gprusYlI/AAAAAAAAABo/jL1ZKDF0kJ8/s400/Tray.gif" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
		<item>
		<title>Opening &amp; Closing of Application using .Net / Create New process in .Net / Shell Function in .Net</title>
		<link>http://dotnetdud.wordpress.com/2007/12/25/opening-closing-of-application-using-net-create-new-process-in-net-shell-function-in-net/</link>
		<comments>http://dotnetdud.wordpress.com/2007/12/25/opening-closing-of-application-using-net-create-new-process-in-net-shell-function-in-net/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 02:06:12 +0000</pubDate>
		<dc:creator>vbadud</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://dotnetdud.wordpress.com/2007/12/25/opening-closing-of-application-using-net-create-new-process-in-net-shell-function-in-net/</guid>
		<description><![CDATA[
Opening  &#38; Closing Notepad using .Net

A program is not Userinterface and database connections  alone, it also needs to interact with other applications. Many a times, this  interaction happens internally, like updating Word Template, Printing out a  document etc, but there are times where one needs to open an document through  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=10&subd=dotnetdud&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="post hentry uncustomized-post-template"><a name="7053068745989454789"></a></p>
<h3 class="post-title entry-title"><a href="http://dotnetdud.blogspot.com/2007/06/opening-closing-notepad-using-net.html">Opening  &amp; Closing Notepad using .Net</a></h3>
<div class="post-body entry-content"><span style="font-weight:bold;color:#ff6600;"></span></p>
<p>A program is not Userinterface and database connections  alone, it also needs to interact with other applications. Many a times, this  interaction happens internally, like updating Word Template, Printing out a  document etc, but there are times where one needs to open an document through  the Application.</p>
<p>Let us have a sample app that opens a Notepad on click  of a command button. We have a sample form with a button (see below).<br />
<a href="http://bp0.blogger.com/_s2jU7girbyM/RoYFaWNj9yI/AAAAAAAAABw/hwv6uRNDMg4/s1600-h/Form.gif"><img src="http://bp0.blogger.com/_s2jU7girbyM/RoYFaWNj9yI/AAAAAAAAABw/hwv6uRNDMg4/s400/Form.gif" style="cursor:pointer;" border="0" /></a></p>
<p>Now add the process control from the Components Control  (see below)</p>
<p><a href="http://bp1.blogger.com/_s2jU7girbyM/RoYFjmNj9zI/AAAAAAAAAB4/8auDiuStxMU/s1600-h/ToolBox.gif"><img src="http://bp1.blogger.com/_s2jU7girbyM/RoYFjmNj9zI/AAAAAAAAAB4/8auDiuStxMU/s400/ToolBox.gif" style="cursor:pointer;" border="0" /></a></p>
<p>This control has no design features and will be used in  run-time and it straightway gets docked in the tray (see below)</p>
<p><a href="http://bp2.blogger.com/_s2jU7girbyM/RoYFn2Nj90I/AAAAAAAAACA/elNKTorj6Ek/s1600-h/Tray.gif"><img src="http://bp2.blogger.com/_s2jU7girbyM/RoYFn2Nj90I/AAAAAAAAACA/elNKTorj6Ek/s400/Tray.gif" style="cursor:pointer;" border="0" /></a></p>
<p>Change the following properties of the  control.</p>
<p><a href="http://bp0.blogger.com/_s2jU7girbyM/RoYFrWNj91I/AAAAAAAAACI/bF17FbZc18M/s1600-h/PropWindow.gif"><img src="http://bp0.blogger.com/_s2jU7girbyM/RoYFrWNj91I/AAAAAAAAACI/bF17FbZc18M/s400/PropWindow.gif" style="cursor:pointer;" border="0" /></a></p>
<p>This can also be changed during run  time.</p>
<p>Now in the Button Click event write the following  code:</p>
<p><span style="color:#3333ff;">Private Sub  ButtonNotepad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)  Handles loadNotepadButton.Click</span><br />
<span style="color:#3333ff;">&#8216;  http://dotnetdud.blogspot.com/</span><br />
<span style="color:#3333ff;">ProcessNotepad.EnableRaisingEvents =  True</span><br />
<span style="color:#3333ff;">ProcessNotepad.Start()</span></p>
<p><span style="color:#3333ff;">End Sub</span></p>
<p>The EnableRaisingEvents  property indicates whether the component should be notified when the operating  system has shut down a process. The EnableRaisingEvents property is used in  asynchronous processing to notify your application that a process has exited. To  force your application to synchronously wait for an exit event (which interrupts  processing of the application until the exit event has occurred), use the  WaitForExit method.</p>
<p>This will start the Notepad Application. If you want  receive the closure of application use the following event</p>
<p><span style="color:#3333ff;">Private Sub ProcessNotepad_Exited(ByVal sender As  System.Object, ByVal e As System.EventArgs) Handles  ProcessNotepad.Exited</span><br />
<span style="color:#3333ff;">&#8216; Coded for  http://dotnetdud.blogspot.com/</span><br />
<span style="color:#3333ff;">MessageBox.Show(&#8220;Notepad has been closed &#8220;, &#8220;Dot  Net Tips &amp; Tricks&#8221;, MessageBoxButtons.OK)</span><br />
<span style="color:#3333ff;">End Sub</span></p>
<p>If you want to close the  application use the kill method.</p>
<p><span style="color:#3333ff;">Private Sub ButtonClose_Click(ByVal sender As  System.Object, ByVal e As System.EventArgs) Handles  closeNotepadButton.Click</span><br />
<span style="color:#3333ff;">If  ProcessNotepad.HasExited = False Then</span><br />
<span style="color:#3333ff;">ProcessNotepad.Kill()</span><br />
<span style="color:#3333ff;">End If</span><br />
<span style="color:#3333ff;">End Sub</span></p>
<p>We have used Notepad, as  it is simple and easy. Try it with other stuff!!</p>
<p>Cheers<br />
Shasur</p></div>
<div class="post-footer">
<p class="post-footer-line post-footer-line-1"><span class="post-author vcard">Posted by <span class="fn">Shasur</span> </span><span class="post-timestamp">at <a href="http://dotnetdud.blogspot.com/2007/06/opening-closing-notepad-using-net.html" class="timestamp-link" title="permanent link" rel="bookmark"><abbr title="2007-06-30T00:22:00-07:00">12:22  AM</abbr></a> </span><span class="post-comment-link"><a href="http://www.blogger.com/comment.g?blogID=6497434045878013201&amp;postID=7053068745989454789" class="comment-link">0  comments</a> </span><span class="post-backlinks post-comment-link"></span><span class="post-icons"><span class="item-control blog-admin pid-24239361"><a href="http://www.blogger.com/post-edit.g?blogID=6497434045878013201&amp;postID=7053068745989454789" title="Edit Post"><img src="http://www.blogger.com/img/icon18_edit_allbkg.gif" class="icon-action" /> </a></span></span></p>
<p class="post-footer-line post-footer-line-2"><span class="post-labels">Labels:  <a href="http://dotnetdud.blogspot.com/search/label/Capture%20Closing%20of%20an%20application%20using%20VB.Net" rel="tag">Capture Closing of an application using VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/Open%20Process%20using%20Vb.net" rel="tag">Open Process using Vb.net</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB%202005%20Open%20Note%20pad%20appilcation" rel="tag">VB 2005 Open Note pad appilcation</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.Net" rel="tag">VB.Net</a>, <a href="http://dotnetdud.blogspot.com/search/label/VB.net%20EnableRaisingEvents" rel="tag">VB.net EnableRaisingEvents</a> </span></p>
<p class="post-footer-line post-footer-line-3">&nbsp;</p>
</div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotnetdud.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotnetdud.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnetdud.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnetdud.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnetdud.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnetdud.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnetdud.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnetdud.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnetdud.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnetdud.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnetdud.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnetdud.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnetdud.wordpress.com&blog=2211964&post=10&subd=dotnetdud&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dotnetdud.wordpress.com/2007/12/25/opening-closing-of-application-using-net-create-new-process-in-net-shell-function-in-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/de5fc3c7f573ab459e043ea3fc8e407a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">vbadud</media:title>
		</media:content>

		<media:content url="http://bp0.blogger.com/_s2jU7girbyM/RoYFaWNj9yI/AAAAAAAAABw/hwv6uRNDMg4/s400/Form.gif" medium="image" />

		<media:content url="http://bp1.blogger.com/_s2jU7girbyM/RoYFjmNj9zI/AAAAAAAAAB4/8auDiuStxMU/s400/ToolBox.gif" medium="image" />

		<media:content url="http://bp2.blogger.com/_s2jU7girbyM/RoYFn2Nj90I/AAAAAAAAACA/elNKTorj6Ek/s400/Tray.gif" medium="image" />

		<media:content url="http://bp0.blogger.com/_s2jU7girbyM/RoYFrWNj91I/AAAAAAAAACI/bF17FbZc18M/s400/PropWindow.gif" medium="image" />

		<media:content url="http://www.blogger.com/img/icon18_edit_allbkg.gif" medium="image" />
	</item>
	</channel>
</rss>