
Keep Your Projects Intact
VB has always gone out of its way to take care of mundane housekeeping tasks without bothering you with the details. But sometimes the best intentions can create unintended problems.
VB has always gone out of its way to take care of mundane housekeeping tasks without bothering you with the details. But sometimes the best intentions can create unintended problems.
Who says the Select Case can evaluate only one statement? Try Select Case True instead of the If
Make sure the Recordset contains only two Fields in the following order:1st Field – Field Value to be submitted to server2nd Field – Field Value shown in UI Function Function
What if you want to split an array on more than one delimiter? Adding a few lines of code and using recursion can enhance the function to handle multiple delimiters.When
Defining a public property in a user control as Picture (or StdPicture) provides the standard ellipsis next to the property name in VB
When connecting to a database, you should check for errors and return a descriptive user-friendly error message. This code calls an error handler routine after connecting to the database. If
Regular Expressions provide a very powerful and easy method of client side validation. They are also both supported by IE and Netscape. It takes a lot less code, and works
In XSL: ‘define parameter name and set default value In ASP: ‘set xsl objectDim xslFile, xslDocxslFile = “MyXsl.xsl”Set xslDoc = Server.CreateObject(“Msxml2.DOMDocument”)xslDoc.async = falsexslDoc.load(Server.MapPath(xslFile))’pass parameterset param=xslDoc.selectSingleNode(“//xsl:param[@name=’loginName’]”)param.setAttribute “select”,”‘Bill'”
Okay, so maybe you’ve heard of QUALCOMM’s BREW, and mostly what you know is that it’s not something you drink. Get a sip of this, however: BREW?a.k.a. the Binary Runtime