devxlogo

Tip Bank

Lock the Back Door Too

An extended stored procedure called xp_cmdshell causes SQL Server to spawn a command shell and execute the command given as a parameter. For example, xp_cmdshell ‘dir c:mssqlackup’ would return a

Getting a Reference to the Parent Frame

Instances of java.awt.Dialog are often used to display error messages in an application. As a result, you may find yourself writing a component that displays a message in a Dialog

Hiding Drop-Down Tabs

Question: Is there an easy way to hide a drop-down tab without using the mouseout, mousemove, or mouseover events? These dynamic drop-down tabs are layered and in a framed page.

Batch files won’t run

Question: My batch files don’t run anymore. I’ve changed the association for editting them, and now that is the default action. Also, the “add” button is disabled in the edit

Windows Standard Color Dialog

Question: How can I call the Windows color dialog box in Powerbuilder 6.0? Answer: To use the Windows standard color chooser dialog, you will need to declare and use some

String Substitution

Question: How can I find and replace a substring of a String? Answer: The String class is immutable. That is, once you have created a String, you cannot change its