Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In design mode yes, In run-time not. Am i crazy?
Message
De
24/06/1998 10:24:20
 
 
À
24/06/1998 10:19:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00111152
Message ID:
00111217
Vues:
17
>>I've just finished to develop an application who works a lot with Microsoft Word. So i was thinking i was yet a good developper using automation with Word. But...
>>In my computer everything works ok, even in design mode, even in run-time mode.
>>
>>Then the time for testing has arrived:
>>
>>This code works in every computer i've tested in design mode, But in run-time mode only works in my main computer
>>
>>ooo = createobject("word.application") && works fine
>>ooo.documents.add() && works fine
>>ooo.activedocument.saveas("myfilepath&name") && crash in all computers but mine.
>>
>>I've installed VFP in these computers and in design mode everything works fine.
>>
>>Some ideas?. I can't install the application.
>>Carlos.
>
>I had similar problems trying to save excel file with & and long file names. Tried () instead and worked. Your example looks funny though, if you're enclosing & within quotes. HTH
Ahh! Ohh! Oops! my mistake. Didn't know you could do that.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform