Advertisement

Results for "Category: String Manipulation"

2_2002-2004 #124747
Script Engine (not script control)

Scripting engine based off pointers and OP codes. Updated 4/6/02(I fixed the order of operations problem, I think:)

2_2002-2004 #124758
Code Statistics / Unused Variable Finder

This will get various statistics about your code, from how many blank lines you have, to how many variables you have declared. This is basically the same as my last version (Code Statistics v3), with a few improvements on the code scanner, and a new feature that lists the amount of variables you declared but never used. Just a note though, it will also list any unused event parameters. Let me know what you think - Eric

2_2002-2004 #124772
GetList32 - Get 32 Bit Listbox Text with VB3

This code will get text from listbox's on 32 bit software using VB3. I've been trying to find a way to do this for a long time now. It was not possible in the past because getting listbox text using vb3 for 32 bit programs, required User32 and Kernel32 which vb3 did not allow. So I looked and looked for a way to do it and I found it. A DLL called "Call32.dll" allowed me to use 32 bit dll's. So here it is. If you like the code, please vote for me. Also, if someone can lead me on the right path for creating a .HLP file in vb3, I will create a help file on using Call32.dll. Jeffrey C. Tatum - http://www.oaknetwork.com/vb

2_2002-2004 #124801
Change Colour of Specified Text (Like HTML tags) in a RTF Box

This sifts through all the text in a RTF file and changes the colour of html tags. It can be used ewither automatically or on the fly (as you type into the RTF box). It currently Chnages the colour of html tags (defined as anything between "") and html comments (""). Enjoy! Please mail me with suggestions

2_2002-2004 #124813
Math Expression Parser

The zip includes an Expression Parser Class that parses and computes mathematical expressions (such as "-pi * sin(50 + 3 * 4) / -3"), and a demo client application. The parser supports built-in and user defined constants and built-in functions. Also, it demonstrates a variety of error-handling and VB tricks.

2_2002-2004 #124832
Shuffle/Rearrange Items in a listbox.

Demonstrates how to add an item to a listbox in any desired index. (i.e. Add an item between the 2nd and 3rd item in a listbox.) Demonstrates how to shuffle/rearrange items in a listobx (i.e. Moving an item "up" or "down" the list at runtime).

2_2002-2004 #124899
ServerDotURLEncode

Used by VB applications that want to lightly (without any additional project references) transform unsafe characters into web-friendly URL Encoded text.

2_2002-2004 #124949
Increment Serial Number

Increments any serial number string up to the length of the original string passed to the function. Allows serial string to have delimiters. This could be useful to anyone that require automatic incrementing of a number, such as a job number, receipt number, etc

2_2002-2004 #125015
Easy String Manipulation

I really don't like Database's so I came up with a new way to do it without all the hastle. I am not saying it is great, but its a quick fix. More file saving tasks must be implemented but so far so good.

2_2002-2004 #125038
A Split Procedure

Splits a string into an array. If you send a " " it will split all the words into each array position.

2_2002-2004 #125054
Project Executable Protection: CRC32 Checksum Validation, a MUST have for all programmers

A MUST have for any VB programmer - protect your project .exe file with CRC32 checksum validation - makes it virtually impossible for crackers to make software patches for your exe!

2_2002-2004 #125084
A Good 'IntelliSense' Function. (Auto-Complete) For TextBoxes

Like IE4 and IE5, this module when setup with your TextBoxes, will make repetitive data entries easier for your users. For example, if "hello" had been typed into the TextBox earlier, at a later date, all the user has to do is type "h" and the rest of the word will appear. Just in the style of IE4. This stores all the keywords in a file named after the TextBox specified. It automatically adds new words to this list when the user presses Enter on the keyboard. Even though I've uploaded it as a ZIP, it's not because it's hard, but to make it easier to understand how it's working.....

2_2002-2004 #125102
_A Smart String Comparison

This takes 2 strings and returns the percent alike that they are. (i.e. "test string number 1" is 86.48% similar to "teststring numb 2") This function is very useful! You can use it in databases to match data that may have errors in it. Examples being people's names, company names, addresses, or anything else where you may encounter misspellings or inconsistencies in the data. Your feedback and/or votes are greatly appreciated! -- NEW - updated to use byte arrays instead of strings, 50-300% performance improvement! An implementation of the , Ratcliff/Obershelp/Levenshtein method.

2_2002-2004 #125109
Uppercase The First Letter Of Every Word Inside A String With Only 1 Line Of Code

This will uppercase the first letter of a every word in a string. For Example "this is a string" -> "This Is A String". You need only 1 line of code.

2_2002-2004 #125113
AlphaConvert

Converts two character strings of A-Z or AA-ZZ into integer equivalents. Example: User inputs "A", returns 1, user inputs AE, returns 110 and so on.

2_2002-2004 #125124
Total String Manipulation!

Several examples on how to totally manipulate a string. How to Reverse Strings, Add Spaces, make a string "Elite", etc. Also demonstrates how to get letters from a string and add to them or remove them. It is heavily commented and should really help a lot of people. Cool stuff. (:

2_2002-2004 #125125
String trimmer

Just a little snip of code that lets you trim a specified number of characters from either side of a string.

2_2002-2004 #125177
Two Complete Parsing Functions. Easy to use.

Allows you to parse strings like those excel spread sheats. Example : Text1.Text = "Me,You,Us" MsgBox(Parse(Text1.Text, ",", 1)) Would return "Me"

2_2002-2004 #125264
BBMultiFind

Compares a string to a list of items in another string, and returns how many matches are found

2_2002-2004 #125322
Expanding/Contracting Dynamic Text

This sample demonstrates a text effect whereby text drawn on the form expands and contracts (i.e., the width and height are continually increased then decreased). For more my code samples visit my personal web site: click above on my full name.

Languages
Top Categories
Global Discovery