Tip Bank

DevX - Software Development Resource

Run Time Object / Control Management

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

DevX - Software Development Resource

Nested Quotes and JavaScript

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

DevX - Software Development Resource

Refresh Part of a Page

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

DevX - Software Development Resource

Set Font Size in Tables Using DHTML

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

DevX - Software Development Resource

Abstract Classes

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

DevX - Software Development Resource

Always Use Option Explicit

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

DevX - Software Development Resource

Always Prefer to Use Local Variables

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

DevX - Software Development Resource

Display Greeting Message

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