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

Aquisition control is disabled in tool box controls

Last post 23 Jun 2009, 4:10 PM by Glenn. 1 replies.
Sort Posts: Previous Next
  •  23 Jun 2009, 8:20 AM 18703

    Aquisition control is disabled in tool box controls

    Hi all,
     
    I have downloaded the Atalasoft Dot Twain v7.0b from this location http://www.atalasoft.com/download/downloadDotTwain.aspx , and installed it on my machine.
    When i added the control to the VS Toolbox item, by checking Atalasoft.Twain namespace in the .net framework components, Aquisition control is added to the toolbox items but it is not enabled in VS 2008.
    I am using it in WPF application. 
     
    When i check same in VisualStudio 2005, aquisition control is enabled and i am able to use that control on the webform. what could be the reason as it is not working in WPF application.
     
    Can any one let me know what would be the cause...
     
     
     
    Thanks,
    Kranthi 
  •  23 Jun 2009, 4:10 PM 18705 in reply to 18703

    Re: Aquisition control is disabled in tool box controls

    Visual Studio will disable toolbox items that are not valid for the type of project you are working on.  The Acquistion class is not a WPF control, so you can't drop it onto a WPF form.  Instead, create an instance of it manually in your code.

    Also, for WPF make sure you set the Device.ModalAcquire property to true.


    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML