Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delete an opened file?
Message
From
28/04/2004 22:50:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00898847
Message ID:
00899193
Views:
27
 pdf_file    = "c:\MyPdf.pdf"
 pdf_handler = FOPEN(pdf_file, 12) && Trying to open file for Read & Write
 IF pdf_handler < 0
    MessageBox("PDF File is opened",0,"Warning")
    RETURN
 ENDIF
 FCLOSE(pdf_handler)
 ERASE (pdf_file
i get error "file is in use" on line fclose(pdf_handler)? fclose returns to .f.

pls help?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform