Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.








Question: I have a Java applet I got off the Internet that I want to use on my server. I have tested it on mycomputer and it works fine, but
Question: I need to call a constructor of a dynamically loaded class, and thatconstructor takes a single parameter which is an array of strings,(i.e., constructor(String [] args). How can I
Question: I am building an add-on application in Visual C++ 6.0. How can you send a key combination (such as Control+K) to another application to invoke a menu shortcut (for
Question: I am trying to write a utility program. I need a way to intercept all file open/save operations and get the info about the name of the file so
Question: I would like to create a shortcut on the desktop. How do I do that without copying a file to the windowsdesktop directory? Answer: The basic approach is to
Question: In my application, I want to convert the content of a component into a GIF image. I know how to convert an Image object to a GIF, but I
Question: I have a list of filenames in a String array. I’d like to sort them into alphabetical order. Is there a class to do this, or must I implement
Question: Can you please tell me how to delay the program flow in Java? I can’t find any implementation of delay(). Answer: To introduce a delay into your program, use
Question: Why can’t I have a static member in an inner class? Answer: The simple answer is that static member variables and methods aredisallowed by the Inner Classes Specification that
Question: I would like to show a splash page and have it time out after approximately five seconds. How do I do that? Answer: Presumably you would like to display
Question: Is it possible using code to write to the description field that is returned by the NetServerEnum calls? Answer: Yes, you can write to the description (or comment field
Question: Where can I go to decipher Microsoft error codes? I am having trouble making one NT workstation dial in to my RRAS server; I get a TCP/IP error code
Question: Is it possible to reposition the frame of a standalone application? My application starts up at the upper left corner of my monitor every time. Answer: Yes, you can
n this section I will provide an approach to coding and debugging triggers and discuss the new features that have been added in SQL Server version 7 regarding triggers. Why
Question: In a project tracking database, one of the columns in a table contains the date in this format: MM/DD/YY. I would like to be able to see a listing
Question: Using the following SQL statement, I could export a select query into a dbf file at c: emp est.dbf INSERT INTO test IN ‘C: emp’ ‘DBASE IV;’ SELECT *
Question: Is Powerbuilder 5.0 year 2000 compatible? Answer: Only PowerBuilder 5.0.4 and 6.0 are year 2000 compliant.
Question: How can I select the whole row (with a bigger blue line) in a listview control? The default selects just the item located in the first column. Answer: That
Question: I want to print a line at the detail band onlyif it’s on the last row of the page; otherwise, itshould not print at all. Answer: To achieve this,
Question: I am getting all kinds of errors on a database table that have something to do with page allocation in the database (error 1109). I would like to drop
Question: How do I set the socket input and output buffer sizes in Java? Answer: You cannot set the socket input and output buffer sizes in Java versions prior to
Question: Is there a way to put the text editing cursor in a specific position, like at the end of the string, in a TextField? Answer: This is the sort
Question: What are the types of features available and its respective characteristics? How does this language help in relational databases? Answer: May I suggest you obtain Joe Celko’s introductory book
Question: SQL Server 6.5 does not allow an index to be placed on the bit datatype. Does this affect performance when doing queries that filter on the bit, or are
Question: I’m trying to get something like this to work. How can I take the output of a stored procedure and use it in a subquery? create procedure pcore asselect
Question: We use SQL Server 6.5 (7 in a few weeks). I’m looking for a good tool to generate ERDs and overviews of my database tables. Which software can you
Question: My PowerBuilder application is a contact system. It includes a case-based reasoning system that uses customer account numbers to guide users through actions. I need to be able to
Question: How does one change the current working directory of a Java program or a java.lang.Process? The equivalent of the Unix chdir system call seems to be absent. Answer: There
Question: I’m building an application where the user can type several lines of text and save it to disk (as plain text). It would be nice if some words appeared
Question: I have a server application that I want an applet client to connect with. How can the applet determine the address of the originating serverwithout having to hard-code the



