
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: Is there a way to change the background color of certain table cells in Netscape? I know Internet Explorer gives you that capability, but I can’t seem to figure
Question: In what order are the clauses executed when resolving an SQL SELECT statement? Does a DBMS first examine the FROM clause to create an intermediate result, or does it
When you are placing controls on a form at design time and wish to edit one of its properties, the quickest way to switch to the Property window is pressing
Often your user interface includes fields whose contents mutually depends on other fields. A typical example is when you deal with conversions from one measurement unit to another. Let’s say
A few API calls require that you pass one or more LARGE_INTEGER arguments. These are 64-bit integer values, defined as follows: Type LARGE_INTEGER lowpart As Long ‘ lower 32-bit value
In many cases you may want to call an API function, but you aren’t sure whether the Windows version the application is running on supports that particular function.The easiest way
There are many different ways to delete all the items in a collection, but some of them are much faster than the others. Let’s start with a collection that holds
Starting with VB5, the Show method supports a second optional argument, that lets you specify which form owns the form that is about to be displayed: Form2.Show , Me A
A reader posted a message on one of the C++ newsgroups recently. He had to port a huge project from Borland C++ 5.0 to Visual C++ 6.0. The project uses
In many C++ primers and courses, one of the common exercises is: “Write a function that reads a string of characters, say, the title of a book, from a keyboard
Here’s an easy way to return the focus to a control after the user clicks on a button on the screen. If you use the keyboard, you can save time
When using the ListView control in list mode (Listview.View = lvwList), no property indicates which column the user clicked on within the selected row. The ListView’s HitTest method returns only
Many times developers use a form’s default font arrow characters for To and From buttons between listboxes. To give your app a nicer, more solid look, do what Microsoft does-use
If you’ve ever tried to type a small program into the Immediate window or the Debug window in Access, you might have found that the style of VB programming you
The STLport organization offers an alternative implementation of the Standard Template Library. You can install the alternative instead of using the existing STL implementation shipped with your compiler. The creators
This code allows you to close all the MDI child forms in an MDI form at once. First, create a menu item in the MDI form, then paste in this
Suppose you want to assign the contents of a two-dimensional array to another two-dimensional array: int weekly_hours[5][5]; // source int another_array[5][5]; // destination You can use a nested loop to
The C++ standard does not guarantee any construction order among static objects defined in different translation units. To demonstrate the effect of this restriction, consider this small application: In a
Question: Is there a way to force a page to load from the server rather than from the cache? The META refresh and onLoad=reload() both just send the page into
Question: I have a shopping cart on my e-commerce site. When people submit their orders, instead of getting an e-mail with their order in it, I want that information to
Question: I encountered syntax in a JavaScript program that I recognized from C/C++ syntax as well. The code was something to the effect of xxxxxx?yyyyyyy:zzzzz. I am fairly sure that
Question: If you have a variable with a numeric value represented as a string, how do you convert it to a numeric type in order to use it in a
Question: I created an ASP page through Microsoft Access. When I click the hyperlink that runs this page, I get nothing back from the query that is run. It’s almost
Question: I used Visual Basic 6 to create an ActiveX control (student.ocx), which the client downloads, and an ActiveX DLL (Math.DLL), which I want to remain on the server. Student.ocx
The class java.net.InetAddress represents an Internet Protocol (IP) address. It has a static method, getLocalHost(), that you can use to obtain an instance of java.net.InetAddress based on your local machine’s
You can use java.net.ServerSocket class to identify a remote machine that is accessing your server. A server socket waits for requests over a network. It then can perform operations based
Question: We are currently using PowerBuilder 6.5. What is the recommended maximum pbl size? Answer: There is no recommended size. In the old days before PowerBuilder 4 there was a
Question: What code do I have to write to get my toolbar to show text? Answer: The toolbar text and other general toolbar attributes are located on the Application object.
Question: In my first application, I want to use a global variable in my second application. How can I do this? Does PowerBuilder offer any method to exchange messages between
Question: How do I loop through a window’s subdirectory and get all the files one by one? I need to save each file in a specific format before saving it
