in

Archived Data Techniques Forums

Twain.ScanPage() and NullReferenceException

Last post 08-07-2008 9:08 AM by EvgenBA. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-05-2008 6:37 AM

    Twain.ScanPage() and NullReferenceException

    I'm using trial version of ImageMan.Net and I have some problems with it.

    The problem is when I call the Twain.ScanPage() with debugging I gets the System.NullReferenceException.

    When I try to execute compiled code then all OK.

    In debug mode I can't see the 'trial' dialog, but compiled code shows it.

     

    Windows Vista Home Basic, VS 2005, C#

    Mustec Be@Pow 2400CU Pluss II.

    Filed under:
  • 08-06-2008 3:20 AM In reply to

    Re: Twain.ScanPage() and NullReferenceException

    It was Vista ....

    Probably in the debugging mode of the VS2005 the dialog "try trial, buy it now, register" has some problems with show of itself.

    Evgen.

    Filed under:
  • 08-06-2008 9:03 AM In reply to

    Re: Twain.ScanPage() and NullReferenceException

    Hi,

    Sorry it wasnt clear, were you able to resolve the issue ?

    Sean
    Data Techniques Online Support
  • 08-07-2008 9:08 AM In reply to

    Re: Twain.ScanPage() and NullReferenceException

    I tried a trial version of ImageMan on the Vista Home Basic 32 with VS2005.

    And when I try to start the project from VS2005 I got this exception.

    When I try to start the project from VS2005 under WinXP PRO SP2 - all ok: I see dialog about the trial ImageMan, and the project works all right.

    But under Vista I didn't see the dialog (that the ImageMan is trial).

    I think that the exception cause was this dialog (or procedure that calls it).

    And last: this exception throws method ScanPage().

    Evgen.

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