Hi

Just having a bit of trouble with this code:

VB Code:
  1. Private Sub cmdStartRecord_Click()
  2. Call SendMessage(hwdc, WM_CAP_FILE_SET_CAPTURE_FILEA, 0, ByVal "C:\video.avi")
  3. Call SendMessage(hWndC, WM_CAP_SEQUENCE, 0, 0&)
  4. End Sub

I've declared everything, but it doesn't seem to work. I was hoping someone here could help me find out wats wrong. Thanks.

-types