Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using wordpad with a memo field
Message
 
To
14/10/1999 12:21:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00276398
Message ID:
00277892
Views:
18
Thanks, this did the trick.
Eylon





>>Does anyone know of a way to use wordpad to edit a memo field?
>>
>>
>>Thanks
>
>STRTOFILE(SomeTable.MyMemo, "sometempfile.txt")
>
>Then launch the WordPad using Shellexecute:
>
>declare long ShellExecute in "shell32.dll" long hwnd, string lpszOp, ;
> string lpszFile, string lpszParams, ;
> string lpszDir, long nShowCmd
>
>=ShellExecute(0,"Open","Sometempfile.txt",,,1)
>
>When you are done with the file,
>
>REPLACE SomeTable.Mymemo WITH FILETOSTR("SometempFile.txt")
>
>If you need control over when the user quits Wordpad, to know when to update the memo file, download Ed Rauh's API_APPRun utility from the files section here.
Previous
Reply
Map
View

Click here to load this message in the networking platform