Tip Bank

DevX

Tiling Made Easy

Use this method whenever you need a tiled background on your forms. All you need is an Image control with its Visible property set to False, and a graphic in

DevX

Updates, Uninstallations, and Product Codes

Install and uninstall issues are some of the most common sources of calls to help desks. The following is a tip on an implementation strategy for software updates using InstallShield

DevX

Auto Start the DNS Service in Linux

When the DNS service has stopped, use this code to start it automatically. #! /bin/bashdns_pid=`ps -ax|grep “named -u named” |grep -v grep |awk ‘{print $2}’`if test “x$dns_pid” = “x” ;

DevX

Always Make a Local Copy of an Object

Reading from the object variable is always slower than reading from the local variable. So, if you are reading from the object variable frequently, then save it in a local

DevX

Persist ADO.NET extended properties

Many ADO.NET classes, including DataSet, DataTable, and DataColumn, use the ExtendedProperties property to enable users to add custom information. Think of the ExtendedProperties property as a kind of generic cargo

DevX

Handle child XML nodes with care

When you work with XML documents loaded into an XmlDocument class, you often need to examine the contents of child nodes. The XMLDOM programming interface purposedly provides the ChildNodes property.