I get the "Invalid procedure call or argument" error when attempting to access the calculator from within my program. Here is the code I used:
retval = Shell(App.Path & "\calc.exe", vbNormalFocus)
I used the code below before, but of course, it only works with Windows 95, 98, ME, but not with NT or 2000.
retval = Shell("c:\windows\calc.exe", vbNormalFocus)
How can I access the calculator regardless of which Operating system, my users have?
Thanks
retval = Shell(App.Path & "\calc.exe", vbNormalFocus)
I used the code below before, but of course, it only works with Windows 95, 98, ME, but not with NT or 2000.
retval = Shell("c:\windows\calc.exe", vbNormalFocus)
How can I access the calculator regardless of which Operating system, my users have?
Thanks