Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using wordpad with a memo field
Message
 
À
14/10/1999 12:21:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00276398
Message ID:
00277892
Vues:
17
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform