Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual FoxPro Shutdown under Citrix
Message
From
20/08/2005 11:02:13
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
19/08/2005 18:40:57
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01039911
Message ID:
01042486
Views:
30
>>Few bits, though: I'm not using RUN command anywhere. I get much more control over the execution of the external code using late Ed Rauh's API_APPRUN class
>(download #9477) - which is really simple and doesn't get influenced by bad .pif files. Also, if you're creating an Excel spreadsheet, use Automation:
>
>
>I dnot know where the RUN Command is coming from.
>I am not using a RUN command and I am instantiating EXCEL with
>Newobject
>
>oExcel1=NEWOBJECT("Excel.Application")
>
>*Then it set a default path based on some setting and assign it as follows:
>
>oExcel1.DefaultFilePath= lcNewDefDir
>
>* Open a workbook with this EXCEL Template
>mXLSFile = "\\lrd1fil2\vfpprod\icu\libs\autogei.xlt"
>oExcel.Workbooks.OPEN(mXLSFile)

Here you may try to open the template readonly:

oExcel.Workbooks.OPEN(mXLSFile, 0, .t.)

It's a template anyway, so readonly won't hurt it any. You're saving it under a new filename later anyway. I've found in some other situations that opening files on network readonly was the only way to solve some of these "file is in use" errors.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform