devxlogo

Tip Bank

ReverseString – Reversing a String

‘ Reverse the input string, without using the StrRever function in the VB6 ‘ compatibility assemblyFunction ReverseString(ByVal source As String) As String Dim chars() As Char = source.ToCharArray() Array.Reverse(chars) Return

Translate Your Program Easily

If you want your program to be easily translated into a different language, consider making every displayed text a resource in a dll. Every language will have its own .dll

Do Your Web Pages Use JavaScript?

What happens if your visitors have it disabled?Include the following code to: Let them know that JavaScript is disabled. Tell them how to enable it in their browser. To view

Case-sensitive Comparisons

To program a case-sensitive comparison of a user-typed password on a case-insensitive SQL Server 7.0 instance, assume that the value of the password stored in your table is BamBi2000 (notice