title: take a snapshot with a webcam from ms access form
body: <p>i need to take a snapshot with webcam when someone press a button in access form.
  Is it possible?
  i know how open a program from access but i'm stuck on how to trigger the event </p>
  
  <pre><code>the code
  Private Sub Command1_Click()
  
     Dim stAppName As String
  
     stAppName = "C:\Program Files\myapp"
     Call Shell(stAppName, 1)
  
  End Sub
  </code></pre>
  
  <p>now let's say the snapshot trigger by f12 key in the app
  how do i get the f12 key to click automatically </p>