Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feedback on frx2word class
Message
De
18/01/2002 07:48:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
18/01/2002 03:04:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00601466
Message ID:
00606618
Vues:
24
Actually, I may have had a different problem: Word wasn't closed properly - I couldn't open the file until I restarted Windows. I noticed this quite a while later, after reporting the problem. Windows sometimes reports un-commited files as zero bytes.

>Hi Hilmar.
>
>I manage to discover why this 0 bytes files eventually shows it's faces.
>Last day, Andrus Moor address me a sample to fix some errors (I hope this is the last ones, lol). When I start the tests, I take a 0 bytes file! Wonderful, I thought! This is the opportunity to fix this issue.
>Well... If you look inside the code, I use Fopen to see if the results files could be created and keep those files opened until the end. No matter at all. But I noticed in Andrus' sample the absence of paths. The path can be applied to "savefolder" property or come with the file name (doc_filename property). The general idea is: "the files will be saved in the current folder." Yes, but... Word has your default folder to save files. If you specify nothing, the file will be saved in this Word's default. Take a look in "c:\my documents". Probably you'll find those files there. When a finish the process, I simply use fclose() and what we have? A zero bytes file.
>This problem is solved and will be placed in the next version.
>
>Btw, Do you made another tests?

I will resume testing in a few days. Right now, I have other priorities.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform