Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing pictures from Camearas
Message
 
To
13/06/2002 02:31:11
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00667783
Message ID:
00671034
Views:
32
>At some point I would like to provide users with the ability to shoot and store pictures in VFP. How do I get started on this?

Make search in MSDN for "Windows Image Acquisition" (WIA). As far as can understand from article "Using the WIA Scripting Model" it could be done like this:
oWia = CreateObject("Wia.Script")
oItem = oWia.Create(0) && Item object represents WIA hardware device
oItem.GetItemsFromUI(0, WIA_INTENT_IMAGE_TYPE_COLOR + WIA_INTENT_MAXIMIZE_QUALITY)
oItem.Transfer("c:\Folder\Filename.bmp")
*oItem.Transfer("clipboard") && transfers an image to clipboard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform