Delete an empty directory
Delete an empty directory
‘Replace ‘c:\testdir’ with the directory you want to remove ‘the directory must be empty before it can be deleted
Private Sub Form_Load() RmDir c:\testdir End Sub
Bookmark It
|
|||||
|
Delete an empty directory Delete an empty directory ‘Replace ‘c:\testdir’ with the directory you want to remove ‘the directory must be empty before it can be deleted Private Sub Form_Load() RmDir c:\testdir End Sub Bookmark It Launch a file with associated program Launch a file with associated program ‘This example will show you how to launch a file with his associate program. ‘In the example below test.mp3 would open with Winamp #If Win32 Then Declare Function ShellExecute Lib shell32.dll Alias ShellExecuteA _ (ByVal hwnd As Long Bookmark It Launch format dialog box Launch format dialog box ‘launch Format dialog Call SHELL(rundll32.exe shell32.dll Bookmark It Copy contents of Drive A to Drive A Open copy disk dialog ‘Copy disk to disk dialog ‘This copies the contents of Drive A (0) to Drive A (0) Call SHELL(rundll32.exe diskcopy.dll Bookmark It Open display properties background Open display properties background ‘Display Properties Bookmark It |
|||||
|
Copyright © 2012 Programmingsite : source code - All Rights Reserved |
|||||