villny123
asked on
Copying files from network drives to client.
Hi,
I am trying to copy dll files from a network drive to client machines for my appl. I first unregister the local copies, copy the files, then register them. It was easier for the users for me to use code than to have then run an install.
The following code works with clients running xp, but not win98 (statement hangs):
Dim fso As new FileSystemObject
fso.CopyFolder "J:\MyApp\*", "C:\Program Files\", True
I also tried filecopy but I got err code 70, "Access denied" on both xp and win98 clients.
Dim fso As new FileSystemObject
fso.CopyFile "J:\MyApp\DLLa", "C:\Program Files\MyApp\DLLa", True
Any help would be appreciated.
Thanks.
Mike
I am trying to copy dll files from a network drive to client machines for my appl. I first unregister the local copies, copy the files, then register them. It was easier for the users for me to use code than to have then run an install.
The following code works with clients running xp, but not win98 (statement hangs):
Dim fso As new FileSystemObject
fso.CopyFolder "J:\MyApp\*", "C:\Program Files\", True
I also tried filecopy but I got err code 70, "Access denied" on both xp and win98 clients.
Dim fso As new FileSystemObject
fso.CopyFile "J:\MyApp\DLLa", "C:\Program Files\MyApp\DLLa", True
Any help would be appreciated.
Thanks.
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your welcome.
ASKER
Thanks again!