Information générale
Catégorie:
COM/DCOM et OLE Automation
>>How to mantein inalterate layout as I copy from Word ?
>>There are other solution to mantain docs without files ?
>>
>use FILETOSTR() and strtofile(
>)
>important ... store filetostring conversion in a binary memo field not a general field
>
>ldoc=FILETOSTR(word.doc)
>repl (yourdbf.binmemo) with ldoc
>
>strTOfile(yourdbf.binmemo,'thisdoc.doc',0)
>
>RonL
Ok This is the right way for me,
I understand the process of extraction from memo and file .doc generation
using:
strTOfile(yourdbf.binmemo,"F:\Documents\xyz\mydoc.doc",0)
then open the document by automating word somethink like:
oWord = CREATEOBJECT( "Word.Application" )
oWord.Documents.Add("F:\Documents\xyz\mydoc.doc")
etc. ...
but now the user make changes ... and now the question !
Is it possible to automate saving process when document close or other ?
Thanks a lot.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement