Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VF&,EXCL under Citrix
Message
From
30/01/2004 13:25:09
 
 
To
30/01/2004 12:54:37
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00872430
Message ID:
00872443
Views:
31
Hi, Jean

>I have a VFP7 program that is generating Excel Spreadsheet and Set the
>Default File Path to a specific location based on some Region Setting.
>
> For example for Central Region, program has
> oExcel.DefaultFilePath="\\lrd1fil1\gei\central\"
>
>for north West ,
> oExcel.DefaultFilePath="\\lrd1fil1\gei\nwest\"
>and so on.. where \\lrd1fil1 is a Server under Citrix
>
>It seems to work ok when tested locally, but When the program work under Client Citrix,
>First time the Save As seems to remember the last Default location of the Prior Excel
>Spreadsheet that was generated. But when you recreate the Same Spreadsheet the 2nd
>time, it sets it correctly

I know some OS-dependent issues behaves a bit weird under Citrix, but... Why are you using a dialog to ask the user where to put the files, if you already know the directory. Can't you just EXPORT to the defined path?

If you need to let the user -eventually change path, you may use PutFile(), to which you can pass the default fullpathname. I guess in this case it will work.

Hope this helps,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform