in

Archived Data Techniques Forums

Deployment

Last post 06-23-2008 3:47 PM by ttetley. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-20-2008 10:18 AM

    Deployment

    Hi,

    When I deploy my application to my lap top and run it I am getting the nag window and have to run in trial mode.  I found the Twain control registration key property but I do not see one for the image control.  How do I get rid of the nag window when I deploy the control?

    Thanks,

    Tony Tetley
    Professional Data Services, Inc.

    Filed under:
  • 06-23-2008 9:37 AM In reply to

    Re: Deployment

     Load your project and in the Visual Solution explorer and select the Show All Files icon. In your solution you should then see a file called licenses.licx, double click on the file to open it and you should see the a line which says:

    DTI.ImageMan.Twain.TwainControl, DTI.ImageMan.Twain, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3ff15c974c5defd8

    If you do not see this line or do not see the file then you must add the ImageMan.Net Twain controls to the toolbox and then drag an instance to a form in your application. Then you can delete the control from the form. If you look in licenses.licx you should see the line listed above.

    You must then rebuild the solution to get the license data compiled into the application.

    Also check to confirm that the ImageMan developer license is on the machine on which you are doing the build. The file is located in the \program files\common files\dti\licenses dir and is called: TwainDevLic.lic.

    If the license file isn't in that location you must reinstall the ImageMan.Net Twain install which you can download from the My Products page at http://www.data-tech.com/myproducts/login.aspx.


    Also if you are using ImageMan.Net Twain in an assembly thats being loaded by another exe you must add the license info to the exe solution using the steps above as the license key is loaded from the exe not the assy thats using the control.

    Sean
    Data Techniques Online Support
  • 06-23-2008 10:20 AM In reply to

    Re: Deployment

     Hi Sean,

    I am confused.  Are you saying that it is the twain control that is presenting the Try / Buy / Register window?  The window only Says ImageMan, nothing about the twain control and this is occuring when just attempting to open the image control, not scanning.  There is a property in the twain control for entering the registration key which I did.  I thought there should be something similar for the ImageMan control.  

    Tony 

  • 06-23-2008 2:56 PM In reply to

    Re: Deployment

     Ho Tony,

     Sorry I misread your email. If you dont see a register button in the ImageMan.Net trial dialog then you have an older build and need to download the latest build from the My Products page. Rebuild your app and you'll see a Register button or you can use the Registration Utility to enter the license key for ImageMan.Net.

    Sean
    Data Techniques Online Support
  • 06-23-2008 3:47 PM In reply to

    Re: Deployment

    Sean,

     I see three buttons: Try / Buy / and register.

    My question was how do I automaticlly register the control when I deploy it with my application on an end user machine?

    Tony 

Page 1 of 1 (5 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.