Tip Bank

DevX - Software Development Resource

Changing the project’s output type

When you start developing an application, the first thing you do in VS.NET is creating a new project and selecting its type: Windows Forms application, Class Library etc. However, it

DevX - Software Development Resource

Boundless Array Indexing

Use this function for getting the 10th next element from an array with “circular” contents such as “Monday,” “Tuesday,” and so on: intCurrent = WrapIndex(Index:=intCurrent, _ Move:=+10, UpperBound:=6) You don

DevX - Software Development Resource

Open a ToolBar Dropdown Menu

VB6 introduced a new Style=5-tbrDropDown of the Button object for the ToolBar control. In this case, you can add one or more ButtonMenu objects to the current Button. Unfortunately, you

DevX - Software Development Resource

Applying Different Stylesheets Across Various Browsers

function IsIE(){ var str=newString(Request.ServerVariables(“HTTP_USER_AGENT”)).toUpperCase(); return (str.indexOf(“MSIE”)>-1)?true:false;}if(IsIE()==false){ Response.Write (“”); } else{ Response.Write (“”); }

DevX - Software Development Resource

Dynamic Copyright Date

This little bit of code keeps webmasters from having to update copyright dates at the beginning of every year. Put it in the body of your HTML. Don’t forget to