
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.

Suppose you need to forward-declare class Interest, which is a member of namespace Bank. It would seem that all you need to do is use the class’s fully qualified name:

When working on a large VB application that uses hundreds of COM objects, the “429 can’t create object” error doesn’t give you much help in determining which object could not

The term “real time” has become a buzzword, as in “real time stock quotes” or “real time database queries”. However, neither a database-oriented system nor a NYSE stock ticker running

Not every call of a virtual function is resolved dynamically. In fact, in many cases the compiler resolves the call statically, even if the function is declared virtual. For example:

When developing applications, quite often you end up experimenting with different toolbar icons to test how well they serve their purpose. If you change an icon in an ImageList, you

Question: I am trying to count the number of users (sessions opened) to a given app. It easy enough to increment an Application variable with Session_Onstart and decrement it with

Question: Can I use a global variable in VBScript and make it accessible from any Web page? Answer: There is no such thing as a global variable in Web pages.

Question: Is there any way to programmatically determine the path of the current ASP page on the server? I am trying to access a specific text that I added to

Question: I have a Web page with a form(action=sample.asp),frmProduct. The form has some textboxes (one of which is a key field, sav txtKey) and two submit buttons: one for retrieve

Question: I wrote a DLL in Visual Basic and I want to use its functions in ASP. I created a server.CreateObject(“projectname.classname”) and tried to call some of the methods of

Question: How do I get the number of records from a “select * from dept where deptno = ..”? I want to know how many records are in my recordset

Integrate Microsoft Word 97’s spellchecking capability into VB apps while maintaining formatting within a rich textbox. To test this code:1. Create a standard EXE project in VB.2. Add the RichTextBox

Data-access techniques using cached data on the client for updates is possible using disconnected recordsets. This technique generates collisions in some situations. However, the technique for dealing with collisions rows

To an extent, the orthodox approach of dedicating a separate .cpp and .h file for every class is the way to go. However, in real world programming, you soon find

There are many applications that store numbers in strings that also contain text. For example, some databases store dates as strings in the form of “01Jan”. You can extract the

Question: Can I write statements to add/delete the control objects like command buttonsat runtime like we do in java C++ ? Iam under the assumption that once we populate a

Question: Is there a way to refresh or redraw part of a screen display using HTML and JavaScript without using frames? I want the top 1/4 of my screen to

Question: I am using the eventObj.x and eventObj.y to obtain the position of a link when the mouse is over it to determine where to show a help text box.

Question: I am trying to use document.writeln to write a table onto a floating menu bar. Part of the table cell’s events is Java code. When it reaches the semicolons

Question: In Microsoft Internet Explorer, I can specify a style as TABLE.listTable { font-size : “10pt”} and all the cells of the table will have a 10pt font size. In

Question: We are doing a small site with some ASP content. When we get data from a memo field that has CR/LFs at the end of the lines for formatting

Question: Can I instantiate an abstract class? Answer: No, you cannot instantiate an abstract class. However, you can declare a pointer or a reference to it: class Abs{public: virtual void

When ADO encounters an error, the Errors Collectionis filled with certain specific details on the causeof the error. You can check the Errors collection ofthe Connection object whenever you encounter

You should always use Option Explicit statement in your .asp file. Thisstatement will enforce that you explicitly declare all the variables in thescript. The whole problem: VBScript allows you to

You should always prefer to use Local variables. Local variables reside within functions and subs. They have local scope and limited lifetime. These variables are compiled into numeric references and

Here is a simple way by which you can display a greeting message to a user at the time of login.There are certain scenarios where you can use thisfeature to

The type that a template takes as an argument must have external linkage. This means that you cannot instantiate a template with a locally-declared type: int main(){ struct S {

A function’s signature consists of the function’s parameter list and the parameters’ ordering. A member function’s signature also includes the const/volatile qualifiers (if any) of that function. Signatures provide the

Question: How can I determine the maximum size of an INPUT field? Answer: Although you can certainly use JavaScript to find out the size of your user’s screen or the

Question: How can I create a “browse” facility in my application—something which throws up a dialog box that allows the user to view folders and select one, as in Microsoft











