Advertisement

Results for "Category: String Manipulation"

7_2009-2012 #218229
a clean Text Encryption/Decryption module

This code will take your text and encrypt it so that it is completely non-readable. I am sure that is someone studied the output long enouch they might be able to break the code, but it would be tough. You can see how easy it actually is to encrypt/decrypt text. It cover all basic letters and most special characters. If you can see it on your keyboard then that character has been covered. Later versions of this code will be much more complex in the way it encrypts the text. and I may include a feature that will require a key to unlock the text. Have fun. Peace

7_2009-2012 #218231
Forms to Database the fast and easy way

Have you ever had a serious crunch time for writing code and finishing the project on time? Then this may help you out a bit especially if you do a lot of work with data storage. The basis and structure of this code can also be used for many things. The main object we will be working with is a collection object,(namely the Request.Form collection). This can also be used with Arrays and Session variables and anything that can hold a collection of values. You will see how we go through each item in the collection and assign the data that that collection variable is holding to a database with fields matching the same name of the items in the collection. The For..Each..Next statement is a very powerful method that can save you a lot of time. Have fun with this and fill free to use it in any variation you see fit.

7_2009-2012 #218234
A Pig Latin Text Converter

This code does nothing more than take a word or phrase and convert it to Pig Latin. Now, it is not finished, as I need to somehow figure out how to take in account punctuation. It is almost there, tho, and any suggestions would be nice.

7_2009-2012 #218282
One-liner - determine whether a string is alphanumeric

This one-line function returns whether or not a string consists of only the characters A-Z, a-z, and 0-9.

7_2009-2012 #218285
Add Colored Text to RichTextbox

Adds the text to a textbox, checking for length overflow. First, it checks, and if the textbox exceeds 15,000 characters, it strips out all but the last 2000 characters to make room for the new text. It doesn't break in the middle of lines - it only deletes 'whole lines.' Then it adds the text to the end, using the color you specified (if any), and scrolls to the end of the textbox. I use it all the time, got tired of cutting/pasting out of old projects, thought I'd put it here on PSC.

7_2009-2012 #218340
a 10 line encryption/decryption program

This is a encrypt/decrypt program thats only 10 lines long!!! all it uses is 2 simple fonts to encrypt, times new romand for the text and Money for the encrypted text! please tell me if you like it:)

7_2009-2012 #218353
Cipher/Decipher

Well I found parts of this code on the net but all in all, I wrote most of it. I hope that you like this. I added functions to copy and paste in this version. So please be sure to let me know how you like this code.

7_2009-2012 #218376
Trim all those EXTRA spaces

VB forgot to add a Function strip out all those LEADING, TRAILING and EXTRA spaces in ONE Function. I have seen many attempts at doing this but think mine does it in the least amount of code. Note: = literal SPACE

7_2009-2012 #218491
Rich To HTML

A function that converts rich text to standard HTML with the use of calling one simple function. Example form included. NOTE: The Microsoft RichTextBox Control is required.

7_2009-2012 #218505
Generate a random string, with a length within a range.

This code will take a range (lower and upper), and output a string of random characters (0-9, A-Z, a-z). I use this to generate a key for encryption, during the key negotiation phase of a connection to an encrypted server. Usage is simple: Dim sKey as string sKey = GenerateKey(10,100) ' this code generates a key with a length between ' 10 and 100 characters.

7_2009-2012 #218551
Get the binary inverse of a string

This code is the equivalence of the bitwise complement C opertator (~), except this only works on strings. I got tired of not having this capability, so I wrote it =)

7_2009-2012 #218582
Task Manager

This is a task manager online. What this does is allow a group of people working on a rather large, or even simple project to put down tasks or ideas that are related to their project. I use this for my school assignments and the current web site that a group of my friends are currently working on. This Task manager has a whole lot of features that have not yet been implemented but you have the ability to add tasks, asign yourself to tasks and also edit tasks (if you are working on them). On the main screen you will see a list of all the tasks sorted by importance. If you wish to sort the list by a different order, just click one of the headings ('In Charge' 'Date') etc. You will also notice that according to the level of importance, the colour differs (red for level 1, yellow for level 2, green for level 3). This code teaches how to use SQL statements to access, update and insert data into a database. It teaches how to use the server() function in asp, and also teaches how to use cookies for login purposes. This code is fully commented, and if you would like any more information or wish to contact me, please email me at festie69@hotmail.com

7_2009-2012 #218598
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.

7_2009-2012 #218689
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.

7_2009-2012 #218714
Concatenate strings FAST with this class!

This code demonstrates how to use buffer concatenation via the Mid Statement for fast string concatenations. Buffer concatenation is much faster than the widely used "&" to connect strings and also faster than array concatenation. Use the supplied class module in your own apps to improve speed and efficiency.

7_2009-2012 #218715
Find Strings in a Textbox

A sample VB program that demonstrates how to find and select words in a Textbox. Very simple but quite useful! Please rate!

7_2009-2012 #218791
count down to zero with a given number

this is very simple and is for begginners... it askes you to input a number... it will then loop messege box's until the number is counted down to zero.... then it replies with another messege box that says... "thats all"...... (updated code#2)

7_2009-2012 #218819
A Simple Encryption and Decryption function

I wrote this code to learn a little bit about string manipulation. Although I will deffinatly not claim it's uncrackable, it is deffinatly a little less bulky than some of the others. Not to mention since i submited the code anyone could just use the decryption on it. But anyway, it may be of some help, although I will admit it's a bit slow with large files. I am trying to find ways to improve it's speed. Any ideas are welcome.

7_2009-2012 #218876
Convert long address to IP address

Converts a long address (2220112843) to it's IP address (203.59.84.132)

7_2009-2012 #218891
generic_database_tools

Procedures to perform common database functions

Languages
Top Categories
Global Discovery