Results for "Category: String Manipulation"
This code is in Beta stage and used like a QueryAnalyzer, it got a update feature but it wont work for the moment. The code will only work with MS SQL server and is only tested with IE 5.5. You have to set write permissions on the servers catalog. Please email me the bugs and other request asap.
I may be reinventing the wheel here, but so far I have yet to find a built in Delphi function that will convert a string to proper case. I found this code somewhere on the web a while back, lost it, and managed to recreate it last night.
This takes a jumbled word and compares it to a list of words (apprx 110,000 words) that are commonly used in crossword puzzles and such. I got this paticualr idea from Robert Rayment's code on finding anagrams for a word. You can also replace the provided word list with a bigger one. please give all feedback positive and negative. Thanks, and vote
Lots of different function for handling VB strings. Take a look inside, you mightlike what you see...
This prgram Encrypts text to a picture. As you may notice its hard to see that picture box has anything but black.But it does if you zoom in.also each pixel in the picturebox holds 3 letters saving you alot of room your private letters on your computer are no longer able to be seen because everyone knows that ifmmp is hello so now you have a picture instead.Very Complex. Easy to understand.Highly commented.Easily made more complex.Check It Out.And PLEASE leave Comments and Vote. Please Vote for this source code. NOW UPDATED http://www.planetsourcecode.com/xq/ASP/txtCodeId.28531/lngWId.1/qx/vb/scripts/ShowCode.htm
This small script simply and easly creates an AutoComplete affect for your ComboBox. VERY EFFECTIVE AND VERY EASY TO UNDERSTAND.
I know there is the replace(text1.text,"Jack","Jill") in VB6 which would find all the words Jack and replace them with Jill in text1, but how can I do this in VB5? I want to be able to put symbols in general sentences, and replace the symbols with specific data. such as: Thats a great pass from #! He passes to # who sets up a shot!
This is a class that allows coloring VB text. Could be modified to do the same for other languages. It is in a sample project that demonstrates its use. It needs some further work to resolve parentheses situations. The ideas of many PSC authors are used here. Please post improvements you make to this code. Have fun!
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.
Demonstration project of standard Visual Basic string functions with some custom string functions also included.
To open MS Access or Ms SQL server database using C/C++ or VC++
Simple address book Class in C++, has methods for adding new record, sorting, deleting and storing data in a file. Has it own menu aswell.
Explores and teaches parsing algorithm techniques (PART 1)
*Now about 50% faster compress performance, fixed some glitches and improved compression ratio. *UPDATED: Now supports both upper and lower case words (any sentence should come out fine regardless of case, etc.) + Some performance and compression optimizations. SEE COMMENTS AT TOP OF COMPRESSION MODULE FOR FULL DETAILS. This code basically takes a string composed of everyday conversational english, and compresses it to a much smaller string using a set of dictionaries (included), and can also decompress any previously compressed strings.. This code was designed to be applied in a chat environment to save server bandwidth as the server has to echo many messages to hundreds of users many times per minute, this can make a big difference in bandwidth usage and in the case of a mmo game server, can help to ensure smoother gameplay as the game grows. Compared to zlib this is much more efficient at english-language compression, but entirely not suitable for other types of strings that do not contain english words. This code is intended to be used on the client side, and only includes the procedures necessary to compress and decompress a string, specifically everyday English conversational sentences.
A quick and dirty search script for pulling catalog items from a MySQL database. Supports the use of 'And' or 'Or' or 'Not' between keywords. by Kevin Clevenger.
Web based database(MySQL) management tool http://brutus.snu.ac.kr/~smkim/mysql by SooMin Kim
This program takes customers orders by code then creates a bill for the purchases. Also can print the bill. All totals are calculated automatically.
Judge not lest ye be... Anyway, no how could I have written this. It's the complete code for an earlier submission from MUKUNTHAN (REally, Dino Espositio at ASPtoday I am told) that allows for display of images from an access database. Feel free to email me for more if it doesn't come through. Thanks to Fabrizio Ricciarelli, Eric Gionet, Jos Hardy, Tim Krause and special thanks to my Moms...
This code shows the use of a dynamic array for the storage of data. Recordsets are memory hogs, and shouldn't be passed across the server, so why even use one? What I was doing with this code was displaying a list of users on my website. After getting the data, I would have it build a table for the information and create hyperlinks for the appropriate fields. I've seen others do this, but they use recordsets to build them, which defeats its purpose. All the code is done with one trip to the server, so you won't see all those carrot tags being opened and closed throughout my work : )
Allows midi songs to be played on your web-site. Songs are stored in an Access 2k database. Code will play a random song or allows user to choose a midi song from a drop-down list. Code calls same page to play midi with ms media player. Could use mp3's but mp3's drag down server. I use this as a sidebar on my default web page. Let me know if you find any issues.