Tip Bank

DevX - Software Development Resource

Setting the Description of an Add-In

When you use the Add-Ins project template to build your own add-ins, the description of the add-in appearing in the Add-Ins Manager window is always “My Addin.” It isn’t immediately

DevX - Software Development Resource

Pointers to Member Contravariance

A pointer to member of a base class can be converted to a pointer to a corresponding member of its derived class. The opposite, however, is illegal: you cannot convert

DevX - Software Development Resource

Add Remarks to Your Procedures

You can make your code more readable by always adding a remark on top of all your procedures. Create an add-in that makes it fast and easy. First, run New

DevX - Software Development Resource

Making the Image OnClick Work in Both Browsers

Since the introduction of DHTML and client-side scripting, developing Internet applications can be a real challenge. If you don’t have the luxury of a “pure” Internet Explorer environment, there’s a

DevX - Software Development Resource

Disable HTML Elements

HTML elements can be made inactive and non-responsive by using the disable attribute. When HTML controls are disabled, they appear dimmed and don’t respond to user input. This is useful

DevX - Software Development Resource

Run a DOS Command From an HTML Page

This is achieved by using the Windows Script Host. First, create an instance of the object WScript.Shell. Then, use its Run method to execute the DOS command. For example, say