From source code,code examples
Finally a little example of Artificial Intelligence in VB. This code was not developed by me, but i just want to share with you. I perceived that does not exist any example that uses natural language in the PSC, and focus on artificial intelligence in AIML. Therefore they use to advantage to use the ALICE and the TED, the two robots gifts in this example. Gratefulness special to the Dr. Wallace.
This is an example of one way to append text strings to a text based file..ie (Batch files,etc.)
This helps beginners learn to use strings.
This is an updated version of the VB Split() program that I submitted. It now includes the ability to remove unwanted characters from a string before sending the string to the array. ie. remove commas, hyphens, brackets etc before passing the string to the array. It also removes all blank spaces that are not required through a TRIMSTRING function. This means that not only is the string trimmed on the left and the right, it also trims extra spaces that are not needed between all the characters.
Conversion factors derived from 2001 ASHRAE Fundamentals Handbook (SI) page 37.2
Counts the lines of code within an asp script file (.asp).
This app works like DOS. However, it currently only supports variable modifying commands (such as 'set', 'reset'). It works in much the same way as id's engines manipulate and use their variables. I wrote it to include it in a game engine I'm fiddling with or more to the point, to a script parser I'm writing for the game engine. It's sort of a work in progress at the moment with lots of room for expansion (like maybe a binary search for the variable look-ups, or put some commands in it). If you like it vote for it! Enjoy. UPDATE 1: I added command and constant processing ability. I wrote the procedures for each as straight forward and as easily modifyable as I could. Enjoy.
This relatively simple program will convert text strings into their binary form and strings of binary digits into their character form.
Use this method with Winsock. Ever had it when you need to send lots of data all at once, and you need individual structured fields for each commands? Does your field data contain special characters or binary data? Conventional methods of delimiting packets simply won?t allow you to get away with that. This code demonstrates how to use Byte Level Delimiting (as I have dubbed it, anyway), and also shows how to buffer incoming and outgoing data, so you can handle large data flawlessly. There is a word document inside the ZIP archive that explains the principle and mechanics of the idea, and also code to demonstrate it. Also uses protocol compression, if the compressed size is smaller than the decompressed size (ZLIB). Feedback greatly appreciated, thank you.
Some awsome encryption that uses mod.
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.
Translate a decimal number to binary.
This does an Autocomplete using the textbox, it uses an array,which is created from an array at startup, then it saves it into a data file when closing down
This program generators random numbers by the user whom defines the selected range and pick quantity.
This Code Is a Best simple Sample for Tech Converting Strings and Allow users to learn about
Matrix themed Screen Saver, full screen, adapts to different screen resolutions.
This code generates all the combinations of passwords of length 4 to 15 including any characters and stores them in files.
suprnova is gone forever, so i had to code a replacement
Have you ever wanted to add quotes to a textbox or file but you couldnt't because visual basic wouldn't take """". Well now you can. This code is very beginner and is incredibly simple.
All in one conveter, encodes text from reverse, ascii, hex, binary, octet, and any Rot-text length, and decodes all of them as well. Portions of this source code found on http://www.planet-source-code.com
ok this may sound very unuseful but I made this to make random alphabits without repeating any letters... what I discovered was something which made me question random numbers... (P.S. they arn't random... at least I know with VB6)
The Replace-function in VB6 is an extremely useful in many occasions, but unfortunately, it is as most string-functions in VB rather slow. Therefore I’ve tried to optimize this operation, and I must say the result is satisfying – it is nearly 50 times faster replacing 35.000 characters than the native Replace-function.
Some basic rich text manipulation's
Asc Function for beginners. If Then Else Structure, MsgBox Function, and Center Form. TextBoxes, SelStart, SelLength, Setfocus, MaxLength Properties.
This small project will teach you how to add the items from the list box to the textbox separated or none separated by the specified digit or letter. For advanced coders this might be so easy but for some not at all. You can add extra functions to it, mine was just a simple example.
Pretty self explanatory code, this will change your desktop wallpaper to any Windows format bitmap of your choice through a random code generator. I think that beginners could learn alot from this code such as string manipulation, file i/o and how to random something. There are alot of add-ons that could be done to this code with very little work. Alot of the code is repetetive, so alot of the code could be ripped out, JPEG format images could be supported, changing the registry to the correct wallpaper could be added with just one line of code, error handling in case the data file is corrupt or missing could also be an addition. Any other additions are welcomed.
Formatting a serie of integers (i.e. 0736679243) to many different formats (ex: 073-667-92-43, 0736 67 92 43, 07:36:67:92:43)
Generate lotto numbers, and also has lotto draw simulation.
Let you found all possible combinations numbers of Anagrammed words in two way.
This is a simple program that from a regular expresion (like ab|bc|abc|bda|) it saves character by character in a dynamic array OMITING the bars included in the string. This is only a practise for me because i'm making a program of automatons and i have to save every state (in this case, every letter) in one array to later represent.
Quicksort which works by sorting string pointers only instead of the strings themselves. In particular for long strings around 1000 chars there is a 15 times improvement in speed, going up to 100 times for really long strings, and speed is almost indepent of string length; one million strings are sorted in under five seconds. For short strings below 10 chars or so speeds are more or less identical. The screenshot shows the compiled timing.
Generate possible words from user's input
Simple program for saving text from the clipboard and displaying the text in the listbox for future used.
You can make a list of Regular Expressions and apply them one by one automatically with specified actions easily with this tools.
To use this auto complete function type the word or scentences in the controls. If the typed word does not exists in the dictonary it will automatically added when you type a word which is exist in the dictonary it will automatically completed and to accept that word just press the space bar thats all one more bug exists i will clear it later by jomytfj@gmail.com
There are many ways to convert any string into Hex format. This is one of alternative way to convert it using XML functionalities. you can also convert it back into string with it.
Ever backed up your Nokia 3650, 7650, ect and found that Nokia's PC Suite only dumps a bunch of *.dat files and those files are basically unreadable? I've coded a small application some time ago to "decode" those SMS's. You can Import a filestore.dat.txt file (That PC Suite creates) and the Application does the rest. You can also export the SMS's into a RTF file. The formatting of the "Offline" SMS's are exactly as it would appear on your cellphone's screen... See the Screenshot
Present your Battle.Net-Profile in multiple colors!! This is for all Diablo II Players. This program generates a special string and copies it into the clipboard. Change to the Diablo II Battle.Net screen and right-click your own character. Press "ctrl+v" to paste in the text which is now displayed colorisized.
Compares a string to a list of items in another string, and returns how many matches are found
Converts numbers in various base (Hexidecimal, Binary, Decimal, Octal).
Convert BASIC source code to Colored HTML.
This is just an update to the nice piece of code submitted by VF-fCRO on 1/12/2002. I simply added some small features (elapsed time, a different way to loop, minor text edits, etc). Doesn't really change the purpose of the original, just adds a few touches to it. the original is at
Simple and fast Linewrap written
This program creates and view's NFO and DIZ files. This is the newest version of the program. New features include 80+ tools to make your NFO or DIZ file, it also has 10 customizable tools. bizzyNFO4 also lets you use multiple tools at once. 7 to be exact. There are also many many more features, many. Give this program a try. Also if you used it please rate it if you can. That will be greatly appreciated. Also please leave me some comments, to keep in mind when I create the next version.
This code is a simple Binary String to Text String vice versa program. It shows how to convert a asc() number to a binary string and reverse.
Show a user how to get from a byte aray to an interger, long, or double. I also have code that does the reverse from number->Byte aray if someone needs it.
This is a fully working example of a post by High Tech. This will show you how to use all the string functions he posted and a few more with examples. I commented in all the different functions. If there is something you do not understand please email me or post the question to the comments section of this post. I hope all you beginners find this useful. some of the functions in this project have more options then I applied, maybe next week i will make a new example with more advanced functions if I get enough support to do so.
Syntax coloring, advanced selection routines and Highlighting. Highlighting using the Richtextbox control is awkward. Whilst there are a host of Selection properties there is no Highlight property we can access from VB. We just have to parse the RTF code.
It sorts a list of items alphabetically using a binary tree.
Breaks a string into multiple parts wherever it finds a break character. Currently this character is |, but it can be changed.
Batch Magic IDE is a tool to make MS-Dos Batch Files QUICK, and VERY EASY!!!. You first enter the title, then you enter your notes, and then you enter the functionality addon code that is not already put in for you. It is very VERY easy.
- This is an update of my previous submission.**
English: This program search for valid numbers in a chain of characters. I hope you like it.
Translates LEET (1337) back to normal text.
BIGSmall function is Language support LCASE/UCASE alternative. If you are using special language your application, must acquire this function. Because this function convert special characters.
This is a VERY basic, but effective means to secure your data. I used a similar system for a project where i was using INI files and wanted to protect the data from the user... They cant tinker with gibberish without loosing it all eh... This system works thru a keyphrase encryption method.. The function called, has both encrypt and decrypt functionality, all called via the function call... someVariable = decryptString("Some Text to Encrypt","encode") or someVariable = decryptString("Encrypted Text Here","decode") etc...
The Richtextbox is a great tool for displaying text but it can be quite a task converting it's format for use on the web. This project is part of a Code Library application that I still use today. It has HTML saving options for publishing source code to web sites. It demonstrates manipulation of the Richtextbox control, string parsing routines and syntax highlighting. It will also format your code applying standard indentation, remove blank lines and truncate long lines neatly, making your code much more readable. You can then choose to save it back to disk as a VB file(retaining it's original header), an HTML file or as a rich text file(rtf). Like all code this old, I would do many of the functions quite differently nowadays, but there are still some handy techniques used here. I hope I didn't create too many bugs when I pulled it out of my Code Library app ! I have had quite a few emails of late enquiring as to when I'll upload some more submissions, so in response to those here is yet another Bobo submission !
Basic billing calculation
strin manipulation with sequential array elements
Base64 encoding/decoding
this code is basicly a wordpad like software,, it shows a lot of usefull stuff on the use of the RichText Box tool, wich is by the way really usefull in these kind of programs,,,,,, SO PLEASE POST COMMENTS AND SEND ME FEEDBACKS coz this is my first upload :-)
This lest you write only numbers in a TextBox
It is a very funny code. It is not a big programing deal but in the localisation these types of manupulation is necessary. I know very well that this can be done more efficiently. But Its need more time.
Makes Alternate Capitols, So If You Type String it Will Be StRiNg
Doubled Text (Example: String Would Be SSttrriinngg) You Can Also Make Triple Plus Text!
Shows you how to Create your own AI Program using 'CASE LOGIC' The Program itself is a cross between Eliza (though it isn't a psychiatrist) and ALICE(www.alicebot.org). Though VB might not be the best to right AI in, Case Logic Provides a way! Please Vote!
This program encrypt or decrypt a text, with a key and a checksum checker. Very good program
this programs writes text in its ascii form.
This code makes it easier to accept command-line parameters. It gives the programmer access to the set of parameters by name or by index in a collection. Utility functions for checking for the presence of a particular parameter and others are also included.
This program encrypts and decrypts text.
This module will convert any number, such as -483 or 324532.23 up to 120 digits into words like negative four hundred eighty three!
This code demonstrates how to use buffer concatenation via
This Parser is the most complete parser you've never seen. It parse a database and print a complete report with. In the "TAG" field, you put your constant, your text, your functions and your calculate fields. If it's a field, the parser search the value and do the mathematic operation, is it's a function, the parser execute the function and return the value, is it's a text, the value is the text and it do the same for constants. In the Field field, you put the name of your field and it will find the value and it will print it. All values will be print at the top, left, font size and font name you have put in the database...this parser use the printer object for print the report.
k so i was bored so sue me! neway i made this as a joke for when im on the irc or something i dunno its not perfect, but dont expect ne updates if you want anything diff. do it yourself i think it would be really fun to add this to an irc client , so that as you type it changes it. easily done just change the stuff in the button to text1_change and it should work
This is a module that will perform RLE compression/uncompression on any string. A form is included which utilises the module to create a VERY simple file compression tool.
this program is not my code!
Complete, ready to use, SoundEx function to encode a passed alphabetic name and return a six character Daitch-Mokotoff code following the Daitch-Mokotoff (D-M) rules available at the sites listed in the source code. The D-M algorithm resolves some deficiencies that occur in the older Miracode/Soundex system (also known as the "Russell"/NARA system - used by the US Census Bureau). The benefits include: 1) Six meaningful letter sounds (versus four so that Peters is different from Peterson). 2) The initial letter is also sound encoded. 3) More sound variations (10 basic codes versus seven and double code sounds). 4) Improves sound matching for Jewish, Slavic, and Germanic names.
The program examines the contents of the text box and works out which characters are vowels or numbers.
A Phone book, storing multiple entrys using the Split, delimited, and EOF functions built into VB.
This is in response to a question on posted on the Programming Q & A section. It takes a string and fills a listbox with all combinations of the letters in the string (could be adapted to use a dynamic array, too, the listbox was better for demonstration purposes). This program use recursion to get it's results and may be a good example for someone learning the concept to step through. Warning: The number of combinations goes up exponentially! more than 8 characters will work but really bog down your PC!
Actually, I need help from someone more experienced. If you know quite a bit about string manipulation, give this a try! Please! I included a .txt file explaining what I need help with (some strings, possibly handled through DDE?).
Using VB strComp you can comapare two strings or numbers. Thinking about its application, you can hide one string and use other input to compare, then direct to desired application. Different users with name or numbers can be directed as desired.
This is a Date Textbox Tutorial. To demonstrate on how to create a date textbox without using any active-x. Please VOTE for it coz this is very useful for your projects related to date entries.
This was just a fun way to give an example of using stacked commands to format a set of strings
This is an incredible program that lets you generate encrypted self-decrypting HTML files! It converts RichText to encrypted self-decrypting HTML files! Just type in your message in RichText format, choose a Password, and it automatically encrypts your message and generate that self-decrypting HTML file. Cool! How do you get the files decrypted? Simply with any IE browser, open it, type your Password, and you'll have the message automatically decrypted!
This is a basic drag and drop demo. It is written to recognize what type of file is being dropped and only excepts exe's but you could modify it to excpet any file extension. I think I commented the demo well enough for everyone. I hope it's ueful.
If you go into calculator, you must notice that you can only type in numbers. With some API in my little app it shows you how to manipulate variabled in the memory. (Changing the text does not alter the program in any way, just the strings in the RAM). Note that this will only work in Windows Millennium because memory addresses change based on operating system. If you know how to find memory addresses, then you could alter to work with other versions of Windows. I hope you find this very usefull. If you find this code to be neat or usefull, PLEASE VOTE. Thank you.
This is a function, receiving a string and counts the mostright character one (or more) up (order by ANSI). If the ANSI-Limit is reached, it also counts the left next character and so on.
As far as i know, this is the only program like this out there. It has a list of words that it scans a title of a essay, newspaper, magazine, whatever, then it makes the words that are not supposed to be capitalized lowwer case. Most MS Word version have this but the capitalize ALL the words! This program corrects this problem. This program works about 98% of the time.
Parses a string based on a delimiter. Stores the string parts in an array “Tokens” and allows you to access the tokens similar to a recordset with functions like:
To count thse total number of character such as:
For example:
This program will show you all of the characters in any font on the users computer and tell you how to type them.
Get the statistics of your code. Find out exactly how many lines it is. It is easy to modify this project to include other file types etc.
Great little tool to help in parsing text. Simply returns the number of characters in a textbox. You can see in my screenshot that for that example, I had to start parsing at char 6034 and then add 120. Because there was no unique values around the area I needed to parse, an accurate count was nice to have.
cool word proccessor that can read what u have wrote ,font size font color bold....
This program creates credits in a Batch file. You enter a sentence and it creates a batchfile which will show the sentence once it is run. Put it into your autoexec.bat to be shown when you start your computer.
This is an update to my Gedcom parsing class. It now includes family support by giving the mother, father and children of the current individual selected.
It is a function in which you input a positive or a negative decimal number as string and that outputs the number as double. It separates right and left parts from the point(for decimal numbers) into two String variables and reconstitutes them in one Double variable that is returned at the end. I have had to do it for several of my programs because I haven't found that function in VB's ones.
The ODL Converter Project is designed to take VB Types, Enums and Declare Statements and convert them into a format used by Visual C++'s .odl files (odl = Object Description Language).
"PARSE" function converts search string (like in altavista/with pluses, minuses and quotations) into SQL query string for database search. To make this work in your database, you need to replace "table" and "field" words with appropriate values for your database. It's done in VB6 but will work in other versions as well.
I needed a routine to display the difference between two dates in year month day format. I found a couple here on pcs and another on a different site. Here is a project to call the three routines and display their results side by side. In case your wondering about Datediff it returns the number of times the year, month or whatever has changed between the two date. i.e. it returns 1 when from is dec 31 yyyy and to is jan 1 yyyy+1. Anyway here are three routines, two of them worked in all the test conditions I tried, the other gets a wild hair up it rear every once in a while. Louis Boldt 2/16/02
How To Use CALLWINDOWPROC to Call VB function--->>
Shows Random Number Coding, Case Select and a good for next loop with Listbox. Also a simple counter. Combines words into full sentences. Fun program too, sort of funny, but some generated conspiracies may be TRUE (ewwwww - spooky). Feedback appreciated.
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
Convert Columns To Rows for Excel. Select Cells and copy to clipboard. Click then past back to excel.
Here is an example of how one can count the number of appearances of a specified character in a given textstring.
Ever try parsing code from any language?
This is a URL parser class that accepts a URL (such as "http://www.blah.com/") and parses out:
Process command line argument pairs like a pro.
Substitute any value on any string
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.
Always wanted to select a character from a textbox or a variable then this code will be a must for you. It is very good to make a encryption program.
ClsExtendedRTF Version 2a
ClsExtendedRTF.Cls version 3 for RichTextBox
ClsExtendedRTF.Cls version 3 for RichTextBox
Parse the command line into strings/filenames and switches. If a switch has an argument it must not have a space between the switch and the value: "/oc:\output.txt" is OK, "/o c:\output.txt" is NOT. If you want a ":" can be used for visual separation: "/o:c:\output.txt".
This little program show you how to make some scroll text using picturebox and label, you can add this in your application to greet some friends or others. I create this for my personal use and i always use this on my program, i hope you like it... I need some comments, suggestions, questions or criticism (hope not). If you find it usefull... then thanx, or vote if you want.
Seperates a given string containg comma seperated information and applies the returned values into an array
It's a common problem everyone has faced. You have a couple paragraphs of text that you want to store in a constant. But how do you manage quotation marks, line breaks, and backslashes in a quoted string?
Gullu SmartCounter will count number of words, vowels, consonants, characters, spaces and many more. Please rate it! It is totally awesome!
CODER PROG.
This function takes a comma separated string and parses the values into a variable-length array, which can then be assigned to a predefined number of variables, or iterated with a For-Next loop. This code is roughly based on Brant Gluth's submission entitled "Parse Delimited Text", with the addition of a demo form and improved string handling. Most noticeably, this code can handle strings enclosed in quotes and will not break on delimiter characters within the quotes.
A string class which has a bunch of commonly used manipulation functions. Functions contained are: CheckInvalidCharacters,ConcatStrings,FindAndReplace,Length,MakeArrayOfChrs,ReverseLetters,Switch2Letters,TrimStringLeft,TrimStringRight,TrimStringBoth,
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.
Displays how many vowels, consonants, and miscellaneous you have entered in the text box
This is version 1.5 of my VB implementation of the CString class. I've re-worked a lot of the code (thanks to the mostly positive criticism of Mathew Frank and Sedacro) There are a couple minor bugs in the Mid and Find functions, but overall, they do their job. I've added a few extra functions to the group, such as GetVariable and GetLineText. I've also included an extra class called CStringStack. Votes are appreciated, but not necessary. Feedback would be greatly appreciated as well. =) Overall, I hope you find it to be a very useful component.
I was recieving several requests after recently making a post concerning a scrolling credits examples, simply saying that I had something similiar that worked in most aspects slightly better, because it used BitBlt and read the credits directly from a text file. I got quite a few emails requesting I send them it, so I just decided to post it to this site. Hope everyone likes it, if not sorry.
This code will take a string directory and create every directory in that string within the defined parent directory, its usefull for creating many directorys, EG: you want to create a directory structure in c:\Test\ within test you want the directorys Test1, Test2, Test3, Test4 and Test5 this will check if they exist and create them
This code is just for fun, it demostrates an interesting phenomenon and some ways to manipulate strings, and arrays. According to research at an English university, it doesn't matter in which order the letters in a word are, the only important thing is that the first and last letters
This demonstrates how to alter the text in a text box, as it is being typed. In this particular example, it types the alphabet backwards; if you were to type the letter "a" the letter "z" would appear and vica versa. I don't know what you would use this for, but I myself found it very usefull in my chat program for AOL. I'm sure you'll find something for it too.
The routine formats technical equations and prints them in a picture box.
This peice of code write any text you give backward. so for example if you type in "Planet" it would return "Tenalp"... Get it? So check it out now.
No comments, just check out the code.
This class converts the base ten numerals to english words e.g.,
This code is an example of how to use a simple TXT file to save user configurations and load them using a simple parsing method. In this example it reads each setting name and value and adds them to a list box.
Want so cool animations in your project well this code is for you, not just text but a 3D text that will animate in your project, very cool...Must have for beginners.....intermediate users also can learned frm this codes...I hope you enjoy coding and please vote or just rate it !...Thanks !
5 lines of code (including If * Then/Else/End If to add Case Sensitivity) to count characters or substrings in a string. VB6 only as it uses the Split command. You can count in a string for individual letters or sequences of characters including words. Demo includes a simple character analyser just for fun. inspired by Jacob Riley's upload 'Character(s) counter'. Bug fixed( it returned 1 if you searched a blank text with any find string other than a zero length string)
a class that performs basic text analysis using the Split command. Count characters, words, punctuation and layout characters. Thanks to merlin who found a bug in the basic countChar routine (answered 1 if there was no text in serch string) and 'Word counter *Excellent' who inspired me to attempt it. ----------------------------Thanks to Min Thant Sin for finding two bugs. Fixed the bug for blank text. Corrected the word count to give correct count. Also extended the class by adding the ability to set acceptable punctuation to allow hyphanated or underscore connected words to be counted as one. Included a bas module that contains the same concepts but designed to be used without the full class being impelmented, just take the bits you want, this bas module uses Paramaters rather than Properties to operate. (NOTE the bas file is not used by the demo).
Heared of the popular Conways Game of Life? It is a simple cellular automat that simulates cell-behavior after two very simple rules (documented in the code). Very nice for beginners to learn datafield-handling!
This is my letter counting program, it counts how many A's or B's etc...automatically....Just a simple codes.....Must see for beginners ! You can also learn to input only letters in textboxes...This is well commented and I am sure evry beginners will understand the flow of the program...Have fun coding and please rate it if you like it....Thanks !
chatroom with login and global message this can be built on for a whole instans messneger iwch i wll be workign up to on this program it could do with a buffer pleaze comment on this
This is a card counting program...
A small tool that may help encoders in completing their task faster. Just copy some text into the clipboard (CTRL+C) then press any button that you want to perform then paste (CTRL+V) the converted text to anywhere you want. Currently, there are only 5 available functions in this program (proper case, upper case, lower case, string length and strip HTML). I know there's a lot that can be added here. This tool can also be improved using a global keyboard shortcut (aside from the accelerator key that's already in there) (one for each button) but that's up to you. I know there's an hotkey OCX can be found here in PSC. By the way, the strip HTML function is not mine. But I forgot who made it. This is a very simple program. I just want to share it. No need to vote but comments are welcome.
Converts numeric to text, used mostly on converting currency amount to words
Convert Any number or fractional number into chraracter e.g. 102030456.78 to Ten Crore Twenty Lakh Thirty Thousand Four Hundred Fifty Six Rupees and Seventy Eight Paisa.Just by few line of code. user can easily update for higher number.
Display Date/Time using custom format user decide, to be used in the form using label or textbox. Intended for beginner and who ever need to know on how to manipulate the date/time string. Hope it hepls. Just check it out for your self and please give some comment. Thanx
This is a syntax highlighting codebox for almost every programming language you want. You can easily create new syntax shemes, if you want.
Well, you can add this small module in visual your project and convert the Amount to words.
Take format coded IRC text and put it into RTF format. This is a more advanced way to do this. Most people just use the methods of the RichTextBox to select and change colors. This manipulates the actual RichText.
Crypt/UnCrypt any string, with very simple and efficient code.
Function that does string replacements based on a separate match and replace table.
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.
This code shows you how to create Unlimited Undo and Unlimited Redo, along with Cut Copy, Paste, and Select All features, in a RichTextBox Control.
This code can copy, cut and paste the selected content of a rich textbox
Change with ultlize of ASCICodes Text2Code
Building a RTFText and making colored codes.
Count word can count the number of words.
Internal function to return information of switches passed via the command line.
Keeps track of your undone tasks. A bit like a mac interface: transparency, fading and all that is present. And after you fixing a bit of code, you should have for yourself a good calendar program!
This class gives you more power to string handling. It supports very fast concatenation (both appending and prepending) and it also includes many of VB's string functions as custom versions: some of them as faster and/or better working versions. Yet you can use the class often very much like you'd normally use strings. Unlike other classes of this sort (such as various StringBuilder and cString implementations), getting and setting string data from and to the class is roughly equal to native strings. *** If you've ever wanted to use Mid$(String, 1, 1) = "Long string here", you can do it with this class' Middle: it will replace the one character with the full string, unlike Mid$.
To color VB code in a rich text box. Read the readme.txt
Okay this is the source for a perfectly functioning chat scan. Never again will you have to use anyone elses!
This engine's core allows you to run whatever code you want to run. There is only one command in this project, many menus arent functional but I am sure thats not the main thing you want to learn from this project.
Counts words in clipboard at the most convenient way. Also displays information about the number of characters, special characters, and other infos relating texts.
I looked on this site to find something like this, but i didnt find exactly what i wanted. Here is the source that i created that takes random characters from a text box and places them in a label. It takes a user defined amount of characters including spaces and periods and everything else. =) UPDATED AGAIN!! Now has added features! Can count characters and vowels and words etc! If you know a better way to do this, please email me. This type of program can
This program lets you input text or copy paste from another program. as you type or the text is pasted in, it counts the amount of words, spaces, vowels, consanents, etc. It can be used for programs like icq, text editors, and much more! Please give me feedback and vote!
Another Proper Case Function
Take a Spy operation HTML, filters all but the spy and saves it with the country # and date as the name
This program reads imformation from a file and turns it into a Animation. This is the Belta Vertion so I dont know if there are any more bugs that the few I have found. I will soon make a Alpha Vertion which will have the animation Data file maker so you dont have to use the Windows text editor. I will also make it so that you can load other dat files and not just have to change the file name.
This Converts an ASCII string into a Binary string and back again.
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 Moves a Forms caption from left to right.
This code converts a hexidecimal value(such as ff0f) to a decimal(Long) value.
Accepting all strings that begin in "a" and end in "a" with an odd number of "b's". This is called a Deterministic Finite Automata (DFA) that is usually in C/C++, but easliy implemented in VB.
Hi this is a little String Manipulation project I made To help beginners understand strings and people at other levels I have included all examples of each function to make it easyer. Sorry I have not included many comments if any but I was bussy at the times working on another project anyway I hope you get some Ideas from it. please vote if you like this code and level comments.
Hi this is some simple code I did in about 20 minutes ago it will show you haow to get the Temp folder computer name windows path and more. in just useing vb code no API or anything else just basic vb code. hope you find some use for it please vote.
Fixes a string.. from "chArlES IS BaCk!" and the results is "Charles Is Back!" easy to use.. and nothing to have.. ;-) made it for a request.. the StrConv() only function in vb6 i think.. i'm not sure.. However this works too if you want it..
Ported to VB from a Java port of the GNU Diff implementation. The basic algorithm is described in "An O(ND) Difference Algorithm and its Variations", Eugene Myers, Algorithmica Vol. 1 No. 2, 1986, p 251.
This is a very concise program that converts decimal numbers to binary numbers.
VB implementation of Lawrence Philips' Double Metaphone sounds-like algorithm. Similar (but superior to): Soundex, Phonex, Metaphone, Daitch-Mokotoff, NYSIIS, and Dolby.
this project uses the windows intrinsic function **dir** to obtain
This sample code offers 2 benefits: Fast date entry and date validation. It allows users to enter a date with as little as "m/d". It also allows relative date indexing so a user can enter "T" for today's date or T+# or T-# for the number of days before or after today (ie: T+7 will return a week from today, T-7 returns a week ago). I have also included a routine for easily checking for required fields on a form using the TAG property. Enjoy.
Supports 14 Different Modes!! All with the extended ability to ban or allow a certain set of characters! Control number of Decimal Places, Min & Max String Length or Number Value :) Please Take time to Rate and Comment. Enjoy ;)
Well, I needed a way to compare a file's date with the 'Date' function. Using FileDateTime returns a long value including the time and AM/PM.
This example shows different, but similar, methods to open files (text preferably) and the difference between them (speed).
This code will take a string directory and create every directory in that string within the defined parent directory, its usefull for creating many directorys, EG: you want to create a directory structure in c:\Test\ within test you want the directorys Test1, Test2, Test3, Test4 and Test5 this will check if they exist and create them
[Updated] I relized I uploaded a not so tidy version (it was actually the wrong version) . I have done a tidy up and sorted out a few points that was highlighted to me.
English: This code divides a word in syllables, I hope you like it.
Simple demo of a module to read, write and modify text files using arrays as a reply to question in AskAPro from d.leporale 'Problem with Sequential File'.
Hi made this in the hope that it may be of some use to any one,
Display listbox strings in a scrolling (incremental display) format.
In notepad when you want to replace something, you have to type in what you want to replace and what you want to replace it with. Essentially in vb that is something very easy to do, but what I wanted was something that could grab or remove repeat characters in a text file. So I created this program, in which you specify what the string you wants starts with and what it ends with. This program is capible of either removing the repeat string OR removing everything EXCEPT the repeat string. Included is an example of one of its uses.
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.
Easy matching any pair of string.
This example demonstrates going through a string and counting spaces to determine how many words are in the string.
This code shows you how to take a string from a textbox and put each character in the string into 7 different label boxes, it just gives you an idea of how to manipulate a string.
This program may be useful for those who like or need to write the first letter of every word in capitals; usually titles. "For Example, This Sentence..." The program automatically turns "CapsLock" on every time "Space" key is pressed, and deactivates it when any other key is pressed. Take a look!
Parses the non-anon proxies from cybersyndrome.net/pld.html
As a beginner my biggest problem ever was not being able to split a string and i didnt really learn how unil a while ago. splitting a string can be very useful for winsock and data storage type stuff. This works by putting a plus sign (+) between the two peices of data and splitting them based on that. Note: this uses a VB6 function so it will only work in VB6, also note that this code is in the begginer section so dont be a punk. - nerd (www.nerdwareinc.com)
This code is aimed at beginners to visual basic, an example of using password protected screen, also shows you how to use message boxs in more deepth EG requesting the user if they are sure they wish to leave the program, Perfect for programs that need passwords.
parse a string with a delimiter... choose your own delimiter and replace it with whatever you want to. Very basic.. but it works. :)
This project demonstrates how to remove the repeated characters in a string. A progress bar is included so you can know the progress of the operation. Great for beginners. VOTE IT IF YOU LIKE IT! THANKS!
Help using keyAscii, purpose for this project, writing interesting writing, teach yourself keytrapping, find out keycodes to there keystrokes vis versa.
This is a string encoder. It shows how to code a line of string into a text that can not be understood by human eyes. Please leave me a comment let me know what you think about this software... P.S. vote, for me.
Provides functionality to have a buffer of Undo's in your application so users can go back as far as they want and redo their actions again....
This code takes a text box and lists all the words into a listbox, then lists all the words that are spelled wrong in another list box, and from there you can ignore, skip, add to list, etc. The suggestion button doesn't work yet, im still working on it. Please tell me if you want me to update!
A super fast way to search any kind of sequential file and to get rid of dupes. I use it to get rid of dupes within a program thats picks an e-mail address for contest winners. It works much faster than the one list box dupe checker I saw, and slightly faster than the one that used 2 For ... Next structure.
This VB class module replicates every function of the MFC class CString, and more. Most of the code was taken from various authors here on planet source code, so to whom I owe credit, thanks! I added a special GetParameter function that returns the values based on placement of wildcards. Take a look and vote for the code (and also vote for the people who donated code that I used.)
Compares values in two Arrays
This article is the best way to learn Advanced String Parsing.
Will validate the format of an email or IP address. Allows email addresses which use ip addresses.
The code is used to convert between ascii characters and values (hex/dec).
Returnd the Sub and Function definitions for a VB Project. Useful for documentaion.
Fixed - This is an example program that shows how to use my e-mail address validator class. you can take the class and put it in any projects that require e-mail adderss verification.
Hey guys I made a hash routine of my own here, and I was wondering if you guys could tell me if it was secure...? I tried my best to make all factors of the password affect the final hash string. Check it out, and tell me on here if it would be easily cracked. Thanks a bunch.
A quick 2 minute piece of code to sort ascii characters without using a listbox.
Very simple, almost useless code! Shows all "printable" ASCII characters. I needed this for something else, so I thought I'd post it here for beginners' benefit
A textbox for TCP/IP or DNS entry with validation and formatting. It behaves like Windows TCP/IP entry. Very nice in developing program that requires valid IP entry.
This is a program to make totally random passwords out of letters, numbers, or both. Shows how to convert strings to lowercase, make a scrolling, typing, caption effect and how to use random numbers.
Return the word the mouse is over
Well Mind me and my mess, There arent any Comments in this Code, Sorry, heh, i was just discussing the subject on how to code a Serial Generator, which was said by alot of authors that this is virtually imposible
It provides a faster method to adding text to a text box. This works best if you are working with a large amount of data.
I wrote this code something like 2years ago,
This small piece of code takes a string and converts its first character to UCase, then turns it back to LCase but turns the next one UCase, and so on.
This code shows you how to create nearly Unlimited Undos and Unlimited Redos, along with Cut Copy, Paste, and Select All features, in a RichTextBox Control.
Ever wanted the ability to run a 'smart' search, ie, with full and's, or's, not's, xor's, brackets (even nested brackets), and "". Basically like a search engine? This is the vb code to do it for you. An example expression would be:
It's for manipulate Cut/Paste/Copy with more than one textbox. This exemple use 2 textbox but you can add other textbox.