> I guess this is probably more a java question maybe? I don't know. As I
said,
> our network expert yada yada yada.....

The way to find out the name of the current machine is:

      try {
         java.net.InetAddress me = java.net.InetAddress.getLocalHost( );
         System.out.println( me.getHostName() );
      }
      catch ( java.lang.Exception ex ) {
         System.out.println( "Darn it " + ex.getMessage() );
      }

Cheers,
Kerry Sainsbury
Inprise/Borland New Zealand

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to