Hi eveyone
Plaese I need some help.
I am writing a small application in Visual Basic 6.0. This applciation should be compatible with windows 98, Millenium, 2000, and XP.
The following task are:
1.- Create a folder(Accounting I) in the Desktop
2.- Copy two executables files to the folder that was create on the Desktop
a) c:\Sales\Account1.exe
b) c:\Sales\Account2.exe
====I hve a code but it gives me an error Path not found. What I am doing wrong?. Please, any tips it will be appreciate it. Thanks in advance for your time
Daniel
Hollywood, FL
==================
HERE IS THE CODE |
==================
Public Sub CreateAccountingFolder()
Dim fso As New FileSystemObject
If Not fso.FolderExists("\Desktop\Accouting I"
Then
fso.CreateFolder "\Desktop\Accounting I"
End If
End Sub
Plaese I need some help.
I am writing a small application in Visual Basic 6.0. This applciation should be compatible with windows 98, Millenium, 2000, and XP.
The following task are:
1.- Create a folder(Accounting I) in the Desktop
2.- Copy two executables files to the folder that was create on the Desktop
a) c:\Sales\Account1.exe
b) c:\Sales\Account2.exe
====I hve a code but it gives me an error Path not found. What I am doing wrong?. Please, any tips it will be appreciate it. Thanks in advance for your time
Daniel
Hollywood, FL
==================
HERE IS THE CODE |
==================
Public Sub CreateAccountingFolder()
Dim fso As New FileSystemObject
If Not fso.FolderExists("\Desktop\Accouting I"
fso.CreateFolder "\Desktop\Accounting I"
End If
End Sub