Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rekenaar

  1. rekenaar

    Tasklist command only PID needed and piping

    Hello. I've got 2 questions. I am running the Windows tasklist command like so: tasklist /fi "STATUS eq running" /fi "Imagename eq notepad.exe" /nh This returns all the processes of notepad.exe running. But it gives all the detail (name/PID/memory usage/etc.) My first question is it...
  2. rekenaar

    Integration with picture scanner

    By the way here is a link to an article that also includes free source code to interface twain and Java. I found it quite helpful. The commercial applications does seem to be more polished and feature complete, but I will investigate to see if they are really necessary for my needs...
  3. rekenaar

    Integration with picture scanner

    Thanks for the replies. That twain native library is exactly what I need. Thanks!
  4. rekenaar

    Integration with picture scanner

    Hello I just want to know if anyone here has had any experience regarding interfacing a Java application with a scanner? Basically what I want to do is have a user click a button on a Java app that will let it automatically scan a document that is in the scanner. Then it must take the picture...
  5. rekenaar

    XPath Queries in C#

    I am having a problem with my xpath queries in C#. I have the following xml file: <?xml version="1.0" encoding="utf-8" ?> <config> <data_module> <table_name>users</table_name> <fields> <field> <name>name</name> <type>string</type> </field> </fields>...
  6. rekenaar

    dynamic building of page using XML best practices

    Hello. I am a Java programmer just getting into ASP.NET with C#. I have started writing an xml schema that will be used to the pages so that it can be created dynamically from the xml. I just need some input from people with experience in this type of thing to make sure I am on the right path...
  7. rekenaar

    Query with joins

    Mmmm. It seems to give me the exact same values when I change the WHERE to AND.
  8. rekenaar

    Query with joins

    Hello Let me explain the problem I am having: I have two tables, data_t and a_data_t a_data_t is the archive table of data_t The two tables are exactly the same. In the table values are stored: Value (A numeric value) Code (A text code to identify a report with data) Line (The line number)...
  9. rekenaar

    folders and files

    You can use the isDirectory() or isFile() methods to check for file or folder. Actually listFiles() will work better than list() because it will return an array of File, which you can then use.
  10. rekenaar

    folders and files

    You can use File class to do this. Quick and dirty and not checked (should work somewhat like this): File file = new File(YOUR_PATH); String[] list = file.list(); // Returns list of files as string array Check File in die API
  11. rekenaar

    changing font size in jlabel via html

    Hi I need to change the size of fonts at different places in a jlabel, thus I want to use html in the text of the jlabelto change it. Is this possible? Because normal <font>-tag doesn't seem to work. I'm using 1.4.2 Thank you for your time.
  12. rekenaar

    JTree

    Hello I am trying to use JTree to represent a file structure. It reads the files in a folder and put it in the tree. The Problem is if a folder is empty is not displayed correctly in the JTree (It gets displayed as a leaf). Is there some way to force a node not be displayed as a leaf? Here is...
  13. rekenaar

    Folder Explorer GUI

    Thanks for replying. I am not using JFileChooser because there is a list on the left with links to desktop/recent documents that i do not want. The file name at the bottom I also don't want, in fact a way to limit which folders the user can browse will also be nice.
  14. rekenaar

    Folder Explorer GUI

    Hello. Do anyone know if there is a way to create a folder explorer? What I mean by that: The user should see a list of directories and then click on a specific directory and then the files in the directory will be shown beneath it. If they double click a file it should be saved or opened. Or...
  15. rekenaar

    Custom pages for 404 & 500 errors

    That is correct, you just update the web.xml. Here is an example of what you add: <error-page> <error-code>404</error-code> <location>/web/404.jsp</location> </error-page>

Part and Inventory Search

Back
Top