Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace from word to memo field
Message
From
09/10/2008 06:32:29
 
 
To
09/10/2008 06:25:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01353561
Message ID:
01353761
Views:
25
As I wrote, in order to be able to open your document in Word, you must copy the document to a file.

>hi,
>thank you,
>
>but i need it to display(as editbox) via command button at the form ,
>
>i used this code to open .doc via command botton as
>
>SET DEFAULT TO c:\deal
>declare long ShellExecute in "shell32.dll" ;
>	long hwnd, string lpszOp, ;
>	string lpszFile, string lpszParams, ;
>    string lpszDir, long nShowCmd
>
>*ShellExecute(0,'Open', m.lcFileName, 0,0,1)
>
>ShellExecute(0,'Open', GETFILE(), 0,0,1
>
>
>
>
>
>>To use the word document later, you must COPY MEMO yourmemo TO somefile.doc, and then open the file woth Word. The somefile.doc should then be an exact copy of the original word file.
>>
>>>hi,
>>>
>>>i delete it and insert new field as binary memo field, but still same,
>>>
>>>
>>>
>>>>If you cahnged the field type AFTER the append, this won't work.
>>>>
>>>>>i change it to binary memo field? still
>>>>>
>>>>>thanks
>>>>>>Your memo field must be a binary memo field.
>>>>>>
>>>>>>>thank you,
>>>>>>>
>>>>>>>i try it the ,arabic word.doc show as rubbish ,
>>>>>>>
>>>>>>>if i save it as .txt it is ok,
>>>>>>>
>>>>>>>thanks
>>>>>>>>>hi all,
>>>>>>>>>
>>>>>>>>>i need help to replace word.doc to memo field at my table,
>>>>>>>>>
>>>>>>>>>thanks all
>>>>>>>>
>>>>>>>>Append memo yourmemo from yourfile.doc
Previous
Reply
Map
View

Click here to load this message in the networking platform