Forums › TWAIN Classic › how to obtain the full twain driver filepath from get source › Reply To: how to obtain the full twain driver filepath from get source
- Topics - 1
- Replies - 1
- Total Posts - 2
Ive found a solution which works. I have to change this as I’m accessing an external program which will only call the default device. I have no control. So I need to set the selected default in the registry before I call the external application. When I run my own calls I just call the device by index which is easy.
To make this work I get the user to use the select source to access the chosen dive. The select source then writes the full filepath into the registry file, I then read this path from the registry file and write it into my programms ini file. Then when I access the external app I read the filepath from my ini file and write it to the registry enabling the source tobe selected as required. It works fine thanks for the feedback.