Hmm I don't have winfax so I don't know the parameters needed for that program but to simply send parameters to Shellexecute is simple....
ShellExecute(Handle, 'open','C:\File programs\WinFax\cmposfax.exe', 'program parameters', nil, SW_SHOWNORMAL); Note tho that Shellexecute expects a pointer to a string or string constant so if passing as a string varible use ShellExecute(Handle, 'open','C:\File programs\WinFax\cmposfax.exe', pchar(progparams), nil, SW_SHOWNORMAL); Hope this helps... Eric ----- Original Message ----- From: Hector F. Lopez R. To: [email protected] Sent: Saturday, September 10, 2005 9:09 PM Subject: [delphi-programming] Shellexecute Could someone help me to do that? : I want to launch a fax software called Winfax. I know how to make the Winfax run using Shellexecute as follow: ShellExecute(Handle, 'open','C:\File programs\WinFax\cmposfax.exe', nil, nil, SW_SHOWNORMAL); What I want to know is how to pass Winfax three parameters: 1-Fax number 2-Name of the people to whom the fax is addressed 3-Name of the company Can you help please? ------------------------------------------------------- Home: http://groups.yahoo.com/group/delphi-programming/ Remove: [EMAIL PROTECTED] YAHOO! GROUPS LINKS Visit your group "delphi-programming" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ------------------------------------------------------- Home: http://groups.yahoo.com/group/delphi-programming/ Remove: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-programming/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
