Share via

Calling On-Screen Keyboard from Access, Error!

Anonymous
2011-02-15T15:37:57+00:00

Hi All

I'm Trying to call On-Screen keyboard From Access, But Run-Time Error '5' "Invalid Procedure call or argument"

I'm Calling:

Dim RetVal

        RetVal = Shell("osk.exe", 1)

Then I tried to specify the full path

RetVal = Shell("C:\Windows\System32\osk.exe  The same result.....

What's the problem can't understood..

P.S. I'm also Calling the calculator: RetVal = Shell("C:\Windows\System32\calc.exe and it's working perfectly

Thanks In advanced

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-02-15T15:59:01+00:00

Many Thanks! Bob

Now Works Like a Bomb! :)

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2011-02-15T15:45:38+00:00

    Hi

    You could take a look at this.  There seems to be an answer to your problem there.

    http://www.vbaexpress.com/forum/archive/index.php/t-34397.html


    Hope this helps Bob Fitz BizSoftware If this answer solves your problem, please check, Mark as Answered. If this answer helps, please click the Vote as Helpful button.

    Was this answer helpful?

    0 comments No comments