There is no function in ASP to count number of words in sentence or long string. Bellow is very simple function that count number of words and return that count.
< %
Function CountWords (StrValue)
Dim iWords, mLengthWithSpaces, mLengthWithoutSpaces
‘ following line calculate the actual length of string
mLengthWithSpaces = Len(StrValue)
‘ following [...]
Posted in Programming, Visual Basic
No Comments »
The StretchBlt function copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary. Windows stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Declare Function StretchBlt Lib “gdi32″ Alias “StretchBlt” (ByVal hdc [...]
Posted in Visual Basic
1 Comment »