Path/File Access Error #75

mpaist
09-08-2003, 03:17 PM
Hello,

I've created an update application to make periodic changes to my end-user's database. I have used this application prior with no problems, and on my own pc (Win XP), but it bombs on other pcs - including my laptop running Win 98.

The last time I distributed the updates (update.exe, and assorted other files), I used the VB Setup wizard. But since this creates an entry in the Add/Remove Programs, I thought I would just create a self-extracting zip file for the pieces I need to add or overwrite.

The code is as follows:

Name App.Path & "\update.exe" As App.Path & "\update1.exe"

Yeah, I know the documentation says that you can't rename a file while it's open, but it does work when I run this on my pc in a secluded test area (not in runtime).

Any thoughts?

Regards,
Michelle

Banjo
09-08-2003, 04:30 PM
The documentation is correct. You can not rename it while it is running. Its is possible that WinXP does something clever by caching the change and actually enacting it when the exe is closed.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum