Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capturing pictures from Camearas
Message
 
À
13/06/2002 02:31:11
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00667783
Message ID:
00671034
Vues:
35
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform