Parsing and validating string dates
If you have a string variable that should specify a date (asked in input to the user, for example), you can parse the string and get a Date variable by
If you have a string variable that should specify a date (asked in input to the user, for example), you can parse the string and get a Date variable by
In VB6 there was no easy way to create multiline tooltips for form controls, you necessarily had to resort to API tricks. And it was probably just not worth the
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
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
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 (“”); }
I first used this function in the VB4 days when CommandButtons didn
Have you ever had a zero-length string parameter fail when attempting to execute a stored procedure from ADO? You
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