toddred123
New member
- Local time
- Yesterday, 16:01
- Joined
- Feb 23, 2014
- Messages
- 3
Hello,
I'm pretty raw at this, but what I want to do is so simple.
Here's what I want to do:
I have a form with a button to print preview a report. This report needs one input parameter before executing. The computer this will run on is a touch screen and does not have a keyboard. Windows 7 has a "on screen keyboard" program. I want this to run first so that my user can input the parameter.
I have the following which throws an "Invalid procedure Call or Argument"
Sub CallTeclado()
Dim RetVal
RetVal = Shell("c:\windows\system32\osk.exe", vbNormalNoFocus)
End Sub
I'm stumped. Any thoughts?
I'm pretty raw at this, but what I want to do is so simple.
Here's what I want to do:
I have a form with a button to print preview a report. This report needs one input parameter before executing. The computer this will run on is a touch screen and does not have a keyboard. Windows 7 has a "on screen keyboard" program. I want this to run first so that my user can input the parameter.
I have the following which throws an "Invalid procedure Call or Argument"
Sub CallTeclado()
Dim RetVal
RetVal = Shell("c:\windows\system32\osk.exe", vbNormalNoFocus)
End Sub
I'm stumped. Any thoughts?