ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the list of drivers for the Twain devices connected to the current computer.
Note: The TwainCurrentSource function is used to identify the Twain device to be used by default by Twain functions.
Example
// Affiche la liste des drivers des périphériques Twain 
// du poste en cours dans le champ LISTE_DriverPériphérique
ListAdd(LISTE_DriverPériphérique, 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: 03/27/2025

Send a report | Local help