Click or drag to resize
ChooserChoose Method
Select ASCOM driver to use without pre-selecting in the dropdown list

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public string Choose()

Return Value

Type: String
Driver ID of chosen driver
Remarks
No driver will be pre-selected in the Chooser's list when the chooser window is first opened. Thrown if the Chooser.DeviceType property has not been set before Choose is called. It must be set in order for Chooser to know which list of devices to display.

This overload is not available through COM, please use "Choose(ByVal DriverProgID As String)" with an empty string parameter to achieve this effect.

See Also