Try this:
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
lcuser=alltr(substr(sys(0), rat("#",sys(0))+1))
lccom="Process failed! Try again later."+chr(13)+chr(10)+"Hello, second line goes here"
? ShellExecute(0,"open","net"," send "+lcuser + " "+lccom,"",0)
>in an application i want to send a message to a user using net send
>
>i am doing this using run /n net send username message text
>
>the trouble with this is twofold.
>
>1. it flashes up a dos box
>2. i would like to be able to format the message text to have several lines each with different information on it, this data is pulled from various tables. i have no problem with the fox code for this. the problem is how do i format the net send command message text to have it over several lines instaead of one long line ?
>
>is this possible ?
>
>
>TIA
>
>Colin Burton
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement