Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VF&,EXCL under Citrix
Message
 
 
À
30/01/2004 12:54:37
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00872430
Message ID:
00872443
Vues:
33
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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform