devxlogo

November 5, 1999

Incorrect IP Lookup

Question: I have an application which uses dialup networking. If I connectafter starting my application, InetAddress.getLocalHost() alwaysreturns 127.0.0.1. Even if I connect before starting up,then disconnect and reconnect, the IP

Disabling the Command Window

Question: I have compiled a program as an .APP file. When I run this file from VFP 6, I would like to disable the close button until the user clicks