<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Programmingsite tutorials</title>
	
	<link>http://tutorials.programmingsite.co.uk</link>
	<description>Tutorial section of programmingsite</description>
	<lastBuildDate>Sun, 05 Apr 2009 21:57:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ProgrammingsiteTutorials" /><feedburner:info uri="programmingsitetutorials" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>font exists</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/OvY3Y5_YpZQ/font-exists.php</link>
		<comments>http://tutorials.programmingsite.co.uk/font-exists.php#comments</comments>
		<pubDate>Sat, 14 Mar 2009 05:33:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/font-exists.php</guid>
		<description>&lt;p&gt;Public Function FontExists(FontName As String) As Boolean
    Dim oFont As New StdFont
    Dim bAns As Boolean
    oFont.Name = FontName
    bAns = StrComp(FontName, oFont.Name, vbTextCompare) = 0
    FontExists = bAns
End Function&lt;/p&gt;
&lt;p&gt;Private Sub Form_Load()
MsgBox FontExists(&amp;#8220;ARIAL&amp;#8221;)
End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d94').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/OvY3Y5_YpZQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/font-exists.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/font-exists.php</feedburner:origLink></item>
		<item>
		<title>File system object example</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/docknWs4KB0/file-system-object-example.php</link>
		<comments>http://tutorials.programmingsite.co.uk/file-system-object-example.php#comments</comments>
		<pubDate>Fri, 13 Mar 2009 03:38:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/file-system-object-example.php</guid>
		<description>&lt;p&gt;&amp;#8216;Add a list box to the form and then add a reference to the Microsoft Scripting Runtime&lt;/p&gt;
&lt;p&gt;Private Sub Form_Load()
Dim fldr As Folder
Dim fso As New FileSystemObject
Dim drv As Drive
Set drv = fso.GetDrive(fso.GetDriveName(&amp;#8220;d:&amp;#8221;))
With List1
    .AddItem &amp;#8220;Available space: &amp;#8221; &amp;#038; FormatNumber(drv.AvailableSpace / 1024, 0) &amp;#038; &amp;#8221; BK&amp;#8221;
    .AddItem &amp;#8220;Drive letter: &amp;#8221; [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/docknWs4KB0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/file-system-object-example.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/file-system-object-example.php</feedburner:origLink></item>
		<item>
		<title>Display the filesystem of a drive</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/vt4IjKT2rzY/display-the-filesystem-of-a-drive.php</link>
		<comments>http://tutorials.programmingsite.co.uk/display-the-filesystem-of-a-drive.php#comments</comments>
		<pubDate>Thu, 12 Mar 2009 01:32:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/display-the-filesystem-of-a-drive.php</guid>
		<description>&lt;p&gt;&amp;#8216;Add a list box to the form and then add a reference to the Microsoft Scripting Runtime&lt;/p&gt;
&lt;p&gt;Private Sub Form_Load()
Dim fldr As Folder
Dim fso As New FileSystemObject
Dim drv As Drive
Set drv = fso.GetDrive(fso.GetDriveName(&amp;#8220;d:&amp;#8221;))
MsgBox (&amp;#8220;File system is &amp;#8221; &amp;#038; drv.FileSystem)&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d92').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

&lt;p&gt;No related posts.&lt;/p&gt;
&lt;p&gt;Related posts brought to you by Yet Another [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/vt4IjKT2rzY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/display-the-filesystem-of-a-drive.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/display-the-filesystem-of-a-drive.php</feedburner:origLink></item>
		<item>
		<title>check whether a file exists</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/KYA5OCcYPLw/check-whether-a-file-exists.php</link>
		<comments>http://tutorials.programmingsite.co.uk/check-whether-a-file-exists.php#comments</comments>
		<pubDate>Tue, 10 Mar 2009 23:41:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/check-whether-a-file-exists.php</guid>
		<description>&lt;p&gt;Private Sub Form_Load()&lt;/p&gt;
&lt;p&gt;Dim objfso As New FileSystemObject
If objfso.FileExists(&amp;#8220;f:test.txt&amp;#8221;) Then
MsgBox &amp;#8220;The file exists&amp;#8221;, vbInformation
Else
MsgBox &amp;#8220;The file does not exist&amp;#8221;, vbInformation
End If&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d91').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

&lt;p&gt;No related posts.&lt;/p&gt;
&lt;p&gt;Related posts brought to you by Yet Another Related Posts Plugin.&lt;/p&gt;


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/KYA5OCcYPLw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/check-whether-a-file-exists.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/check-whether-a-file-exists.php</feedburner:origLink></item>
		<item>
		<title>factorial function</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/lgCizgQWCj4/factorial-function.php</link>
		<comments>http://tutorials.programmingsite.co.uk/factorial-function.php#comments</comments>
		<pubDate>Mon, 09 Mar 2009 21:58:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/factorial-function.php</guid>
		<description>&lt;p&gt;Public Function Factorial(ByVal Factor As Byte) As Variant&lt;/p&gt;
&lt;p&gt;On Error GoTo ErrorHandler
If Factor = 0 Then
    Factorial = 1
Else
    Factorial = Factor * Factorial(Factor &amp;#8211; 1)
End If
Exit Function&lt;/p&gt;
&lt;p&gt;ErrorHandler:
MsgBox Err.Description
End Function&lt;/p&gt;
&lt;p&gt;Private Sub Form_Load()
MsgBox Factorial(3)
End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d90').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

&lt;p&gt;No related posts.&lt;/p&gt;
&lt;p&gt;Related posts brought to you by Yet Another [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/lgCizgQWCj4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/factorial-function.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/factorial-function.php</feedburner:origLink></item>
		<item>
		<title>get drive serial number</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/SOJxHpeos6k/get-drive-serial-number.php</link>
		<comments>http://tutorials.programmingsite.co.uk/get-drive-serial-number.php#comments</comments>
		<pubDate>Sun, 08 Mar 2009 20:16:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/get-drive-serial-number.php</guid>
		<description>&lt;p&gt;Private Const MAX_FILENAME_LEN = 256
Private Declare Function GetVolumeInformation&amp;#038; Lib &amp;#8220;kernel32&amp;#8243; Alias &amp;#8220;GetVolumeInformationA&amp;#8221; _
   (ByVal lpRootPathName As String, ByVal pVolumeNameBuffer As String, _
    ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _
    lpMaximumComponentLength As Long, lpFileSystemFlags As Long, _
    ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/SOJxHpeos6k" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/get-drive-serial-number.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/get-drive-serial-number.php</feedburner:origLink></item>
		<item>
		<title>checks whether a drive exists</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/fJipO3rPGTk/checks-whether-a-drive-exists.php</link>
		<comments>http://tutorials.programmingsite.co.uk/checks-whether-a-drive-exists.php#comments</comments>
		<pubDate>Sat, 07 Mar 2009 17:37:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/checks-whether-a-drive-exists.php</guid>
		<description>&lt;p&gt;Private Sub Form_Load()&lt;/p&gt;
&lt;p&gt;Dim objfso As New FileSystemObject
If objfso.DriveExists(&amp;#8220;h:&amp;#8221;) Then
MsgBox &amp;#8220;The Drive Exists&amp;#8221;, vbInformation
Else
MsgBox &amp;#8220;The Drive does not exist&amp;#8221;, vbInformation
End If&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d88').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

&lt;p&gt;No related posts.&lt;/p&gt;
&lt;p&gt;Related posts brought to you by Yet Another Related Posts Plugin.&lt;/p&gt;


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/fJipO3rPGTk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/checks-whether-a-drive-exists.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/checks-whether-a-drive-exists.php</feedburner:origLink></item>
		<item>
		<title>disable CTRL + ALT + DEL</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/s-OjXeF5TNY/disable-ctrl-alt-del.php</link>
		<comments>http://tutorials.programmingsite.co.uk/disable-ctrl-alt-del.php#comments</comments>
		<pubDate>Fri, 06 Mar 2009 15:59:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/disable-ctrl-alt-del.php</guid>
		<description>&lt;p&gt;Declare Function SystemParametersInfo Lib &amp;#8220;user32&amp;#8243; Alias &amp;#8220;SystemParametersInfoA&amp;#8221; (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long&lt;/p&gt;
&lt;p&gt;Sub Disable(blnDisable As Boolean)&lt;/p&gt;
&lt;p&gt;result = SystemParametersInfo(97, blnDisable, CStr(1), 0)&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d87').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

&lt;p&gt;No related posts.&lt;/p&gt;
&lt;p&gt;Related posts brought to you by Yet Another Related Posts Plugin.&lt;/p&gt;


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/s-OjXeF5TNY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/disable-ctrl-alt-del.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/disable-ctrl-alt-del.php</feedburner:origLink></item>
		<item>
		<title>delete a folder</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/TEdDTDmRZhk/delete-a-folder.php</link>
		<comments>http://tutorials.programmingsite.co.uk/delete-a-folder.php#comments</comments>
		<pubDate>Thu, 05 Mar 2009 13:22:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/delete-a-folder.php</guid>
		<description>&lt;p&gt;Dim strDir As String&lt;/p&gt;
&lt;p&gt;
Private Sub Command1_Click()
On Error GoTo ErrHandler:
strDir = InputBox(&amp;#8220;Enter the directory you wish to remove&amp;#8221;, &amp;#8220;Directory&amp;#8221;)&lt;/p&gt;
&lt;p&gt;RmDir (strDir)
MsgBox &amp;#8220;Directory &amp;#8221; &amp;#038; strDirectory &amp;#038; &amp;#8221; has been removed&amp;#8221;, vbSystemModal + vbOKOnly, &amp;#8220;Directory Removed&amp;#8221;
ErrHandler:
MsgBox &amp;#8220;This directory does not exist, please re-enter a valid path&amp;#8221;, vbExclamation + vbOKOnly, &amp;#8220;Invalid Directory&amp;#8221;
End Sub&lt;/p&gt;


Bookmark It










































Hide Sites



$$('div.d86').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/TEdDTDmRZhk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/delete-a-folder.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/delete-a-folder.php</feedburner:origLink></item>
		<item>
		<title>Check A Date Is Valid</title>
		<link>http://feedproxy.google.com/~r/ProgrammingsiteTutorials/~3/mC4wBO6g2hE/aspvaliddate.php</link>
		<comments>http://tutorials.programmingsite.co.uk/aspvaliddate.php#comments</comments>
		<pubDate>Wed, 04 Mar 2009 19:37:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[CDate]]></category>
		<category><![CDATA[Response.Write]]></category>
		<category><![CDATA[ServerVariables]]></category>

		<guid isPermaLink="false">http://tutorials.programmingsite.co.uk/?p=152</guid>
		<description>&lt;p&gt;This example displays a form on a page . The user then enters a date , if the date is invalid then a message will be displayed on the screen . Examples of valid dates are as follows&lt;/p&gt;
&lt;p&gt;12-12-09&lt;/p&gt;
&lt;p&gt;12/12/09
&amp;#60;form method =&amp;#8221;post&amp;#8221; action=&amp;#8221;&amp;#60;%= Request.ServerVariables(&amp;#8220;SCRIPT_NAME&amp;#8221;) %&amp;#62;&amp;#8221;&amp;#62;
&amp;#60;input type =&amp;#8221;text&amp;#8221; name=&amp;#8221;date&amp;#8221;&amp;#62;&amp;#60;br&amp;#62;
&amp;#60;input type=&amp;#8221;submit&amp;#8221;&amp;#62;
&amp;#60;/form&amp;#62;
&amp;#60;%&lt;/p&gt;
&lt;p&gt;Dim strDate , blnValid , dteDate
If Request.ServerVariables(&amp;#8220;CONTENT_LENGTH&amp;#8221;) &amp;#60;&amp;#62;0 Then
strDate [...]


No related posts.

Related posts brought to you by &lt;a href='http://mitcho.com/code/yarpp/'&gt;Yet Another Related Posts Plugin&lt;/a&gt;.&lt;img src="http://feeds.feedburner.com/~r/ProgrammingsiteTutorials/~4/mC4wBO6g2hE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://tutorials.programmingsite.co.uk/aspvaliddate.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/aspvaliddate.php</feedburner:origLink></item>
	</channel>
</rss>
