V
VanS
Hello,
I have an app that uses a VB6 front end to an Excel/Word VBA app.When the vb
part starts up it searches for Excel, Word and VB temp files and deletes
them. This has worked fine before including on my Win XPN Pro/Office 2003
machine. But when I run it under a Virtual PC testbed of Win 2K/Office 2K
it's giving me errors.
When I run it under the exe or debug I get a "Run-time error 70. Permission
denied" as it tries to programmatically delete the Word temp files.
When I try to manually delete the Word temp file it gives an "Error deleting
File or Folder: Cannot delete (temp file name). There has been a sharing
violation. The source or destination file may be in use." Read only is not
set.
Any idea what wrong or how to fix? Is Win 2K pickier on permissions?
Thanks God bless
Van
I have an app that uses a VB6 front end to an Excel/Word VBA app.When the vb
part starts up it searches for Excel, Word and VB temp files and deletes
them. This has worked fine before including on my Win XPN Pro/Office 2003
machine. But when I run it under a Virtual PC testbed of Win 2K/Office 2K
it's giving me errors.
When I run it under the exe or debug I get a "Run-time error 70. Permission
denied" as it tries to programmatically delete the Word temp files.
When I try to manually delete the Word temp file it gives an "Error deleting
File or Folder: Cannot delete (temp file name). There has been a sharing
violation. The source or destination file may be in use." Read only is not
set.
Any idea what wrong or how to fix? Is Win 2K pickier on permissions?
Thanks God bless
Van