Take the 2-minute tour ×

I am trying to use a method that is described like this: public Device GetDevice(string productName). The productName is the name of the device as it appears in the Select Source dialog. What is the Select Source dialog.

share|improve this question
You should add a tag corresponding to the language you are using. –  assylias Jun 4 '12 at 13:15
Thank You, Edited. –  Stylzs05 Jun 4 '12 at 13:17
Oh thank you google for telling me the OP has a problem using the Atalasoft DotImage library... –  Wouter Huysentruit Jun 4 '12 at 13:30
Please give us more information about your problem. In which framework is that method? –  cansik Jun 4 '12 at 13:35
Sorry guys, I didn't mean to have you scratching your heads. –  Stylzs05 Jun 4 '12 at 16:11

2 Answers 2

up vote 2 down vote accepted

As this link mentions (look for the "Showing the “Select Source” dialog" heading), this is a dialog that allows users to select an ISIS device. It's part of the DotImage framework, called with ShowSelectSource and is used like this:

IsisDevice dev = null;
if (this.acquisition.ShowSelectSource(this)) dev = this.acquisition.Devices.Default;

I would guess that this works similarly to a FolderBrowserDialog. The user selects the device of his choosing and you can then use his selection to retrieve the Device itself with GetDevice.

share|improve this answer
Thank you. Sorry for not being specific enough. I just got thrown on this project with no direction. First time working with actual hardware. –  Stylzs05 Jun 4 '12 at 16:11

I had to use Google to find out which library you are using.

Anyway: open the atalasoft documentation, once there, click search, and search for 'select AND source AND dialog'. Click the secondd hit '2: Getting Started with DotTwain' and read 'Showing the "Select Source" dialog'

share|improve this answer

Your Answer


