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 SkipVought 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: *

  1. zhangling

    Why file.exists() returns false on Windows 2003 server?

    Thank you Tim for understanding. Have a good summer!
  2. zhangling

    Why file.exists() returns false on Windows 2003 server?

    I found the problem. It's my mistake! The java program tried to look for a file: "BarcodeSeqence.txt"(incorrect spell). The actual file name is "BarcodeSequence.txt". That's how I got the error message. I do want to apologize for any confusion that may cause. Thank you all for the help!
  3. zhangling

    Why file.exists() returns false on Windows 2003 server?

    I am using java 1.5.0_16. Thank you, Tim.
  4. zhangling

    Why file.exists() returns false on Windows 2003 server?

    I tried to use \\ instead of / and got the same error. Thanks, Dian. I am a C++ programmer and new to java. Thanks to Tim for teaching. It's great to know.
  5. zhangling

    Why file.exists() returns false on Windows 2003 server?

    The logic to delete file is packaged in ResetSequenceNumber.jar file. The application to launch this JAR file is a third party product. It is required to specify a command line in the application's configuration file. The initial testing was on my XP workstation using cmd.exe. It was then...
  6. zhangling

    Why file.exists() returns false on Windows 2003 server?

    I have a simple jave program as below: package us.ma.main; import java.io.File; public class DeleteFile { public static void main(String[] args) { String fileName = "c:/Barcode/BarcodeSeqence.txt"; File file = new File( fileName ); if( file.exists()){ file.delete()...
  7. zhangling

    need help with the error: 800704B2 and 800704C3

    I added the following 2 lines code before calling objNetwork.MapNetworkDrive driveLetter, fullPath, bPersistent, userName, password On Error Resume Next objNetwork.RemoveNetworkDrive driveLetter It works! Thank you very much! LZ
  8. zhangling

    need help with the error: 800704B2 and 800704C3

    I have the following code in a Visaul Basic 6.0 program for mapping to a network drive: Set objNetwork = CreateObject("WScript.Network") objNetwork.MapNetworkDrive driveLetter,fullPath, bPersistent, userName, password driveLetter will be searched at run time, all other parameter values will...

Part and Inventory Search

Back
Top