Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import Word Document
Message
 
À
03/03/2003 15:51:57
Fabian Belo
Independent Developer
Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00760498
Message ID:
00760516
Vues:
16
See Message #751491

>Yuri:
>
>Thanks for your answer. The problem is that users are not allowed to do nothing in those files (only read), that's why I thought about an EditBox with ReadOnly Property in .T.
>Besides... what if somebody doesn't have Word? I don't want to use tables but it seems there's no other way...
>
>>One of the solutions:
>>.....
>>oWord = CREATEOBJECT("Word.Application")
>>oWord.visible=.t.
>>* open document readonly in terms of MSWord, meaning user can edit but can save as a new document only.
>>oWord.documents.open("c:\hi.doc",.f.,.T.)
>>.....
>>
>>
>>>Dear All:
>>>
>>>Need to import a Word .doc file to show it in a form. Users will not be able to copy and/or edit/save this info, only to read. I think is easy... but Mondays are confusing :(
>>>
>>>How to display that .doc in an EditBox (ReadOnly)?
>>>Of course I also have to disable prtscr key.
>>>Another approaches to achieve this? (no tables/cursor)
>>>Thank you.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform