Using JTWAIN    -   where put JTWAIN.DLL ?

hi,
I am trying to use JTwain to acquiring images, and I found that JTwain works easy inside the IDE of Netbens.
But a problem come about the installation of the dll_, that is used from the library of Asprise JTwain _(file AspriseJTwain.dll)_.
The documentation of Asprise JTwain says :
Put AspriseJTwain.dll into your system path, e.g., C:\Windows\System32.Following this suggestion my code work fine, but I need to distribute the program; and for this purpose is not comfortable for me that the installation have to do the copy of the file.dll inside the directory C:\Windows\System32.
I would ask if (in order to do the installation easier) it is a different place (than  C:\Windows\System32) where put the dll.
Thank you for any advice..
tonyMrsangelo
Regards
Edited by: user13286583 on Nov 7, 2010 2:29 AM

Thank you Andrew for you answer,
I don't need use Java Web Start feature.
The application runs not in the web, but in a calculator (in stand alone mode).
How I said, I put the dll inside the package of the class that need acquire the image;
I think that this is the same that you said:
“to put the DLL in a Jar” .
When I put resources into the packages, usually, the IDE of Netbeans handles all automatically
(make jar files where classes find the resources...), and the jar that is produced execute properly the program.
But this procedure seem that doesn't work if the resource is a dynamic linked library.
The reason of this, I think, is because the dll are particular resources that don't follow the same management
of the resources of java.
I don't think (and I also hope) that is not my duty (as programmer) to manage the call to the the dll: this duty
is made in the package (library) of Asprise Jtwan... and my supposition is also confirmed, because the program
works fine when the dll is put in the directory C:\Windows\System32.
I think it need to understand better how the JVM uses the work of the Windows XP Operating System.
Thank you
regards
tonyMrsangelo

Similar Messages

  • Where to put AntiXssLibrary.dll file after installation of BPC Server

    Hi Experts,
         In the installation of BPC, that is after the installation of BPC Servers there comes another step "Installing the Anti-Cross Site Scripting Library"....The document tells us to download "AntiXssLibraryV1.5Installer.msi" and run the setup. Once it gets done the final step says "Copy AntiXssLibrary.dll to %BPC_PROGRAM%\Websrvr\Web\bin on both the BPC Application server and the BPC Web server." I can't understand where i should paste the file on Application Server and I could paste it in "C:\BPC\WebSvr\Web\Bin" what is the other location I should put the file.
    I am installing BPC on single server...Please help me out...
    Thanks
    Sudhakar Kuricheti

    Hello,
    Please use the follow link
    http://www.microsoft.com/downloads/details.aspx?FamilyId=EFB9C819-53FF-4F82-BFAF-E11625130C25&displaylang=en
    to download an installation kit for Microsoft Anti-Cross Site Scripting Library.
    In this way you will not have any more the problem where to put a dll and what you have to do with it.
    This program should be used into application server it is not necessary to put it into db server.
    If you have problem regarding unzip of dimensions then you have to check if you have into client side into C:\Program Files\BPC the dll xceedzip.dll and you have to check if this was correct register. (using regsvr32).
    I hope this help to understand what is that dll and what you have to do to complete the installation of SAP BPC server.
    Regards
    Sorin Radulescu

  • Is anyone using iPhoto having a problem with the slide show using shatter where it does not let you put a title over photo?

    Is anyone using iPhoto having a problem with the slide show using shatter where it does not let you put a title over photo? It use to work but it no longer lets you place a title over the opening photo.

    Is your signature still current?(iPhoto '08, OS X Mountain Lion (10.8.4))    I can confirm this for iPhoto '11; Shatter will only show the text slide title between the slides. Ken Burns and Classic theme can still be set to overlay the caption and title directly over the slides.

  • Where to put the dll file

    hi everyone
    i have a dll file and i want to use it through a java file
    so i wrote a native method and load the directory when the dll is found
    but
    how to set up the library path in my in my environment

    i found the answer i don't have to set up any
    environment variable just put the dll file near the
    java file

  • Use pdf.ocx or AcroPDF.dll to open a pdf file in a form

    Hi to all,
    I have this kind of problem.
    I need to open a pdf in a form, just for reading.
    Even if my project is written in VB6, this is not the problem. It could be also in .NET, so I hope you don't reply anything about the development platform.
    In a couple of threads, I found two ways to open a pdf in a form: using pdf.ocx or acropdf.dll.
    In both cases, this solution works for me in debug, but not in deployed release.
    I have two kind of problems:
    -  if the computer where I execute the program HAS NOT Adobe Reader  installed, I have an error "missing dependencies" concerning acropdf.dll  or pdf.ocx
    - if the computer where I execute the program has Adobe Reader installed, I have an error concerning dll or ocx file version.
    The solution works only if the AcroPDF.dll file included in my project has a version equal to the Adobe Reader version installed on the customer's computer.
    How can I solve these problems?
    The best would be if I could use one of this components without installing Adobe Reader.
    If this is not possible, my further question is: if the Adobe Reader version installed on the customer's computer is greater than my AcroPDF.dll, will my project work?
    If you need further informations to understand the problem, you can ask me.
    Thanks in advance for replies.
    Bye
    Nino

    PDF.OCX was an UNSUPPORTED COMPONENT that stopped being included as of Adobe Reader 7.  Also, VB6 support stopped with Reader 7 as well.  As Adobe only supports Reader 8 and later, there is no need to worry about either.
    AcroPDF.dll is part of Reader - it isn't available separately.  So yes, your users will need to have Adobe Reader 8 or later installed on their computer.
    As long as you target Reader 8 or above, and AcroPDF.dll - you'll work with Reader 8, 9 and X...

  • Vb6: open pdf in form using pdf.ocx or acropdf.dll

    Hi to all,
    I have this kind of problem.
    I need to open a pdf in a form, just for reading.
    In a couple of threads, I found two ways to make this: using pdf.ocx or acropdf.dll.
    In both cases, this solution works for me in debug, but not in deployed release.
    I have two kind of problems:
    - if the computer where I execute the program HAS NOT Adobe Reader installed, I have an error "missing dependencies" concerning acropdf.dll or pdf.ocx
    - if the computer where I execute the program has Adobe Reader installed, I have an error concerning dll or ocx file version.
    How can I solve these problems?
    The best would be if I could use one of this components without installing Adobe Reader.
    If you need further informations to understand the problem, you can ask me.
    Thanks in advance for replies.
    Bye
    Nino

    Post your problem in the forum for Acrobat SDK.

  • How do you keep the order using SELECT WHERE IN()?

    Hi,
    Is there a way to keep the order when using SELECT WHERE IN()? For example, using the following query:
    SELECT id FROM data_table WHERE id IN('56','55','54','1','7');
    The results will come back using the default order by id. 1,7,54,55,56
    When I want to keep the order used in the IN: 56,55,54,1,7
    Is there a quick way to do this in mySQL or will I be forced to order it after in code.
    Thanks

    797836 wrote:
    Hi,
    Is there a way to keep the order when using SELECT WHERE IN()? For example, using the following query:
    SELECT id FROM data_table WHERE id IN('56','55','54','1','7');
    The results will come back using the default order by id. 1,7,54,55,56In case the order by docs and comments weren't clear on this point, there is no default order and they may come back in a different order. Usually after you've tested it to exhaustion to prove otherwise, then put it in production.
    >
    When I want to keep the order used in the IN: 56,55,54,1,7
    Is there a quick way to do this in mySQL or will I be forced to order it after in code.
    ThanksUsing the in list allows oracle to have other possible data access paths than simply running the query 5 times. If for whatever reason you don't want to order the results after they come back, it may be worth your while to just run the five queries serially in the order you want, using bind variables and so having identical queries. That may seem silly on its face, but then again, we don't know the real requirements, what else is going on, if this is simplified from the real code or whether there will always be 5.

  • How do you use 3 Where Clauses in a query

    Hi, i am trying to figure out how to use 3 Where Clauses in a Query where 2 of the Where Clauses uses a Sub query.
    Display the OrderID of all orders that where placed after all orders placed by “Bottom-Dollar Markets”.
    Order the result by OrderID in ascending order.
    First WHERE clause checks for OrderDate and uses a sub query with ALL keyword.
    Second WHERE clause use equals and sub query.
    Third WHERE clause uses equal and company name.
    This is what i have so far but i am pretty confused on how to do this.
    My Code for NorthWind:
    Select OrderID
    From Orders o
    Where o.OrderID IN (Select OrderDate From Orders Where Orders.OrderID > ALL
    (Select CompanyName From Customers Where CompanyName = 'Bottom-Dollar Markets'));
    The book shows how to use the ALL Keyword but not in a Sub query with Multiple Where Clauses.
    Select VenderName, InvoiceNumber, InvoiceTotal
    FROM Invoices JOIN Vendors ON Invoices.VendorID = Vendors.VendorID
    WHERE InvoiceTotal > ALL (Select InvoiceTotal From Invoices Where VendorID = 34)
    ORDER BY VendorName;

    >Where Orders.OrderDate
    > ALL  (Select
    CompanyName
    The comparison operator (>) requires compatible data types.
    DATETIME is not compatible with VARCHAR string for comparison.
    Here is your homework:
    SELECT orderid
    FROM orders o
    WHERE o.orderdate > ALL (SELECT orderdate
    FROM orders
    WHERE shipvia = (SELECT Max(shipvia)
    FROM orders o
    INNER JOIN customers c
    ON c.customerid =
    o.customerid
    WHERE
    c.companyname = 'Bottom-Dollar Markets'));
    11064
    11065
    11066
    11067
    11068
    11069
    11070
    11071
    11072
    11073
    11074
    11075
    11076
    11077
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • How can I buy it on my Apple ID so I can use Recovery to put my MBP to function once again? Help D=

    My MBP just failed, bought it from a friend and dont have an Apple ID with Lion, Lion is no longer on the App Store so, how can I buy it on my Apple ID so I can use Recovery to put my MBP to function once again? Help D=
    Or what else could I do? I don´t have any USB to reinstall the OS and my DVD Unit is death, but it seems I can reinstall over Wi-Fi if Im able to link an OS X Lion license to my Apple ID

    You would need to call Apple Sales (USA 1-800-MY-APPLE) and purchase a redemption code for Lion.

  • Old computer I had is OSX Snow Leopard with Entourage. New one is OSX Mavericks. Using Mail where are my addresses and old address book. Transferred old computer backup by Time Machine and other things work? Can't see a symbol for address book.

    Old computer I had is OSX Snow Leopard with Entourage. New one is OSX Mavericks. Using Mail where are my addresses and old address book. Transferred old computer backup by Time Machine and other things work? Can;t see a symbol for address book.

    Where are addresses kept on MAIL?  I don;t like the new format at all. Frances
    Begin forwarded message:
    From: Frances Topping <[email protected]>
    Subject: Re: - Old computer I had is OSX Snow Leopard with Entourage. New one is OSX Mavericks. Using Mail where are my addresses and old address book. Transferred old computer backup by Time Machine and other things work? Can't see a symbol for address book.
    Date: August 25, 2014 at 9:46:01 AM EDT
    To: discussions-replies <[email protected]>
    Old Entourage is POP and new Mavericks MAIL  is IMAP I believe. I don;t know how to export in the forms you mention. Frances

  • I would like to know why when i make a web page and test in my local browser it works fine then when i tranfer to my server i does not work fine example i used javascript to put a prompt bar on a page and it worked fine local but on server not working

    how come when i make a web site and i test it in my local server it works fine when i tranfer to server certain things do not work example i used javascript to put in a prompt bar for a newsletter page at the server it did not work but at local it did also it works at MOZZILLA but not internet explorer i also have cs4 was wondering if there is a way to test a page in dreamweaver and then transfer   THANK YOU X-FACTOR-MEDIA

    In future, please try to make the subject line of your posts shorter. In this case the following would have been sufficient: "JavaScript works locally, but not on remote server".
    Short, but meaningful subject lines make it easier for others to identify what your question is about, and often bring faster help.

  • S-VIDEO black & white signal from VHS to PC using TV@where Plus. PLZ PLZ HELP.

    I have had TV@where plus now for a few months after having many many sound related problem recording from VHS to PC using TV@where master.
    Didn't know about this forum so after many months of AGONY i purchased TV@where plus hoping this would resolve the problem. 
    I am trying to capture from my video player VHS to the PC.  I only have a scart socket on my video so i purchased a scart to s-video cable and i get a great picture on the computer but no colour?
    I have spent a few hours reading through the forums, most of which are quite a few years old but have had no luck.  If anyone can advise i would be very grateful.
    Pete

    Quote from: peterisnow on 13-June-06, 23:25:23
    I have had TV@where plus now for a few months after having many many sound related problem recording from VHS to PC using TV@where master.
    Didn't know about this forum so after many months of AGONY i purchased TV@where plus hoping this would resolve the problem. 
    I am trying to capture from my video player VHS to the PC.  I only have a scart socket on my video so i purchased a scart to s-video cable and i get a great picture on the computer but no colour?
    I have spent a few hours reading through the forums, most of which are quite a few years old but have had no luck.  If anyone can advise i would be very grateful.
    Pete
    Hi Pete!
    When one unit is sending analog and the other digital (s-video) the picture turns black and white....
    If your VHS player supports S-Video you firsth need to change a setting on it, but it's most likely that the VHS dont support S-Video, try changing the setting on the videocard (TV @nywere) or buy a new cable not using S-Video...

  • Despite my best efforts, I am unable to remove iTunes 11.1.4 from my PC, this being made necessary because the original installation had a flaw and did not load properly. Effor to use the control panel, deleting dll. files, etc. all failed. iTune out??

    Despite my best efforts, I am unable to remove iTunes 11.1.4 from my PC, this being made necessary because the original installation had a flaw and did not load properly. Effor to use the control panel, deleting dll. files, etc. all failed. And, of course, on startup, a window opens with the error and tells me find QTMovie.dll and delete it because this may be the source of the hangup. Also, in trying to delete iTunes, I get the additional message that I must get approval from the System Administrator to take this action. I am the System Administrator.
    Any ideas would be welcomed.
    Thank you.
    James
    <E-mail Edited by Host>

    Thank you for asking this question.  I'm having the same issues. 
    Liz

  • The new event are created when i import photo in the top. Before they where put in the end. All my event are classified. Where i can set the event at the end ? Thank's.

    The new event are created when i import photo in the top.
    Before they where put in the end.
    All my event (around 600) are classified on the top the old and a the end the new.
    Where i can set the event at the end ?
    Thank's.

    View menu  ==> sort events
    LN

  • How can I use a where in Select clause?

    How can I use a where in select clasue when the other part of the where I do not not.
    I mean that
    Select *
    from mara
    where MATNR = MT*
    That means it can have MTA, MTB, MTC....and so on
    I can I write this code.
    Regards,
    Subhasish

    hiii
    you can use following query
    SELECT * FORM mara WHERE matnr CONTAINING 'MT'
    or use following
    select * from mara WHERE matnr =  'MT%'
    reward if useful
    thx
    twinkal

Maybe you are looking for

  • How to share videos to iTunes???

    What's the best workflow to share videos from iPhoto to iTunes? It seems QuickTime is the best way as it has the Share to iTunes button right in its toolbar. However, with iPhoto '11, it looks like I have to Reveal the file in Finder in order to open

  • Ipod wont stop turning on and off

    The weirdest thing just happened. I was updating my ipod and then i unplugged it; not doing anything differently than i normally do. Now it keeps turning on and off, but it's not going to the main display page. It gives me the apple logo and then tur

  • FIOS Quantum- Netflix Streaming Issues

    Setup: Actiontec Rev I Router: 50 foot Cat5 cable to Roku XDS device. Speed test always indicates 50MBS download speed. Netflix streaming has always worked but quality level varies and rebuffering and downgrading usually occurs. I'm often able to sta

  • My iphone has stopped ringing. The silent button is not on and my other alerts are working fine.

    My iphone 5 has stopped ringing. The silent button is not on and my other alerts are all working. I have a ringtone selected

  • Adding multiple views to a drill down pie chart

    Hi, I'm currently using OBIEE 10g and have a problem when drilling down on a pie chart. I have a dashboard named spending analytics and it shows in a pie chart, spending by different categories (airlines, automotive, etc). When i click on the Airline