Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 2 of 3) 84 Result(s) found 

 

InStrRev - A replacement for VB6's InStrRev under VB4 and VB5
Total Hit (1872) «Code LangId=1»' A replacement for the InStrRev function under VB4 and VB5 ' ' NOTE: uses the StrReverse function Function InStrRev(ByVal Text As String, Search As String, _ Optional ByVal Start As Long = -1, Optional ByVal CompareMethod As _ VbCompareMethod = vbBinaryCompare) As Long ....Read More
Rating
InstrRev - Backward Instr for VB4 and VB5
Total Hit (1711) «Code LangId=1»' A clone of VB6's InstrRev function (including its quirks) ' that works under VB4 and VB5 Function InstrRev(StringCheck As String, StringMatch As String, _ Optional Start As Long = -1, Optional Compare As VbCompareMethod = _ vbBinaryCompare) As Long Dim index As ....Read More
Rating
InstrTbl - Search a string for any character in a table
Total Hit (1645) «Code LangId=1» ' If INCLUDE is True or is omitted, return the first occurrence of a character ' in a group ' or zero if SOURCE doesn't contain any character among those listed in TABLE. ' If INCLUDE is False, return the first occurrence of the character in SOURCE ' that does not appear in TAB ....Read More
Rating
InstrTblRev - The last occurrence of a char in a table
Total Hit (1822) «Code LangId=1»' If INCLUDE is True or is omitted, return the last occurrence of a character ' in a group ' or zero if SOURCE doesn't contain any character among those listed in TABLE. ' If INCLUDE is False, return the last occurrence of the character in SOURCE ' that does not appear in TABLE. ....Read More
Rating
InstrWord - Search a whole word
Total Hit (1555) «Code LangId=1»' Return the next occurrence of a whole word Function InstrWord(start, Text, search, compareMethod) As Long Dim index As Long Dim charcode As Integer ' assume the search fails InstrWord = 0 index = start - 1 Do ' search the next ....Read More
Rating
InstrWordEx - Find a whole word, with your choice of delimiters
Total Hit (1707) «Code LangId=1» '------------------------------------------------------------------------ ' This enum is used by both InstrWordEx and ReplaceWordEx ' ' It uses a binary value to determine what separator characters are allowed ' bit 0 = allow spaces ' bit 1 = allow symbols ' bit 2 = allow cont ....Read More
Rating
IsCharType - Check whether a character is alphabetic, a digit, a space, etc.
Total Hit (1901) «Code LangId=1» ' Return True if a character belongs to a given catagory ' ' CHARTYPE can be the sum of one or more of the following values ' 1 = Uppercase alpha char [A-Z] ' 2 = Lowercase alpha char [a-z] ' 3 = Alpha char [A-Z,a-z] ' 4 = decimal digit [0-9] ' 7 = alphanu ....Read More
Rating
IsNullString - Check whether a string contains white-spaces
Total Hit (1963) «Code LangId=1» ' Return True is a string is made only of spaces, tabs, and Null characters. ' This function is especially useful to test whether fixed-length strings ' are initialized. Function IsNullString(Text As String) As Boolean Dim i As Long For i = 1 To Len(Text) Se ....Read More
Rating
IsStringLower - Determine whether a string contains only lowercase chars
Total Hit (1603) «Code LangId=1» Private Declare Function IsCharLower Lib "user32" Alias "IsCharLowerA" (ByVal _ cChar As Byte) As Boolean ' Check is the specified string is composed only by lower case characters (no ' digits and no special chars) ' Example: ' MsgBox "Is lower case? " & IsStringLower ....Read More
Rating
IsStringUpper - Determine whether a string contains only uppercase chars
Total Hit (1897) «Code LangId=1»Private Declare Function IsCharUpper Lib "user32" Alias "IsCharUpperA" (ByVal _ cChar As Byte) As Boolean ' Check is the specified string is composed only by upper case characters (no ' digits and no special chars) ' Example: ' MsgBox "Is upper case? " & IsStringUpper(" ....Read More
Rating
IsValidCreditCardNumber - Check whether a credit card number is valid
Total Hit (1695) «Code LangId=1»' Validate a credit card numbers ' Returns True if valid, False if invalid ' ' Example: ' If IsValidCreditCardNumber(Value:="1234-123456-12345", IsRequired:=True) Function IsValidCreditCardNumber(Value As Variant, Optional ByVal IsRequired As _ Boolean = True) As Boolean ....Read More
Rating
IsValidPhoneField - Check whether a phone number is valid
Total Hit (1671) «Code LangId=1»' Validate attributes of Phone data ' Returns True if valid, False if invalid ' ' Also returns the phone in formatted fashion (USA format). ' Will convert alphabetics to numeric ' 'Example: ' If IsValidPhoneField(Value:="3034414444", ReformattedPhone:=strNewPhone, ' ' ....Read More
Rating
Join - A replacement for VB6's Join function under VB4 and VB5
Total Hit (1628) «Code LangId=1» ' A replacement for the Join function under VB4 and VB5 Function Join(arr() As String, ByVal Delimiter As String) As String Dim index As Long For index = LBound(arr) To UBound(arr) - 1 Join = Join & arr(index) & Delimiter Next Join = Join & arr(UBound ....Read More
Rating
JoinQuote2 - A Join variant that works with 2-dimensional arrays and quoted strings
Total Hit (1503) «Code LangId=1»' Join variant that works with ' bi-dimensional arrays of any type ' and that encloses string values between quotes ' ' ARR is the 2-dimensional array whose element must be joined ' ROWSEPARATOR is the separator for rows (default is CRLF) ' COLSEPARATOR is the separator fol colu ....Read More
Rating
JoinQuoted - A Join variant that encloses string values in quotes
Total Hit (1606) «Code LangId=1»' Join variant that works with arrays of any type ' and that encloses string values between quotes ' ' ARR is the array whose element must be joined ' SEPARATOR is the separator char (default is comma) ' QUOTED is the character used to quote string values ' use a two-char st ....Read More
Rating
NumberToWords - Convert a number into its string representation
Total Hit (1852) «Code LangId=1» ' Convert a number into its textual equivalent. ' ' Pass True in the second argument if you want a null string when ' zero is passed. ' This is a recursive routine that is probably the most concise ' routines that solves the problem Function NumberToWords(ByVal Number As L ....Read More
Rating
PermuteString - Generating all possible combinations out of a string
Total Hit (1826) «Code LangId=1»' Generates all combination possibilities out of a string Public Function PermuteString(ByVal Ztring As String, Optional Base As String = _ "") As String Dim TmpStrArray() As String, I As Long ' If there's only 1 element then If InStr(1, Ztring, " ", vbTextC ....Read More
Rating
PhoneNumberFromString - Convert a phone string into a number
Total Hit (1555) «Code LangId=1»' convert a telephone string into a phone number Function PhoneNumberFromString(ByVal PhoneString As String) As String Dim i As Integer Dim acode As Integer Const PhoneDigits = "22233344455566677778889999" ' prepare result in uppercase PhoneNum ....Read More
Rating
PrintF - Transforming template strings
Total Hit (1750) «Code LangId=1»' This VB6 function returns a string with a set of parameters replaced with ' variables, similar to the C function printf(). Public Function PrintF(strMask As String, ParamArray Values()) As String On Error Resume Next ' pass in a mask with variables in the order of \0 ....Read More
Rating
RandomString - Generate a random string using a mask
Total Hit (2305) «Code LangId=1»' generate a random string ' ' the mask can contain the following special chars ' ? : any ASCII character (1-127) ' # : a digit ' A : an alphabetic char ' N : an alphanumeric char ' H : an hex char ' all other chars are taken literally ' Example: a random-ge ....Read More
Rating
ReplaceArgs - Replace numbered placeholders in a string
Total Hit (1585) «Code LangId=1»' Replace placeholders in the form @@1, @@2, etc. ' with arguments passed after the first one. ' For example, calling this function with ' res = ReplaceArgs("File @@1 not found on drive @@2", "README.TXT", "C:") ' it returns the string ' "File README.TXT not found in drive ....Read More
Rating
ReplaceChar - A faster version of VB6's Replace function, for single-char replacements
Total Hit (2396) «Code LangId=1»Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As _ Any, pSrc As Any, ByVal ByteLen As Long) ' This is a replacement for the "Replace" function provided by VB6, ' though for single character replacements only. The speed difference varies, ' depe ....Read More
Rating
ReplaceLast - Replace the last occurrence of a substring
Total Hit (2126) «Code LangId=1»' Replace the last occurrence of a string Function ReplaceLast(Expression As String, Find As String, ReplaceStr As String, _ Optional Compare As VbCompareMethod) As String Dim i As Long i = InStrRev(Expression, Find, , Compare) If i Then ' the search s ....Read More
Rating
ReplaceMulti - Multiple string replacements
Total Hit (1856) «Code LangId=1»' Perform multiple substitutions in a string ' The first argument is the string to be searched ' The second argument is vbBinaryCompare or vbTextCompare ' and tells whether the search is case sensitive or not ' The following arguments are pairs of (find, replace) strings ' ....Read More
Rating
ReplaceWord - Replace whole words
Total Hit (1722) «Code LangId=1»' Replace a whole word Function ReplaceWord(Source As String, Find As String, ReplaceStr As String, _ Optional ByVal Start As Long = 1, Optional Count As Long = -1, _ Optional Compare As VbCompareMethod = vbBinaryCompare) As String Dim findLen As Long Dim rep ....Read More
Rating
ReplaceWordEx - Replace whole words, with your choice of delimiters
Total Hit (1773) «Code LangId=1» Option Explicit '------------------------------------------------------------------------ ' This enum is used by both InstrWordEx and ReplaceWordEx ' ' It uses a binary value to determine what separator characters are allowed ' bit 0 = allow spaces ' bit 1 = allow symbols ....Read More
Rating
ReplicateString - Replicate a string a given number of times
Total Hit (2187) «Code LangId=1»' Replicate a string a given number of times Function ReplicateString(Source As String, Times As Long) As String Dim length As Long, index As Long ' Create the result buffer length = Len(Source) ReplicateString = Space$(length * Times) ' do the multiple co ....Read More
Rating
ReverseFullName - Convert a full name into the "LastName, FirstName" format
Total Hit (1623) «Code LangId=1»' reverse a full name ' ' for example: ReverseFullName("John A. Smith") ==> "Smith, John A." Function ReverseFullName(ByVal FullName As String) As String Dim i As Long ' search for the last space FullName = Trim$(FullName) i = InStrRev(FullName, " ") ....Read More
Rating
Soundex - Determine the phonetic code of a word
Total Hit (1900) «Code LangId=1» ' The Soundex code of an alphabetical string ' ' you can use Soundex code for phonetic searches ' Beware: this isn't bullet-proof! ' ' UPDATE: this version corrects a bug in the original routine ' thanks to Edward Wittke for spotting the mistake Function Soundex(By ....Read More
Rating
Split - A replacement for VB6's Split function under VB5
Total Hit (1828) «Code LangId=1» ' A replacement for the Split function under VB4 and VB5 ' ' Note that the return value is a Variant that contains ' an array of strings Function Split(ByVal Text As String, Optional ByVal Delimiter As String = " ", _ Optional ByVal Limit As Long = -1, Optional CompareMe ....Read More
Rating


(Page 2 of 3) 84 Result(s) found  1 2 3

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.