Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error #1429
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FRX2Any
Titre:
Error #1429
Divers
Thread ID:
00792188
Message ID:
00792188
Vues:
91
Hi guys.

In one of a client's machine, I'm getting:

Error #1429 in Savepreview line 59
OLE lDispatch exception code 0 from Microsoft Excel.

I had a look in the class, in Excelfile, and it states :
    .oExcelWorkBook.SAVEAS(lcExcelFile)
This is happening when trying to export a simple one page report to Excel.
By the way, I get errors with word and others as well, but this with Excel is the one I'm in the urge to solve.

The machine has Win 98 and Excel 2000.

[UPDATED1]
I've checked the code and noticed that ExcelFile.cSaveFolder has "Z:\\Reports\" .
I'm trying to find out why the folder was formated with \\ . When I run locally, it works fine, but over the network, this happens.
[UPDATED1]

[UPDATE2]
Found it. It's all because I was playing with SYS(2003) while formating the path, and it returned "\" for the mapped drive as the root, while it returned "\MyFolder" when running locally. So I had to check for the "\" in the end of it in order to format the path name.
[UPDADE2]

Thanks anyway.
Ivan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform