CommonDialog.ShowAcquisitionWizard method

Starts the Scanner and Camera Wizard.

Syntax

pvResult = .ShowAcquisitionWizard( _
  ByVal Device As Device _
) As HRESULT

Parameters

Device [in]

Type: Device*

Required. Device object.

Return value

Type: VARIANT*

Returns Nothing.

Examples

The following example shows how to launch the Windows Scanner and Camera Wizard.

Dim dev 'As Device
Set dev = CommonDialog1.ShowSelectDevice
CommonDialog1.ShowAcquisitionWizard dev

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Reference

CommonDialog

ShowDeviceProperties

ShowSelectDevice

ShowSelectItems

Device

Connect

Device (VideoPreview)