selecting the device without selecting it from the Select dialog?

H Harry Simpson 3 years 7 months ago
4 1 0

When I use the standard forms Select dialog it loads up the imager b/w and the camera color as choices in the dialog.  For the life of me I can't figure out how to skip this dialog and just use the camera by default.
 
Also I don't get any intellisense for the Symbol objects - is this normal?
 
Thanks
Harry

Please Register or Login to post a reply

1 Replies

Y Yordan Stoyanov

Try this
Device[] automaticSelectDevice;
if (Symbol.Barcode.Device.AvailableDevices.Length > 0)
{
   //always use first available device
   automaticSelectDevice = new Device[1] { Symbol.Barcode.Device.AvailableDevices[0] };

Symbol.Generic.Device MyDevice =
     Symbol.StandardForms.SelectDevice.Select(
     Symbol.Barcode.Device.Title,
     automaticSelectDevice);
}

CONTACT
Can’t find what you’re looking for?