
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.

It can be very useful to have a central public function for manipulating themouse pointer in a Visual Basic application. This function can help youorganize how the hourglass is shown

Always be careful when checking adoRS.Fields(i).Name, the stringfor this property is case sensitive. If in a database there’s a field named BANK_BALANCE_AMT,RS.Fields(i).Name will not recognize “bank_balance_amt”: In such a case

The standard locale framework was added to ANSI/ISO C++ in 1994. In essence, it consists of template classes called “locales”, which use facets. A facet represents a certain cultural convention

Consider the following class: class A{public: A(int size);private: int size;}; You can initialize the member size in at least three forms: A::A (int size) : size (size) { } //

Although you can allocate multidimensional arrays manually, as in: int (*ppi) [5]=new int[4][5]; // parentheses required // fill arrayppi[0][0] = 65;ppi[0][1] = 66;ppi[0][2] = 67;//

Remember that functions defined inside the class definition are implicitly inline. Therefore, the inline keyword is redundant in the definition of the member function of the following class: class Employee{public:

To copy the contents of one file into another, use the fstream classes. First, open the source file using an ifstream object, then create a target file using ofstream, and

Imagine you have an enormous object serialized on disk that you are using in memory, or that object is loaded in memory. You want to allow the garbage collector (GC)

One of the easier ways of implementing an event-driven programming model is through passing function pointers which are invoked when an event occurs. But because Java doesn’t support the notion

Debugging is a core part of application development in Java. Programmers tend to use System.out.println & System.err.println in the code everywhere, which becomes uncontrolled as the program evolves. This becomes

If you’ve tried using the Java Plugin to test your Applets and got a mysterious “Security Exception,” then you’ve run into a known, but unadvertised bug. For a complete description

Accessor methods are those methods which provide access to the values stored in instance field. Mutable objects are those objects which providen certains methods which can change the instance data

Question: Why does my if statement if (final == “NaN”) { window.alert(“You…are…a…dunce. Hit reload to try again.”);} fail to detect when final is “NaN”? It always goes straight on to

Question: Is there some way to write a function that converts a date that is in seconds since December 31, 1969, into a normal date format? Like this: date from

Question: When encrypted information is being interchanged between a client and a “secure” server through WAP, does the information ever lie decrypted on the WAP gateway or does the client

Question: How do I pass arguments from a Unix shell onto SQL for various SQL statements (e.g., select * from $tablename, create table $TABS, etc.)? Also, how do I get

Question: Is it possible to disable the user’s right click button using JavaScript? Answer: Is it possible? Yes. Oh, you wanted to know how to do it… Keep in mind,

Question: How do I make a child window go behind its parent window when a button is clicked? I know self.focus() brings a window forward. I need the opposite of

Question: How do I block an e-mail address from sending messages to our server? A former employee keeps sending messages from his outside account to our current employees. I have

Question: I am using onblur method on text fields. Based on Validation I want to put the focus back on field. function fldfocus(fldname) {if (navigator.appName==”Netscape”) {document.Layers[fldname].Focus();else {document.all[fldname].focus();}} On Netscape it

Question: I created my own map class (called it Mapper) by creating a template class and deriving from STL map container class. I did so because I wanted to have

Question: In order to have better maintainability and optimum performance, how many levels of inheritance do you recommend ? Answer: Performance is not affected by the depth of inheritance. The

Question: I see search pages that allow text input, then pressing the ENTER key is the same as pressing a link or pushbutton. How is this done? Answer: If a

You should not use query strings when you are passing hidden information and when you are passing large chunks of data. A query string is not hidden in any way

This ActiveX gives you the complete control over the mouse. The MouseEnter and MouseLeave events tell you when the mouse cursor enters or leaves any control on the form, which

couple of months back, I took it upon myself to clean up the VB Sample Bank code. The original goal was to modify the code just enough to use the

‘ Return a collection with all hidden types of a type library” VB’s Object Browser hides some types in a type library:’ you can show these types by right clicking

‘ return a collection with names of all the class names’ of a type library that implement a certain member.” MEMBERNAME is the name of the property or method’ MEMBERTYPE

‘ Returns a bit-coded value that specifies the type of’ an object’s member (property, method, event)’ or zero if the member isn’t there’ Object is the object which you want

‘ Return all classes of the type library specified in’ TypeLibFile parameter that support a certain interface.’ the interface can be specified as an Object or through its IID’ Be











