Advertisement

Results for "Category: String Manipulation"

ASP_Volume2 #37689
String Processing Library (Parsing, Translation, Validation)

Library of routines for typical string processing, including parsing, translation, and validation. Routines include: - StrReplace(Text, SearchFor, ReplaceWith, [Compare]) As String - StrSplit(Text, SplitOn, [Compare]) As Variant - FromHex(HexNumber) As Long - LeftPad(Value, Size, [PadCharacter]) As String - RightPad(Value, Size, [PadCharacter]) As String - AreLetters(Text) As Boolean - AreDigits(Text) As Boolean - AreLettersOrDigits(Text) As Boolean - AreInSet(Text, CharacterSet, [CaseSensitive]) As Boolean - ParseN(Text, StartAt, PatternArray, ValueArray, [PosPastEnd], [StopAt], [Compare]) As Boolean Clean code with lots of comments in reusable module. Also includes an extensive reference in HTML. Tested with VB6, but should be compatible with all modern versions and VBScript (with minor modifications). Please vote for this code if you like it.

ASP_Volume2 #37693
Swap Variables 12 times Faster!

Swap Variable1 for Variable2 using API, this is usefull for creating data processing programs with many stored variables. See Info below

ASP_Volume2 #37735
Parse Delimited Text

The code will take a passed string and a delimiter and parse the string into a variant array for reading. Works very well with csv files, etc.

ASP_Volume2 #37750
Manipulate Fonts, learn to change height, width, slant, boldness, and color *Updated*

View any font with custom height, width, slant, boldness, and color. This uses some API, and is very well commented. Check it out.

ASP_Volume2 #37775
StringsNThings

Demonstration project of standard Visual Basic string functions with some custom string functions also included.

ASP_Volume2 #37780
brute force algorithm

it's supposed to return the next password in a sequence of passwords, not random passwords, or a dictionary attack. it's designed to return case-insensitive alphanumeric passwords, but that can easily be changed, i can't help you do that, it's up to you

ASP_Volume2 #37913
Registration Key

A little app that I made to generate a key according to username. Also this app will validate the key. This is a little bit more advanced. Most validation routines actually take the username that is put in, and generates a key for that. Then it will compare that and what the user entered. This leaves a big security hole because anybody with memory editors can actually use the actual program as the keygen. My app actually reverse engineers the key into a username then compares usernames. =) have fun and change it as you like. Also, please vote!

ASP_Volume2 #37993
CReplaceString

CReplaceString is a function that I decided to code when I was bored. Had no idea what to code so I decided to code an advanced ReplaceString function. The concept is simple, it will replace a specified text in the string with something else.

ASP_Volume2 #37994
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:)

ASP_Volume2 #38005
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

ASP_Volume2 #38019
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

ASP_Volume2 #38048
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

ASP_Volume2 #38060
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.

ASP_Volume2 #38079
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).

ASP_Volume2 #38146
ServerDotURLEncode

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

ASP_Volume2 #38196
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

ASP_Volume2 #38262
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.

ASP_Volume2 #38285
A Split Procedure

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

ASP_Volume2 #38301
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!

ASP_Volume2 #38331
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.....

Languages
Top Categories
Global Discovery