943,200 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 140
  • ASP RSS
Aug 19th, 2010
0

Image Recognition Using VB6

Expand Post »
Good Day Guys,
I am trying to develop a system that will connect my webcam into a my vb 6 application system.. I searched through the internet and found some code.. Although i made my system run, i can't fully understand those codes i have copied from the net...

Here's the codes, i know there were lot of you guys who can interpret me these codes..
Another thing is, these codes where written into a module..My question is, Is it really necessary to write these codes into a separate module? Why?

ASP Syntax (Toggle Plain Text)
  1. Public Const ws_child As Long = &H40000000
  2. Public Const ws_visible As Long = &H10000000
  3.  
  4. Global Const WM_USER = 1024
  5. Global Const wm_cap_driver_connect = WM_USER + 10
  6. Global Const wm_cap_set_preview = WM_USER + 50
  7. Global Const WM_CAP_SET_PREVIEWRATE = WM_USER + 52
  8. Global Const WM_CAP_DRIVER_DISCONNECT As Long = WM_USER + 11
  9. Public Const WM_CAP_DLG_VIDEOFORMAT As Long = WM_USER + 41
  10. Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
  11. Declare Function capCreateCaptureWindow Lib "avicap32.dll" Alias "capCreateCaptureWindowA" (ByVal a As String, ByVal b As Long, ByVal c As Integer, ByVal d As Integer, ByVal e As Integer, ByVal f As Integer, ByVal g As Long, ByVal h As Integer) As Long

Hope you'll help me understand these things...thank you...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
leonard1968 is offline Offline
1 posts
since Mar 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: ASP and Extensible Provisioning Protocol (EPP)
Next Thread in ASP Forum Timeline: DSNs ASP and windows x64





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC