VintaSoft Twain ActiveX v6.0
In This Topic
    Deploying web application
    In This Topic

    Only VSTwain.dll (VSTwain.can) should be deployed with your web application. Web application can be hosted on any web server (Windows, Unix, Linux). Internet Explorer 6.0 or higher must be used as an internet browser.

    On server side you should do the following steps:

    1. Place VSTwain.dll file onto the server, for example, to the path "http://custom_domain/custom_path/VSTwain.cab". Make sure that VSTwain.cab file can be downloaded from URL "http://custom_domain/custom_path/VSTwain.cab".
    2. Place your web page onto the server, for example, to the path "http://custom_domain/custom_path/WebTwainDemo.html".
    3. Create ActiveX object on your web page:
      <OBJECT ID="TwainDeviceManager" WIDTH=1 HEIGHT=1 
          CLASSID="CLSID:79B1D0FD-ABB9-40E8-AA06-3E499F135B49"
          CODEBASE="http://custom_domain/custom_path/VSTwain.cab#version=6.0.2.1">
      </OBJECT>
      

      Correct version number of ActiveX is very important. With wrong version number your clients will download ActiveX each time when they open your web page.

    4. Add the write privileges to the folder where you plan to store images.


    Deploying with Evaluation license

    Your web application can be deployed for evaluation purposes only.



    Deploying with Single URL license

    Your web application can be deployed to the domain specified in the Single URL license.



    See Also