Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I import a word doc into memo field
Message
 
À
20/04/2015 04:47:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618713
Message ID:
01618746
Vues:
31
>>>>>>>>>>>>>>>>
REPLACE mMemo WITH FILETOSTR(cDocFile)
>>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>my code
>>>>>>>>>>>
>>>>>>>>>>>REPLACE wordin WITH FILETOSTR("c:\my documents\colinnewnotes.doc")
>>>>>>>>>>>
>>>>>>>>>>>Wordin is a memo field
>>>>>>>>>>>
>>>>>>>>>>>What I get is a lot of rubbish in wordin
>>>>>>>>>>>
>>>>>>>>>>>What am I doing wrong?
>>>>>>>>>>
>>>>>>>>>>Because a wordfile is a lot of rubbish if not viewed with WORD or something similar? (Others say a wordfile is rubbish anyway)
>>>>>>>>>
>>>>>>>>>So I cant import a word doc into a memo field?
>>>>>>>>
>>>>>>>>Why you need to import that document into MEMO field?
>>>>>>>>Why not just store full path to it, or copy that document into a subfolder of your data folder and store only the name of the document>
>>>>>>>
>>>>>>>I want to send an email with the body text containing the word document
>>>>>>
>>>>>>
>>>>>>I'm not sure if you can do this directly w/o open the word and convert all text to HTML.
>>>>>
>>>>>OK then the word doc will have to go as an attachment as at present - disappointing though
>>>>>
>>>>>Thanks for all you help Guys
>>>>
>>>>Lets try another tack - how about printing a word doc from VFP
>>>
>>>One thread - one question.
>>>
>>>Does one have M$ Word installed on the comp?
>>
>>Yes
>
>I would instantiate word, load the file and print it.

How do I instantiate word in VFP?
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform