IF ISSERVICETIER THEN BEGIN dtn_process := dtn_process.Process; dtn_process.StartInfo.UseShellExecute := FALSE; dtn_process.StartInfo.FileName := 'rundll32.exe'; dtn_process.StartInfo.Arguments := 'url.dll,FileProtocolHandler mailto:'+toAddress+'?subject='+subject; dtn_process.StartInfo.CreateNoWindow := FALSE; dtn_process.Start(); CLEAR(dtn_process); END ELSE BEGIN IF ISCLEAR(com_WSHShell) THEN CREATE(com_WSHShell); com_WSHShell.Run('rundll32.exe url.dll,FileProtocolHandler mailto:'+toAddress+'?subject='+subject); END;
Answers
On another note: Are you sure your .NET Variables are set to run on the client?
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!