
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: How can I catch a double click when the cursor is placed over an edit field? The normal double-click handler doesn’t respond. I need to open a dialog window
Question: How can I structure a database created in Excel? Answer: If you want to use data in an Excel database with Oracle Power Objects,there is no need to create
Question: How can I make Delphi 2 pick me any number within a range I specify (for example, between 0 and 100)?I’m guessing this is a fairly easy thing to
Question: I am developing a radon database for the Ohio Department of Health with Oracle Power Objects. I have two combo boxes. First a choice is made from one of
Question: I’ve created a method I’d like to put in the Object class so it can be inherited by all the other classes. Is there a way to extend a
Question: Can I export or import a Dbase file from OPO 1.016 to another DBMS (Microsoft Access or Visual Basic, for example)? Answer: OPO Version 1 did not support ODBC.
Question: I need to be able to print results of a query to an Excel spreadsheet rather than to a report. I am using the Crystal Reports product included with
Question: How can I open an MDI child form so that it’s initially in a maximized state? Every time I try, it appears in its normal size, then maximizes visibly.
Question: We have a Novell 4.1 network with Windows 95 workstations attached. Some of these Windows 95 stations have printers attached to them. How do we share these printers on
Question: Please describe the basic features of frame relay, and how this technology is best used. Answer: Frame relay is a quickly expanding technology that is helping the internetworking industry
Question: We have a 250-user NetWare 3.12 installation. How can we effectively terminate inactive workstations? Answer: Here are the parameters that control how long an idle workstation is connected to
Question: How can I get rid of the “not logged in” connections in a NetWare 3.12 environment? Answer: In a NetWare 3.12 environment, you can clear the “not-logged-in” workstations by
Question: Can I use strstream functions for incode I/O,i.e. writing to memory just as if it were binaryinput/output to a file? Answer: You can use it to do incode input
Question: I have been doing some programming in C++ and recently decided I would try some Windows programming with the Microsoft Foundation Classes. This isn’t a question about Windows but
Question: How do you clear a character array? Answer: You can use the standard C library memset function. Here is an example:void foo (){ char t [20]; cin >> t;
Question: Is there a way to explicitly declare the number of bits to allocate to a specific variable? For example, can I declare an integer that would be stored in
Question: Do you know of any good C/C++ mailing lists? I’m a computer science major and I’d like to join one. Answer: I am not aware of any mailing lists
Question: How portable is C++ as a programming language (in terms of different operating systems andhardware)? Answer: C++ is a fairly new language that until recently did not specify anystandard
Question: I am using Borland Turbo C++ 3.1 and I can’t figureout how to use my self-defined libraries. I’ve used”#include” but I get an error every time I try touse
Question: Which arguments do you receive when you overload . and -> , and what do you do with the arguments? I know that for overloading [] you receive the
Question: Can you explain and give me examples of pure virtual function? What is the difference between pure virtual function and virtual function? Answer: A pure virtual function is a
Question: I often need to split a string into a number oftokens based on delimiters specifiedby the user. I would appreciate information on how to tokenize a string in a
Question: In several programs, I need to use integers larger than those that can be held by unsigned long ints. I need to be able to multiply, divide, and mod
Question: In C, I use the FILE *filename. As a beginning C++ programmer, I open streams for reading and writing inside the main() function, but when I try to work
Question: Which model of C/C++ compiler offers the best value for a beginning programmer?(It must be ANSI C compatible.) Answer: The GNU G++ compiler. It’s free, ANSI C compatible and
Question: Is it possible to read integers from a file as integers, or must I read them as strings and then convert them to integers? Answer: In C++ the streams
Question: I need to know what the class or function called “friend” is. My teacher explained it in class, but I don’t quite understand how to call it and declare
Question: What is the proper way to dynamically allocate a 2D array using the new operator?Here’s a code fragment:int num = 50;int **stuff;stuff = new int[num][num];My compiler (g++) returns the
Question: This is actually a simpler form of the real problem I am dealing with. I have a array of char like so:char name[20];Then, I try to put a string
Question: How can I provide my own predicate for the list::sort method in Visual C++ 5.0? The method appears to require that any function object passed must be derived from