Tip Bank

DevX - Software Development Resource

JFrame Exit Button

Question: Is it possible to remove the close button from a JFrame or at least disable it? Answer: It is possible to disable the function of the close button on

DevX - Software Development Resource

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:

DevX - Software Development Resource

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:

DevX - Software Development Resource

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

DevX - Software Development Resource

Converting

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

DevX - Software Development Resource

Forcing a function to be non-inline

Question: Is there a way to force a function not to be inline?that is, to define the body of a function in a header file, but require that the compiler

DevX - Software Development Resource

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

DevX - Software Development Resource

Comparing Strings

Question: I have defined a string variable using the following command: #define latinWord 64 char word[latinWord]; I want to use an If statment to see if the variable “word” is