|
-
Feb 13th, 2000, 01:42 AM
#1
Thread Starter
Frenzied Member
I'm trying to copy files using the following code, but it doesn't work.
Dim FmPath As String
FmPath = "E:\progs\vb5\projekter\filemanager\setup\filer"
lblFil.Caption = DestDir & "\" & "comctl32.ocx"
FileCopy FmPath & "\" & "comctl32.ocx", DestDir & "\" & "comctl32.ocx"
------------------
Yours sincierly
CyberCarsten
http://home18.inet.tele.dk/cyber/
[email protected]
-
Feb 13th, 2000, 02:11 AM
#2
Is DestDir defined as a string? Does the file "E:\progs\vb5\projekter\filemanager\setup\filer\comctl32.ocx" exist? If both are true then it should work. If it doesn't please describe what goes wrong. Do you get an error? Does it seem like nothing happens?
------------------
Marty
What did the fish say when it hit the concrete wall?
> > > > > "Dam!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|