Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Scanning in ASP

Last post 06 Aug 2007, 3:23 PM by Glenn. 4 replies.
Sort Posts: Previous Next
  •  15 May 2003, 3:10 PM 1783

    Scanning in ASP

    I'm developing a medical app project with ASP/SQL Server. Will I be able to utilize the twain capabilities in the ASP ActiveX, and if so how? I want to be able to have the client scan a document from their machine and load it into our SQL database indexed with the patient ID.
  •  15 May 2003, 3:10 PM 1784 in reply to 1783

    RE: Scanning in ASP

    If you require your users to scan an image, you can use ImgXTwain to scan the image into ImgX, export the image to memory and use ADO or DAO to connect to your SQL server. There is a database example that comes with ImgX Controls. It connects to an Access database, but by changing the connection string to your SQL server, you could make it work with SQL. This would be entirely Client side and would not require ASP.

    ImgX Controls comes with signed ActiveX controls including ImgXTwain that you may use in Internet Explorer. We have a demo of this here:
    http://www.atalasoft.com/imgx/demo/control.html

    The problem is ImgXTwain requires a handle to a window for it to show any of it's dialogs. Since IE doesn't give you that handle, you will have to create your own Usercontrol or ActiveX EXE that contains a form that you can use to reference the window handle.

    ----------------------------
    Bill Bither
    Atalasoft President/Senior Developer
    Bill Bither
    Atalasoft
  •  15 May 2003, 3:10 PM 1785 in reply to 1783

    RE: Scanning in ASP

    Bill,

    Thanks for the info. I'll try using a VB app to scan the images and then use ASP for the viewing/printing. This however would not pass the patient index ID to the VB app which I was trying to accomplish using ASP. The client will have to type in the ID or something like that. All in all this in one of the most complete ActiveX components I've seen... Thanks!
  •  06 Aug 2007, 8:09 AM 12469 in reply to 1784

    Re: RE: Scanning in ASP

    Hi,

     

     Is this still true that you have to create your own usercontrol or activeX EXE to use ImgXTwain from within IE?

     

    Thanks,


    James
     

  •  06 Aug 2007, 3:23 PM 12471 in reply to 12469

    Re: RE: Scanning in ASP

    Yes, you need to use ImgXCtrl or create your own UserControl to act as the parent window for the Twain session.  There is no way around this.
    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML