![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi:
Outlook has a lock on the FRMCACHE.DAT file that it doesn't release until it is closed. My script closes Outlook and then attempts to delete the FRMCACHE.DAT file. Depending on how long Outlook takes to close, my script can sometimes execute the delete line before the lock is released, generating a runtime "permission denied" abend. Since Outlook can close at varying speeds what I'd like to do is delay execution of the delete statement until the lock is free. Two solutions to this probelm come to mind. 1. Is there a way programatically to tell in VB Script if there is a lock on a file? What is the syntax? I would think that testing the lock property in aloop until it is freed would work. 2. Pausing execution for a fixed interval. Is there a VB Script "Pause", "Delay" or "Break" statement for runtime? I've tried all of these and nothing works. Thanks for your help. |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANN:PlainSight Desktop Calendar 2.1 Released | [email protected] | Outlook - Calandaring | 1 | March 5th 06 09:16 PM |
ANN:PlainSight Desktop Calendar 2.1 Released | [email protected] | Outlook - General Queries | 1 | March 5th 06 09:01 PM |
what will OE users do when IE 7 is released? | David DeRolph | Outlook Express | 4 | February 15th 06 10:01 PM |
NK2csv v.06 beta is released | Josh | Outlook - General Queries | 0 | January 16th 06 08:01 PM |
NK2csv v.06 beta is released | Vinas | Outlook - Using Contacts | 0 | January 16th 06 07:34 PM |