473,395 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

X=Shell("C:\Windows\wordpad.exe c:\cr\docs\packets\ntrolttr.rtf", 1)

MLH
Where would I go to find a list of the possible return values for X
and their implication when launching..

X=Shell("C:\Windows\wordpad.exe c:\cr\docs\packets\ntrolttr.rtf", 1)

???
Nov 12 '05 #1
3 2827
> Where would I go to find a list of the possible return values for X
and their implication when launching..

X=Shell("C:\Windows\wordpad.exe c:\cr\docs\packets\ntrolttr.rtf", 1)


Search Access Help for "Shell Function". If you get "RunApp Action" as a result,
click on the "Shell" hyperlink at the bottom of the help window.

The "possible" return values are determined at the time the specified program
successfully opens and is assigned a task ID by Windows.

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.org (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<
Nov 12 '05 #2
On Mon, 22 Sep 2003 14:09:47 -0400 in comp.databases.ms-access, MLH
<CR**@NorthState.net> wrote:
Where would I go to find a list of the possible return values for X
and their implication when launching..

X=Shell("C:\Windows\wordpad.exe c:\cr\docs\packets\ntrolttr.rtf", 1)


The shelled process ID.

http://tinyurl.com/hsgz

It uses the ShellExecute function, if you can find a copy of windows.h
then it has all those error codes in, you don't need them since
Shell() raises a runtime error if something's wrong.

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #3
TC
Just a tip: posting the same question under different subject lines is a
good way *not* to get help in the future!

TC
MLH <CR**@NorthState.net> wrote in message
news:vj********************************@4ax.com...
Where would I go to find a list of the possible return values for X
and their implication when launching..

X=Shell("C:\Windows\wordpad.exe c:\cr\docs\packets\ntrolttr.rtf", 1)

???

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.