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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GDameron
  • Content: Threads
  • Order by date
  1. GDameron

    Start->Run shows more than just RunMRU items - where's the rest?

    If I use Start->Run to browse to a UNC by entering two backslashes, the droplist is populated with a long list of UNCs I have visited. Most of these UNCs are *not* under the RunMRU registry key. So, two questions: 1. The UNCs listed that are *not* in RunMRU - where on the system are they kept...
  2. GDameron

    Solaris 8 sort bug?

    Good day - I would like to sort a file like this (colon as separator): ddd:260:a bbb:200:a ddd:27:a bbb:30:a I'd like the results to be ordered by field 1, then by field 2 numerically, so that the result is: bbb:30:a bbb:200:a ddd:27:a ddd:260:a If I'm reading the man page right, the...
  3. GDameron

    Penalty for overdoing CLASSPATH?

    Is there a runtime penalty for putting more jars in the CLASSPATH than the application actually requires? What exactly does the JRE do with all the jars in CLASSPATH? Does it unjar everything at the start? Or does it only start looking through the jars for a particular class when a call to...
  4. GDameron

    Login script reliability

    I'm attempting to set an environment variable (without using the System control panel) so that every user who logs on has it set. This is on a Win2K server SP4 running standalone (no clients). My login vbs script is something akin to: Dim shell Dim volEnv Set shell =...
  5. GDameron

    Font size discrepancy

    There seems to be a three-point discrepancy between "equivalent" font sizes in Java vs. MS Office. For example, if I set a JLabel to Arial 11, it's the same font I see in a Word doc using Arial 8. Similarly, Tahoma 12 in Java is the same font as Tahoma 9 in Word. Have others observed this...
  6. GDameron

    Setting the font globally

    The out-of-the-box font I'm seeing in my JFrame GUI is too small. Is there a way to globally set the font so that all JComponents inherit the larger font? GD
  7. GDameron

    Changing JMenuItem look on the fly

    I have a menu bar containing JMenuItems created using the (Action) constructor. The JMenuItems have both icons and text labels. How would I implement a "show/hide icons" capability? Is there a way to use JMenuItem's getComponent() method to remove/restore the icons without actually recreating...
  8. GDameron

    Limiting text length in editable JComboBox?

    Is there a way to limit the number of characters that may be typed in an editable JComboBox, analogous to setting up a Document model for a JTextField? WGD
  9. GDameron

    Join a domain via script?

    I'd like to go from a workgroup to a domain without using the System control panel. Is there a way to join a domain using a bat (1st choice) or vbs (2nd choice) script? GD
  10. GDameron

    How to upgrade from USB 1 to USB 2

    I'm getting two different stories on how to upgrade from USB 1 to USB 2. One source says it's a hardware issue - that the USB 1 hubs on the motherboard aren't upgradeable and I need a separate card to get USB 2. Another source says it's a device driver issue - lose the USB 1 device driver...
  11. GDameron

    Why do parens disrupt program flow?

    This batch script: @echo off setlocal goto :main :sub1 echo in sub1 set sub1_called=WAS goto :eof :main set sub1_called=WAS NOT ( call :sub1 echo sub1 %sub1_called% called ) outputs the counterintuitive result: in sub1 sub1 WAS NOT called ...but if the parens are removed, it...
  12. GDameron

    How to tell if current user has admin privileges?

    Win2K: Is there a way for a batch script to find out if the user running it is a member of the Administrators group? GD
  13. GDameron

    On Win32, how to determine group credentials of current user?

    On Win32, since the getgr* suite is not implemented, is there a way to figure out if the user running my perl script is a member of the Administrators group? GD
  14. GDameron

    How to tell if current user has admin privileges?

    Win2K: Is there a way for a batch script to find out if the user running it is a member of the Administrators group? GD
  15. GDameron

    Bit bucket for BASIC commands?

    Is there a way to discard the output of a command by redirecting its output to a "bit bucket"? (E.g., on Unix, one says: my_command > /dev/null 2>&1 (or) my_command >& /dev/null depending on which shell is being used.) Is there an analogous BASIC syntax?
  16. GDameron

    Win32: "system" call when command has spaces

    Running version 5.005_03 under Windows 2000. I am attempting to launch wordpad.exe, giving its full path, using "system". The code (file "wp.pl") looks like this: use strict; my @systemCmd = ("C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe", ""); system (@systemCmd); I run it from...
  17. GDameron

    Right way to configure a headless Solaris 8 server?

    We have a Solaris 8 server we use for our development work, but it will be deployed eventually as headless. Aside from the obvious steps of unplugging the monitor, keyboard and mouse, and making sure we can tip into a serial port, is there anything else we need to do? For instance, is it...
  18. GDameron

    How to save and restore listener info?

    Using JDK 1.4. New to Java. I have been playing with saving a JPanel and its contents to a file using writeObject, then restoring it with readObject. However, when the JPanel is read back and displayed, I'm finding that any action listeners I had set up are not being restored. Is this...
  19. GDameron

    writeObject (JPanel) ignores listeners?

    Using JDK 1.4. New to Java. I have a Swing app consisting of a JFrame containing a JPanel containing a couple of JButtons ("Save" and "Restore") and a JTextField. When "Save" is selected, the app does a writeObject of the JPanel to a file. When...
  20. GDameron

    Win32: Can a read from STDIN be timed out?

    I saw (and appreciated) the solutions others have posted for this problem under Unix -- is there a Win32 solution?

Part and Inventory Search

Back
Top