ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / TWAIN functions
  • Displaying the result in a List Box or Combo Box control
  • Prerequisites in Windows 2008 64-bit server
  • Operating mode in the 64-bit applications
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the list of drivers for the Twain devices connected to the current computer.
Remark: TwainCurrentSource allows you to find out the Twain device used by default by the Twain functions.
Example
// Display the list of drivers for the Twain devices
// found on the current computer in LIST_DeviceDrivers
ListAdd(LIST_DeviceDrivers, TwainListSource())
Syntax
<Result> = TwainListSource()
<Result>: Character string
Returns the list of drivers for the Twain devices installed on the current computer, in the following format:
<Name of driver 1> + CR + <Name of driver N>
Remarks

Displaying the result in a List Box or Combo Box control

<Result> can be directly assigned to a List Box or Combo Box control by ListAdd. Each line will contain the name of the driver corresponding to each Twain device installed on the current computer.

Prerequisites in Windows 2008 64-bit server

For a 32-bit application that must perform a digitize operation in Windows 2008 64-bit server, the "User experience" feature of Windows is required. To add this feature:
  1. Select the features of the server manager.
  2. Click "Add a feature".
  3. Check "User experience" (or "Desktop experience" for a Windows in English).
  4. The server is restarted at the end of setup.

Operating mode in the 64-bit applications

In a 64-bit application, this function will automatically use the 64-bit Twain driver. The TWAIN cannot be used if this driver is not installed.
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help