
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.
The Split function is great for parsing strings, but what happens when a string has more than one consecutive delimiter? It might seem odd that Split() returns empty substrings as
Applets use a default background of gray, which may not be visually appealing to you. Besides, gray may be the background color of the web page on which the applet
Modern Java IDEs like Symantec’s Visual Cafe and Inprise’s JBuilder offer advanced applet debugging facilities. However, if you develop your applets using only the freely distributed JDK, it might be
It sometimes makes a lot of sense to throw an exceptionfrom the constructor of a class; look at constructors ofthe java.net.URL for an example. But what do we do if
A call to repaint() will schedule a component to be repainted when the gui thread is free. But what if we can’t wait till then? Well, we can use the
Applets are executed within a web browser, and there’s an easy way to load show a specific URL. 1. Get a reference to the applet context 2. Call the showDocument
Sometimes, it is useful to know which fonts are installed. This can differ from one Java Virtual Machine (JVM) implementation to another. The following code displays the names of all
Sometimes, it is useful to obtain a binary representation of integer, or a character. For example, we might want to represent the character ‘a’ by its binary 01100001, the letter
The java.lang.Math package has useful trigonometric functions such as: public static native double sin(double a) public static native double asin(double a). So, if we write code: double x = 90;
Question: When we call the ShowHelp function in Windows 95, it works with a topic ID but not with a keyword. However, the same source works just the opposite in
A nice touch to a Web page is a button that changes appearance when clicked. All you need is two GIFs and a little JavaScript. The following code initially displays
It is natural to assume that later versions of software will improve performance and fix bugs. However, you may run into the opposite if you try that with an Access
Question: I have a VB application that contains two forms. Form A is a Control Library that contains several Frames, Labels, Text Boxes, and Command buttons. (Note: some of these
Question: I would like some help with implementing inheritance in VB6. Answer: VB, as of the current version doesn’t really support inheritance, all you can do is have one class
Question: I have a form from which I am searching a database.The search is being conducted between a startdate and an enddate.As the default I’d like to have the first
Question: What’s the best way to transfer a file via FTP in Visual Basic? Answer: This is a simple procedure. All you have to do is use the Microsoft Internet
Question: Our Informix 7.31 TC2 server has had some troubles recently. It worked properly for about four or five hours but then it rejected any request! Users who are already
Question: My reports are printed in graphic mode. Is there a way to print my reports in text mode? Answer: The REPORT FORM command has a parameter called “ASCII” that
Question: I am a newbie to C++ and I need to know how to bring up the C compiler in MS Visual C++ 5.0? I am studing C and I
Question: About a year ago we had some data migrated by an outside service from Informix 4.1 to SQL Server 6.5. It appeared at the time that everything went well.
Question: How do I get my application, developed in PowerBuilder 6.0, to manipulate folders in Windows Explorer? I want it to be able to create folders. Answer: PowerBuilder does not
Question: I am writing a Microsoft ISAPI-based application using MFC classes. We need to get access to some of the objects used within the application from an NT service. I
Question: I am using the FileSystemObject in an ASP page to check if a file exsts using the FileExists method. The problem is that I don’t want to hardcode the
Question: Is there a way to put text in an HTML file but only have selected text displayed? In place of an application’s scroll window, I want to put in
Question: What can I add to an HTML file presented in a popup window called by a script to automatically close that popup window after so many seconds? I have
Question: When trying to run the SQL statement, I get this error but I don’t know what it means: Microsoft OLE DB Provider for ODBC Drivers error ‘80004005’ [Microsoft][ODBC Microsoft
Question: When my clients enter searching criteria, I want to limit the number of results. For example, if the number of results is over 100, I want the user to
Question: We are now developing a Java-based remote monitoring systemapplication for our SCSI RAID subsystem products. This application canenable our customers to monitor the status, and change theconfiguration, of the
Question: What is the difference between creating objects using Server.CreateObject and the tag? Answer: The difference is when the object is actually created. Server.CreateObject makes an object whenever the code
Question: I want to open a small ADO recordset from the server and save it the local drive to be used as a disconnected session. Can you tell how to










