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

<channel>
	<title>Live with Dot Net &#187; VB .Net</title>
	<atom:link href="http://www.livewithdotnet.com/category/vb-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.livewithdotnet.com</link>
	<description>Just another Programming weblog</description>
	<lastBuildDate>Sat, 24 Jul 2010 18:59:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Write bunch of text to a file</title>
		<link>http://www.livewithdotnet.com/how-to-write-bunch-of-text-to-a-file/</link>
		<comments>http://www.livewithdotnet.com/how-to-write-bunch-of-text-to-a-file/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 21:30:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB .Net]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[Write text]]></category>

		<guid isPermaLink="false">http://www.livewithdotnet.com/?p=40</guid>
		<description><![CDATA[Here is one of the way to Write bunch of text to flat file:

1
2
3
4
5
6
7
8
9
10
11
12
Public Sub WriteFile&#40;ByVal sText As String, ByVal sFile As String, Optional ByVal bAppendMode As Boolean = True&#41;
    Try
        Dim Stream_Writer As New IO.StreamWriter&#40;sFile, bAppendMode&#41;
        Stream_Writer.Write&#40;sText [...]]]></description>
		<wfw:commentRss>http://www.livewithdotnet.com/how-to-write-bunch-of-text-to-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Check whether given file exists or not</title>
		<link>http://www.livewithdotnet.com/how-to-check-whether-given-file-exists-or-not/</link>
		<comments>http://www.livewithdotnet.com/how-to-check-whether-given-file-exists-or-not/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 21:27:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB .Net]]></category>
		<category><![CDATA[code to Check]]></category>
		<category><![CDATA[file exists or not]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[VB.Net]]></category>

		<guid isPermaLink="false">http://www.livewithdotnet.com/?p=38</guid>
		<description><![CDATA[Here is the code to Check whether the given file exists or not in VB.Net:

1
2
3
Public Function IsFileExists&#40;ByVal strFileName As String&#41; As Boolean
    IsFileExists = System.IO.File.Exists&#40;strFileName&#41;
End Function

]]></description>
		<wfw:commentRss>http://www.livewithdotnet.com/how-to-check-whether-given-file-exists-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get System&#8217;s active printer name</title>
		<link>http://www.livewithdotnet.com/how-to-get-systems-active-printer-name/</link>
		<comments>http://www.livewithdotnet.com/how-to-get-systems-active-printer-name/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 21:23:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB .Net]]></category>
		<category><![CDATA[active printer name]]></category>
		<category><![CDATA[get Systems active printer name]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[printer]]></category>

		<guid isPermaLink="false">http://www.livewithdotnet.com/?p=35</guid>
		<description><![CDATA[Here is the code to get the System's active printer name:

1
2
3
4
    Private Function GetActivePrinter&#40;&#41; As String
        Dim ps As New Drawing.Printing.PrinterSettings&#40;&#41;
        Return ps.PrinterName
    End Function

]]></description>
		<wfw:commentRss>http://www.livewithdotnet.com/how-to-get-systems-active-printer-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using XML Nodes and implement RegEx in VB.Net</title>
		<link>http://www.livewithdotnet.com/using-xml-nodes-and-implement-regex-in-vbnet/</link>
		<comments>http://www.livewithdotnet.com/using-xml-nodes-and-implement-regex-in-vbnet/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 16:19:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB .Net]]></category>
		<category><![CDATA[evalute the string using the Regular expression]]></category>
		<category><![CDATA[Node list]]></category>
		<category><![CDATA[RegEx]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[Retrive the information from the XML File]]></category>
		<category><![CDATA[XML Dom]]></category>

		<guid isPermaLink="false">http://www.livewithdotnet.com/?p=23</guid>
		<description><![CDATA[Retrive the information from the XML File and evalute the string using the Regular expression.
XML File which we will iterate and retrive data from:
Pattern.xml:-

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34; ?&#62; 
- &#60;MatchingCriterias&#62;
- &#60;CriteriaForAllPages&#62;
  &#60;MatchingCriteria Value=&#34;Chksum: \d(2,)&#34; /&#62; 
  &#60;/CriteriaForAllPages&#62;
- &#60;CriteriaForDeletedPages&#62;
- &#60;Criteria Name=&#34;DocHeaderPage&#34;&#62;
  &#60;MatchingCriteria Value=&#34;DOC \d+ \:?\s?Header&#34; /&#62; 
  &#60;/Criteria&#62;
- &#60;Criteria Name=&#34;SubmissionHeaderPage&#34;&#62;
  &#60;MatchingCriteria Value=&#34;JobNumber:&#34; [...]]]></description>
		<wfw:commentRss>http://www.livewithdotnet.com/using-xml-nodes-and-implement-regex-in-vbnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to import MS SQL Server Data into MS Access database</title>
		<link>http://www.livewithdotnet.com/how-to-import-ms-sql-server-data-into-ms-access-database/</link>
		<comments>http://www.livewithdotnet.com/how-to-import-ms-sql-server-data-into-ms-access-database/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 18:57:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB .Net]]></category>
		<category><![CDATA[DB Query]]></category>
		<category><![CDATA[dot net programming]]></category>
		<category><![CDATA[dotnet programming]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[import data]]></category>
		<category><![CDATA[MS Access database]]></category>
		<category><![CDATA[MS SQL Server Data]]></category>
		<category><![CDATA[programming visual basic]]></category>
		<category><![CDATA[sample code]]></category>
		<category><![CDATA[text code]]></category>
		<category><![CDATA[visual basic net code]]></category>

		<guid isPermaLink="false">http://www.livewithdotnet.com/?p=3</guid>
		<description><![CDATA[The following simple code will import the MS SQL Server data/table into an Access Database. It uses ADO.

1
2
3
4
5
6
7
'Set Reference to ADODB
Private Sub Import_MS_SQL_Server_Data_Into_MS_Access&#40;&#41;
    Dim cn As New Adodb.Connection
    cn.Open &#34;Driver={Microsoft Access Driver (*.mdb)};Dbq=Your_Access_Database.mdb;DefaultDir=C:\test;Uid=admin;Pwd=admin;&#34;
    cn.Execute &#34;SELECT * INTO [table_data] FROM [ODBC;Driver=SQL Server; SERVER=MySQL_Server;DATABASE=MySQL_DB;UID=MySQL_User;PWD=MySQL_Password;].[table_data];&#34;
    cn [...]]]></description>
		<wfw:commentRss>http://www.livewithdotnet.com/how-to-import-ms-sql-server-data-into-ms-access-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
