<?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: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>
	<pubDate>Sun, 05 Apr 2009 21:57:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</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>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
Private Sub Form_Load()
MsgBox FontExists(&amp;#8221;ARIAL&amp;#8221;)
End Sub


Bookmark It
























































Hide Sites



$$('div.d94').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/active-window-title.php' rel='bookmark' title='Permanent Link: active window title'&gt;active window title&lt;/a&gt; &lt;small&gt;Private Declare Function GetForegroundWindow Lib &amp;#8220;user32&amp;#8243; () As Long Private...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>&amp;#8216;Add a list box to the form and then add a reference to the Microsoft Scripting Runtime
Private Sub Form_Load()
Dim fldr As Folder
Dim fso As New FileSystemObject
Dim drv As Drive
Set drv = fso.GetDrive(fso.GetDriveName(&amp;#8221;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; [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/delete-files-permanently.php' rel='bookmark' title='Permanent Link: Delete files permanently'&gt;Delete files permanently&lt;/a&gt; &lt;small&gt;Private Sub Command1_Click() On Error Resume Next Dim strAsk As...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>&amp;#8216;Add a list box to the form and then add a reference to the Microsoft Scripting Runtime
Private Sub Form_Load()
Dim fldr As Folder
Dim fso As New FileSystemObject
Dim drv As Drive
Set drv = fso.GetDrive(fso.GetDriveName(&amp;#8221;d:&amp;#8221;))
MsgBox (&amp;#8221;File system is &amp;#8221; &amp;#038; drv.FileSystem)
End Sub


Bookmark It
























































Hide Sites



$$('div.d92').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

Related posts:File system object example &amp;#8216;Add a list box to [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/file-system-object-example.php' rel='bookmark' title='Permanent Link: File system object example'&gt;File system object example&lt;/a&gt; &lt;small&gt;&amp;#8216;Add a list box to the form and then add...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/aspopencsv.php' rel='bookmark' title='Permanent Link: Display a CSV file'&gt;Display a CSV file&lt;/a&gt; &lt;small&gt;Display a CSV file CSV files are common formats to...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/check-whether-a-file-exists.php' rel='bookmark' title='Permanent Link: check whether a file exists'&gt;check whether a file exists&lt;/a&gt; &lt;small&gt;Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.FileExists(&amp;#8221;f:test.txt&amp;#8221;)...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>Private Sub Form_Load()
Dim objfso As New FileSystemObject
If objfso.FileExists(&amp;#8221;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
End Sub


Bookmark It
























































Hide Sites



$$('div.d91').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

Related posts:checks whether a drive exists Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.DriveExists(&amp;#8221;h:&amp;#8221;)...check whether you can play audio files Private Declare Function waveOutGetNumDevs Lib &amp;#8220;winmm.dll&amp;#8221; [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/checks-whether-a-drive-exists.php' rel='bookmark' title='Permanent Link: checks whether a drive exists'&gt;checks whether a drive exists&lt;/a&gt; &lt;small&gt;Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.DriveExists(&amp;#8221;h:&amp;#8221;)...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/check-whether-you-can-play-audio-files.php' rel='bookmark' title='Permanent Link: check whether you can play audio files'&gt;check whether you can play audio files&lt;/a&gt; &lt;small&gt;Private Declare Function waveOutGetNumDevs Lib &amp;#8220;winmm.dll&amp;#8221; () As Long Private...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/copy-a-text-file.php' rel='bookmark' title='Permanent Link: copy a text file'&gt;copy a text file&lt;/a&gt; &lt;small&gt;Private Sub Form_Load() Dim objfso As New FileSystemObject objfso.CopyFile &amp;#8220;D:Test.txt&amp;#8221;,...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>Public Function Factorial(ByVal Factor As Byte) As Variant
On Error GoTo ErrorHandler
If Factor = 0 Then
    Factorial = 1
Else
    Factorial = Factor * Factorial(Factor - 1)
End If
Exit Function
ErrorHandler:
MsgBox Err.Description
End Function
Private Sub Form_Load()
MsgBox Factorial(3)
End Sub


Bookmark It
























































Hide Sites



$$('div.d90').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

Related posts:delete a folder Dim strDir As String Private Sub [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/delete-a-folder.php' rel='bookmark' title='Permanent Link: delete a folder'&gt;delete a folder&lt;/a&gt; &lt;small&gt;Dim strDir As String Private Sub Command1_Click() On Error GoTo...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/get-drive-serial-number.php' rel='bookmark' title='Permanent Link: get drive serial number'&gt;get drive serial number&lt;/a&gt; &lt;small&gt;Private Const MAX_FILENAME_LEN = 256 Private Declare Function GetVolumeInformation&amp;#038; Lib...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/circular-form.php' rel='bookmark' title='Permanent Link: circular form'&gt;circular form&lt;/a&gt; &lt;small&gt;Private Declare Function CreateEllipticRgn Lib &amp;#8220;gdi32&amp;#8243; (ByVal X1 As Long,...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>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 [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/get-drive-volume-information.php' rel='bookmark' title='Permanent Link: Get drive volume information'&gt;Get drive volume information&lt;/a&gt; &lt;small&gt;Private Declare Function GetVolumeInformation Lib &amp;#8220;kernel32&amp;#8243; Alias &amp;#8220;GetVolumeInformationA&amp;#8221; (ByVal lpRootPathName...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/active-window-title.php' rel='bookmark' title='Permanent Link: active window title'&gt;active window title&lt;/a&gt; &lt;small&gt;Private Declare Function GetForegroundWindow Lib &amp;#8220;user32&amp;#8243; () As Long Private...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/change-screen-resolution.php' rel='bookmark' title='Permanent Link: change screen resolution'&gt;change screen resolution&lt;/a&gt; &lt;small&gt;Public Const EWX_LOGOFF = 0 Public Const EWX_SHUTDOWN = 1...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>Private Sub Form_Load()
Dim objfso As New FileSystemObject
If objfso.DriveExists(&amp;#8221;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
End Sub


Bookmark It
























































Hide Sites



$$('div.d88').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

Related posts:check whether a file exists Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.FileExists(&amp;#8221;f:test.txt&amp;#8221;)...check whether you can play audio files Private Declare Function waveOutGetNumDevs Lib &amp;#8220;winmm.dll&amp;#8221; [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/check-whether-a-file-exists.php' rel='bookmark' title='Permanent Link: check whether a file exists'&gt;check whether a file exists&lt;/a&gt; &lt;small&gt;Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.FileExists(&amp;#8221;f:test.txt&amp;#8221;)...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/check-whether-you-can-play-audio-files.php' rel='bookmark' title='Permanent Link: check whether you can play audio files'&gt;check whether you can play audio files&lt;/a&gt; &lt;small&gt;Private Declare Function waveOutGetNumDevs Lib &amp;#8220;winmm.dll&amp;#8221; () As Long Private...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/font-exists.php' rel='bookmark' title='Permanent Link: font exists'&gt;font exists&lt;/a&gt; &lt;small&gt;Public Function FontExists(FontName As String) As Boolean Dim oFont As...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>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
Sub Disable(blnDisable As Boolean)
result = SystemParametersInfo(97, blnDisable, CStr(1), 0)
End Sub


Bookmark It
























































Hide Sites



$$('div.d87').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); 

Related posts:Change the windows wallpaper Declare Function SystemParametersInfo Lib &amp;#8220;user32&amp;#8243; Alias &amp;#8220;SystemParametersInfoA&amp;#8221; (ByVal uAction As...active [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/change-the-windows-wallpaper.php' rel='bookmark' title='Permanent Link: Change the windows wallpaper'&gt;Change the windows wallpaper&lt;/a&gt; &lt;small&gt;Declare Function SystemParametersInfo Lib &amp;#8220;user32&amp;#8243; Alias &amp;#8220;SystemParametersInfoA&amp;#8221; (ByVal uAction As...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/active-window-title.php' rel='bookmark' title='Permanent Link: active window title'&gt;active window title&lt;/a&gt; &lt;small&gt;Private Declare Function GetForegroundWindow Lib &amp;#8220;user32&amp;#8243; () As Long Private...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/get-drive-serial-number.php' rel='bookmark' title='Permanent Link: get drive serial number'&gt;get drive serial number&lt;/a&gt; &lt;small&gt;Private Const MAX_FILENAME_LEN = 256 Private Declare Function GetVolumeInformation&amp;#038; Lib...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>Dim strDir As String

Private Sub Command1_Click()
On Error GoTo ErrHandler:
strDir = InputBox(&amp;#8221;Enter the directory you wish to remove&amp;#8221;, &amp;#8220;Directory&amp;#8221;)
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


Bookmark It
























































Hide Sites



$$('div.d86').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/delete-files-permanently.php' rel='bookmark' title='Permanent Link: Delete files permanently'&gt;Delete files permanently&lt;/a&gt; &lt;small&gt;Private Sub Command1_Click() On Error Resume Next Dim strAsk As...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<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>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
12-12-09
12/12/09
&amp;#60;form method =&amp;#8221;post&amp;#8221; action=&amp;#8221;&amp;#60;%= Request.ServerVariables(&amp;#8221;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;%
Dim strDate , blnValid , dteDate
If Request.ServerVariables(&amp;#8221;CONTENT_LENGTH&amp;#8221;) &amp;#60;&amp;#62;0 Then
strDate [...]


Related posts:&lt;ol&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/date-and-time.php' rel='bookmark' title='Permanent Link: Date and Time'&gt;Date and Time&lt;/a&gt; &lt;small&gt;Date and Time Knowing how to use the various date...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/displaying-the-date-and-time-using-the-api.php' rel='bookmark' title='Permanent Link: Displaying the Date and time using the API'&gt;Displaying the Date and time using the API&lt;/a&gt; &lt;small&gt;Windows API example in Visual Basic number 2 Displaying the...&lt;/small&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='http://tutorials.programmingsite.co.uk/aspcreatexml.php' rel='bookmark' title='Permanent Link: Create an XML file'&gt;Create an XML file&lt;/a&gt; &lt;small&gt;In this example we are going to create a simple...&lt;/small&gt;&lt;/li&gt;&lt;/ol&gt;

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>
		<feedburner:origLink>http://tutorials.programmingsite.co.uk/aspvaliddate.php</feedburner:origLink></item>
	</channel>
</rss>
