New topic: IsFileOpen... realbasic equivalent
<http://forums.realsoftware.com/viewtopic.php?t=39820> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message jasmatuphcreations Post subject: IsFileOpen... realbasic equivalentPosted: Wed Jul 13, 2011 12:45 am Joined: Fri May 07, 2010 9:40 pm Posts: 36 I'm trying to find a function to check whether or not a file (external pdf) has finished loading. in VB isFileOpen(did the trick), however references to IsWritable, FileInUse error are not helping. Why you ask. I have a file created on the fly (xfdf) with the validated parameters to open the related PDF file, for security reasons once this file (PDF) is open, you can manually delete the xfdf file, however I want to automatically delete it. I can only get it to work by adding a question to delete file (hence letting the external PDF finally load), then it works ok. I dont want to put a specific doEvents delay as the size of the end file will be 100 bigger than my test file, plus peoples PCs/MAC are all different speeds. Any IfFileOpen or finishedLoading for an external PDF suggestions? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
