Advertisement

Results for "Category: String Manipulation"

C_Volume2 #69171
Unique Serial Number Protection **UPDATED AGAIN - Version 1.5**

This is an example of a method for developing a serial based registration/activation for your software. It develops a 25 digit using the hard disk serial number of the user, and a ProductID which you supply. The user is provided with a request code, which is sent to you, and you send back the serial based on the request code. I've found it to work pretty well. Though I would share it with everyone else. There is negligible commenting in the code, however use the note and help utility to see how the code works, and how each process takes place. Easy to manipulate to meet your need. Hope it's of some use to someone... **UPDATED - Version 1.2** Added new features such as digit swapping and label previews. Also changed certain routines. **UPDATED AGAIN - Version 1.5** Added sample registration form. Good example of how to allow users to paste the whole key into one textbox, and have the program split it to fill up all 5 appropriately...

C_Volume2 #69194
Quicksort Word Tricks

Inspired by Evan Toder's 'EvanSort' I pulled together some of my QuickSort Array manipulation stuff into a single module. Enjoy.

C_Volume2 #69557
ASP Style String Splitter(Parser)

You know ASP and HTML String container. For example www.planet-source-code.com?X=1;R=10. How can I X content from this string ? What's X ? This program is this! Thanx for your vote.

C_Volume2 #69579
Editor (C++ VB Java and more) Real Time Syntax Color

editor real time color it load file for coloring C++ VB etc.. up to file fast code color cool try and you see. please vote for my code

C_Volume2 #69640
Make Uppercase or lowercase in Textbox

how to Make Uppercase or lowercase in Textbox

C_Volume2 #69658
TriState InputBox

With the InputBox you cannot distinguish between the cases a:- Cancel clicked b:- nothing entered and OK clicked because in both cases the returned string is a vbNullString There is a simple trick however as is shown here

C_Volume2 #69748
Printing Special Characters in VB6 - The Good One

Replace the first One, I posted wrongly. My Apologies for the Community. This program print, special characters in different font types like "Symbol", "GreekC", and "GreekS". Please Accept my apologies

C_Volume2 #69762
_Parse Proxies From Cybersyndrome.net_

Parses the non-anon proxies from cybersyndrome.net/pld.html

C_Volume2 #69798
Very Very Basic encryption and decryption routine - but effective

This is a very simple enocde decode routine that I created for a program where I didn't want to store the password in a plaintext string. This routine then came in handy when creating a client/server program where to stop people sending spurious commands to either the server of the client - I encrypted the time in minutes and it was sent with every bit of data - if the time was out by 3 minutes then the server or client discared the data - this is just one example for this bit of code. The routine currently runs 100 times in encryption or decryption but is a for loop - so easy to change - just make sure that the encryption and decryption routines run the same number of times. As an example "Planet Source Code Rocks" becomes "8=EMPT\chipu{$'/49;>?DEHKRY\dehiosuv{}~$+1369;CKQRZ[^`cfglpuw~$%*0479AFKNQSZ]ekry~$*-48:ACHOVW_elrz$D`UbYhrGcifWYr7cXYrFcW_g" The key to the encryption and decryption is the number at the beginning of the string (which is randomly chosen during encryption - and because it is a printable character gets encrypted itself on every subsequent encryption). This routine is for from unbreakable but is going to throw of the person who just wants to quickly find the password.

C_Volume2 #69961
[ Find Function For FlexGrid ]

This is a sample 'FindOnGrid Function For FlexGrid' . This code is made on a request from PSC. This function can search your 'FlexGrid' and will setfocus the cell which containing the text. It can Perform 'WhorlWordOnly', 'MatchCase' search. The additional option , ie searching with the 'cell Backcolor' is also included , which was in the request. I uploaded this code , to get useful to somebody else too. Your comments are welcomed. Good Luck!

C_Volume2 #70023
Text Progress Bar

Give this function a number from 0 to 100, and it will generate a cool progress bar made of text!

C_Volume2 #70025
[ Find Function For TextBox - New Update ]

This is an example of 'Find Function' for TextBoxes.It can perform MachCase,WholeWordOnly search and easy to use.Now updated.I want your 'FeedBack'and never forget to -Rate- this code.Thanks to Rde:-),you strikes once again.

C_Volume2 #70056
VB Real Time Syntax Color With Function List

Super real time color syntax with list of function sub and more also with auto indent you must try it very cool and powerful please vote for me if you like my code thank you.

C_Volume2 #70187
Evaluate

Takes a string and evaluates it, thus giving the user an answer to a string such as "hsin(1)+hcos(1)", which will be e. The evaluator incorporates an error handler, as well as user entered constants. The function is in the module, easily made to be imported to other programs. A demonstration program is included an shows some possiblities. A help file is not included, but will be available by e-mail. An important point, to keep in mind, that almost all functions must be entered in form of sin(45). If a function has one argument, enter it like sin(45), otherwise, put first argument, function, second argument, as in 2+1.

C_Volume2 #70246
Truncate Text with Ellipses

This code will truncate specified text with ellipses. It is very usefull for displaying long strings in textboxes and title bars. It will even truncate a pathname similar to windows.

C_Volume2 #70266
Text Search

This is a simple text search engine I created in less than an hour. It is very fast and usefull. I'm sure it can be optimized so feel free to do so. It will find the specified text and highlight it. Also one can load a file's text into the text box and search it. It automatically finds the next item once the text is found before it. Check this out!

C_Volume2 #70268
World's Fastest Binary Search

This ain't your daddy's binary search tool! Mine goes about 30% faster than his. Why people insist on using the same tired and slow function I'll never know, but it suffers from two glaring weaknesses. First and foremost: are about the slowest way to compare strings! Second: The tired old function assumes that you will find a match more often than not which is slow! My function doesn't suffer from either of these two "features".

C_Volume2 #70396
help tool tip (like in VB)

tool tip it like you type Split and ( then it will show the help like Split(Expression As String, [Delimiter], [Limit As Long = -1], [Compare As VbCompareMethod = vbBinaryCompare]) like in VB

C_Volume2 #70533
PadString Any Side

Pads a string with any character you like. I usually use it to pad numbers with leading zeros. But you can use it for other things.

C_Volume2 #70545
RevEx

RevEx - creates a random alphanumeric string based on a pattern. Think of it as regular expression pattern matching in reverse. Useful if you need to create a random combination of values in a certain format. Letters (lower/upper case) and decimal numbers or any combination or part thereof: boolean, hex, octal values; dates, times, vowels, consonants, phone numbers, zip codes, GUIDs; IP, social security, credit card numbers ... PLEASE VOTE OR COMMENT, THANKS!

Languages
Top Categories
Global Discovery