By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,773 Members | 2,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,773 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
> 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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.