General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only