Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet Explorer Control keeps files open
Message
 
 
To
17/09/2004 05:01:23
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00943237
Message ID:
00943386
Views:
21
Christian,

I wonder if this is related to IE needing to be able to go back in history. What if you do your own go back before you open the new file? the pdf might be locked by the piggish acrobat reader which stays in memory even after you close it.

>We just built a file viewer user IE control and it works fine, except for a ennoying problem. The files are PDF or DOC and show normally in the control, but once a file has been displayed, it can't be deleted or renamed or moved. It seems there is a handle that keeps them open until we close the application. We made sure that the files are not displayed in the control before we try to move or delete them, but even after we close VFP, it takes 15 to 30 seconds before we can get access to them and delete them.
>
>Here is the code we use:
>
>
>...
>oIE.navigate(lcFile)
>
>... or
>oIE.navigate2(lcFile)
>...
>
>
>
>Does anyone know this problem?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform