Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Linked General Field
Message
De
20/03/2002 11:54:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00634621
Message ID:
00635040
Vues:
14
Hi Vlad,

You were right! The WEB Browser control doesn't save the spreadsheet. I have it kludged now by issuing:

KEYBOARD '{CTRL+S}'

in the LostFocus event of the web browser control. That was just a test to see if it would fix the problem, and it did. Now I'll try to figure out a better way to do it.

Cheers,

Rob

>Hi!
>
>I do not know really the answer because I never worked this way. I just know about this approach because it was used by one of russian VFP developers.
>
>Just a suggestion: I suspect that WEB Browser Control does not save changes amde to Excel document into the file. That might be a reson why after editing the document WEB Browser Control does not want to navigate to another file. Try to save the file before navigating to another file. Unfortunately, I'm not sure how to do this programmatically (manually just press Ctrl+S keys when Excel sheet is focused). Maybe, through document object or something like that you can get an access to the OLE Automation objects model for Excel document and use its methods to save the file.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform