Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Document Preview in VFP
Message
De
23/08/2004 14:26:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00935602
Message ID:
00935670
Vues:
24
I was actually looking for something where I could put the contents of the word document in an object like an input box or something like that. I didn't want to do a seperate window type thing like a print preview would do.


>You could use word automation :
>- set appropriate Word Menu options to disabled, like:
> oword.CommandBars("Menu Bar").Enabled = .f.
>- open the document in preview mode:
> oWord.ActiveDocument.printpreview()
>- wait while "preview"$LOWER(oWOrd.ActiveWindow.Caption)
>......
>- set Menu options back
>oword.CommandBars("Menu Bar").Enabled = .t.
>
>
>>I have done some office automation with VFP. All is well with it. I worked some mail merge fields from tables into word documents.
>>
>>Now I am looking at simply displaying the document's template on the screen so they can see a sample of the text within the letter when they choose what type of form letter they would like to select. Is there an active X control or anything else which would display this as a read only object on the screen?
``` Appreciate a normal day, it is always better than a bad one ```

Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform