ShowDeviceProperties Method

Displays the Properties dialog box for the specified Device.

Syntax

  object.ShowDeviceProperties( _
    Device As Device, _
    [CancelError As Boolean])

Parameters

  • Device
    Required. Device value.

  • CancelError
    Optional. Boolean value that indicates whether to generate an error if the user cancels the dialog box.

    • False
      Default. Do not generate an error.
    • True
      Generate an error.

Remarks

The following example shows how to display the Properties dialog box for the selected device.


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

Method Information

Minimum operating systems Windows XP SP1

See Also

CommonDialog, ShowAcquisitionWizard, ShowSelectDevice, ShowSelectItems, Device, Connect, Device (VideoPreview)