WinPhotoAcquire.ShowSelectDeviceDialog
--------------------------------------

Shows dialog to select device.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WinPhotoAcquire](component_WinPhotoAcquire.md) | [12.1](newinversion121.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WinPhotoAcquire.ShowSelectDeviceDialog"; CPLMode ) 

**MBS**( **"WinPhotoAcquire.ShowSelectDeviceDialog";** /\* Shows dialog to select device. \*/  
**$CPLMode**) /\* Run in control panel mode with additional controls to install devices.  
Pass 1 to enable or 0 to disable.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| CPLMode | Run in control panel mode with additional controls to install devices.   Pass 1 to enable or 0 to disable. | 0 |

### Result

Returns OK, Cancel or error.

### Description

Shows dialog to select device.  
This is called automatically within [WinPhotoAcquire.Acquire](WinPhotoAcquireAcquire.md) if needed.  
  
We support  
- Windows Portable Devices (WPD).
- Cameras (e.g. DSLR) and scanners of type Windows Image Acquisition (WIA).
- Devices of type Still Image Architecture (STI).
- Removable storage devices, such as CD drives or card readers.
- Digital video camera devices.

### Examples

Show select device dialog:

 Set Variable \[ $r ; Value: MBS ("WinPhotoAcquire.ShowSelectDeviceDialog") \]  
### See also

- [WinPhotoAcquire.Acquire](WinPhotoAcquireAcquire.md)
- [WinPhotoAcquire.ShowSettingsDialog](WinPhotoAcquireShowSettingsDialog.md)

### Example Databases

- [Win Only/PhotoAcquire](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/PhotoAcquire.shtml#1ScriptAnchor_)

### Blog Entries

- [Windows Photo Acquire for FileMaker](https://www.mbsplugins.de/archive/2022-02-07/Windows_Photo_Acquire_for_File/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 5th February 2022 , last changed 3th June 2025

  
[WinPhotoAcquire.SetCurrentDeviceID](WinPhotoAcquireSetCurrentDeviceID.md) - [WinPhotoAcquire.ShowSettingsDialog](WinPhotoAcquireShowSettingsDialog.md)

[HTML Version](WinPhotoAcquireShowSelectDeviceDialog.shtml)