April 5, 1999


Question: Are there any utilities that will convert an .EXE file back to a .CPP file? A friend wrote a little program for me, and I would like to alter

Read-only members

Question: If I write a class in C++, which contains private members, I can make them read-only by providing a get access method and no set access method. If that

List NT Users on Domain

Question: How do I list all the users on an NT domain with Visual Basic? Answer: The following code should get you started. Note that you need to add good

Server Folders

Question: Is there a way to get a list of folders for a network drive passing in the server name(for example, \NetDrive). I tried using Dir(“\NetDrive”,vbDirectory) but received only an

Random File Access

Question: I am trying to read from a text file using FileInputStream. Is there a way that I can go directly to the middle of the file and read from

Array Length

Question: How do I know the size of the array returned by File.list() so I don’t get the message ArrayIndexOutOfBoundsException when printing the local directory content in the screen? Answer:

Reading Files with FTP

Question: I want to create an applcation that reads a file from a host on my LAN. The file must be read by FTP. How do I do this? Answer:

Extracting Integers From Text file

Question: How do I read a series of integers from an ASCII text file? The file contains a sequence of numbers like 110 120 130 140 … I tried to