Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
That doesn't happen on MY machine
Message
De
21/12/2006 14:43:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
That doesn't happen on MY machine
Versions des environnements
Visual FoxPro:
VFP 6 SP3
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01179645
Message ID:
01179645
Vues:
58
Hi All,

After loading a program on a client's machine, then running it to create an Excel file, we get the following error...

OLE Dispatch exception code 0 from Microsoft Excel: Microsoft Excel cannot acces the file
'D:\GMR\Lunches\V_lunch\data' There are several possible reasons:
The file name or path does not exist
The file you're trying to open is being used by another program.
Close the document in the other progr..

I tried to duplicate the problem on my machine and it runs fine. Argh!

I assigned the value of the program directory to m.dir and call all data files as follows...

if !used('file')
use m.dir+"data\file.dbf" in 0 excl
endif

There is NO reason the program should be looking to any other drive or folder than C:(and then the folder/s the program is located within).

Any suggestions are greatly appreciated.

Thanks,
Martha Kroll
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform