Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - General Queries (http://www.outlookbanter.com/outlook-general-queries/)
-   -   return values (http://www.outlookbanter.com/outlook-general-queries/1563-return-values.html)

Reg February 26th 06 12:42 AM

return values
 
When called by another app via ShellExecute do Outlook and OE return a value
when the email is despatched?
If so how does the calling app retrieve that value?
Thanks to anyone who can provide me with this information.
R



Vince Averello [MVP-Outlook] February 26th 06 09:30 AM

return values
 
I'm not 100% sure but I'd say no since ShellExecute typically only returns a
value once upon termination of the called application.

"Reg" wrote in message
...
When called by another app via ShellExecute do Outlook and OE return a
value
when the email is despatched?
If so how does the calling app retrieve that value?
Thanks to anyone who can provide me with this information.




Reg February 26th 06 08:20 PM

return values
 
Thanks Vince. That is helpful. I had been thinking that ShellExecute
returned a value when it launched the application successfully.

"Vince Averello [MVP-Outlook]" wrote in message
...
I'm not 100% sure but I'd say no since ShellExecute typically only returns
a value once upon termination of the called application.

"Reg" wrote in message
...
When called by another app via ShellExecute do Outlook and OE return a
value
when the email is despatched?
If so how does the calling app retrieve that value?
Thanks to anyone who can provide me with this information.






Vince Averello [MVP-Outlook] February 27th 06 11:24 AM

return values
 
I think you can tell ShellExecute to wait until the app exits. At least you
can in some implementations.

"Reg" wrote in message
...
Thanks Vince. That is helpful. I had been thinking that ShellExecute
returned a value when it launched the application successfully.





All times are GMT +1. The time now is 06:49 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com