
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 it possible to rotate a column 90 degrees in a PowerBuilder (5.0.04) datawindow so that the data print up and down instead of the usual left to right?
One of the simplest and most effective uses of the ObjPtr function is to provide a key for quickly locating an object in a Collection. Let’s suppose you have a
You can retrieve and change the blink rate of the flashing caret inside TextBox controls through a couple of simple API functions: Private Declare Function SetCaretBlinkTime Lib “user32” (ByVal wMSeconds
The ConfigurePort API function lets you programmatically bring up the system dialog box for configuring a COM or LPT port. The function returns a non-zero value if successful (that is,
It might surprise you to learn that Friend procedures are sensibly faster than Public ones. You can prove this yourself by creating an ActiveX EXE project with one Private class
VB6 functions can return an array. Unlike regular functions that return scalar values or objects, however, you can’t use the name of the function as a local variable where to
As explained in the Mistake Bank you need all three flavors of Property procedures to correctly implement a Variant property that can take either an object or a non-object value.
The ListView control that comes with VB6 lets you select an entire row by setting its FullRowSelect property to True. If you are working with VB5 or you’re using VB6
Creating a read-only property or a write-only property isn’t difficult, as you probably know: just omit the Property Let (or Set, if dealing with objects) or the Property Get procedure,
The Open statement also supports special device names such as COM1 or LPT2. You can build on this feature and use the Open command to test whether a given serial
VB gives you no control on the size of the text caret. At times it can be necessary to change its size, however, for example when you want to signal
You can use the Navigator object to retrieve information about the browser that is executing your code. Using this object, you can decide to execute different code for different browsers.
The Active Server Pages Session object provides a quick way to password-protect your pages and force users to log in. The trick is to set a Session variable once the
Some users have spent frustrating hours trying to add a data connection to a Visual InterDev 6 project but only get the error, “No such interface supported.” This is often
Many of the C Runtime Library functions are in fact macros in disguise. < stdlib.h> routines, memset(), strcpy() and others are often implemented as macros that perform some low-level system
You cannot forward declare a nested class. For this reason, the following code will not compile: // assuming class B is nested in class A int main() { class A::B;
n previous 10-Minute Solutions, I have covered how to retrieve data from a database and display it in the browser. The complement to that functionality is getting data from the
pen Source Java development tools are finally on the rise and the GNU Compiler Collection (GCC) is helping to lead the charge. GCC was originally just a C compiler, but
Editor’s Note: Code in this Solution has been updated since its original publication. ne of the virtually forgotten features of Visual Basic is the ability to accept command-line parameters when
With pages that are generated dynamically, you can’t provide a hardcoded link back to the previous page. However, ASP often provides you with the name of the page that contained
The best way to avoid syntax errors and unnecessary typing is to store frequently used code in the Visual InterDev toolbox. It takes a few seconds and it saves hours
Although SQL Server 7 is the more robust and scalable database for full-text searching, many developers still use Microsoft Access for less-demanding database applications. You can search an Access database
The Visual InterDev label script object is a quick way to display text on your Web pages. Trouble is, the data from your recordset may contain line breaks that the
Question: When executing a system call, how can I return a value back? My program will already return a value back. Example: String blah = system(“some command”); Is this correct?
Question: In my computer science class our teacher wants us to find information about Bool.h, which is supposedly in C++. No one in my class can find anything. Also, we
Question: I’ve always used memset() in C to do char array initialization, but in C++ is it normal/acceptable practice to initialize a char array during declaration using this syntax? char
Question: I’m trying to make two classes point to one another. I know the syntax is weird, but it’s just to illustrate: class x{ y* ptry; }class y{ x* ptrx;
Question: I have two questions. How do I pass an array of objects as an argument? How do I fix an error like “do or while loops are not expanded
Question: I would like to know if it is possible to insert objects of different types in the same STL list. I have an object A and two objects AB
Question: I am a Computer Science student, and I am trying to compile a program where I use multiple files and my own header file for the first time. But










