Results for "Category: String Manipulation"
Download a binary large object (BLOB) from the database without temporary files or chunks.
Convert a SQL query into ASP code.
This code is simply a database , this can store records , view all records , delete records , show statistics and do many more functions. For more information please contact zohairkhawaja@hotmail.com, ehmedk@hotmail.com
This code compares the table structures of 2 MDBs and returns in Red that values that are in one DB but not in the other.
This is a syntax highlighting codebox for almost every programming language you want. You can easily create new syntax shemes, if you want. The highlighting algo isn't super fast, but much faster than many other examples, because it modifies directly RTF source, not the visible text. If someone has any suggestions to improve this control or make the algo faster, then please tell me. Hint: You will need SSubTmr6.dll from vbaccelerator to run the control. You can download it from: http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/VB6_SSubTmr_Binary.asp Don't forget to register DLL before, otherwise it won't work. Sample and Comments are in German.
a database project that maintains patient records,patient slips,drug records, doctor records,billing records and ward records
This code is to display, in a simple and fast loading treeview, a database. You can have up to 10 level and the treview is loaded just once (not at each level). Each level can have a checkbox (in a form), link and many other that can be set it up in only one founction.
This is a web-based version of Enterprise Manager for SQL Server and MSDE. An online demo is available at http://www.aspenterprisemanager.com/. This is an Open Source Project in VB.Net, ASP.Net and ADO.Net that is in the early stages, so any contributions, feedback or additions are greatly appreciated. ASP Enterprise Manager will allow you to create and edit tables, stored procedures and views, manage logins and database users, manage basic permissions, and query your database returning multiple recordsets. This is the version 0.5.0 release of the code and structures most of the code with better .Net structures (on most of the pages), introduces a class structure (I am working on documenting the classes), cuts down on the number of connections that are made to the SQL Server, introduces an XP style interface and adds a few new features and interface enhacements. This code is not a Visual Studio Project so it only requires the .Net Framework, Someone is also working on a version of this project as a Visual Studio Project using C#, that code can be downloaded from the website (http://www.aspenterprisemanager.com/)
Last code I Describe some sample binding using data and collection, now I add 5 ways using crystal report (Main Report with subreport, Chart etc.,) it's very easy to folow,.The report not static or constant in one default display, you can change it by entering selected department number(DeptNo as sample, you can also use EmployeeId or as you wish sql command) 'For Suggestion/Question 'Dennis M. Santiago 'Emailme : explicitmaker@yahoo.com 'Vote For Me :-)
Generates text on the right side and the hex output on the left side. ex. 0D 0A 44 61 74 65 3A 20 54 68 75 2C 20 30 38 20 | ..Date: Thu, 08
Soundex and Levenshtein Distance algorithms are very exhaustivey used in searching and spell check applications. Soundex is used to select words which 'SOUND LIKE' another word EX: Bryan and Brian Levenshtein Distance is the minimum number of steps required to transform one string to another. This algorithm can be effectively used to narrow down the number of possible matches for a given string. This can be useful in 'refining' your search results according to a threshold value.
I got tired of loosing phone numbers & addresses. So instead of downloading or using a address book type of program from MS I decided to make my own where I could put what I wanted in there with no limits
When this module is compiled to native code, you can use the ReplaceString, InString, InStringRev, StrReverse, TrimStr, RTrimStr, LTrimStr, StringReplicate, JoinString and SplitString functions to be many times faster and much more memory effecient than their VB counterparts. Many are more functional as well. The replacestring function supports delimiters and prefix/postfix exclusions. All of these functions are fully unicode compliant. The performance gain becomes greater with extremely long strings, where most of the functions take less than 2% of the time and half the memory that the same call would take with intrinsic functions. By the way, you can all stop telling me that xbeat.net/vbspeed has faster code. They did have faster code than my first version, but not any of the other ones. See for yourself, the test specifications are on their website. :)
This code shows almost all usefull function for string manipulation. Easy to understand, Easy to implement! Every line of source code with comment and 1 command button done all the functions in the text boxes.
Levenshtein edit distance is a measure of the similarity between two strings. Edit distance is the the minimum number of character deletions, insertions, substitutions, and transpositions required to transform string1 into string2. In essence, the function is used to perform a fuzzy or approximate string search. This is very handy for trying to find the "correct" string for one that has been entered incorrectly, mistyped, etc. The code has been optimized to find strings that are very similar. A "limit" parameter is provided so the function will quickly reject strings that contain more than k mismatches.
I wanted to add paging code in my project.I've seen all other codes on the site but they are not at all worth for me. Now I've written a code which is very easy to understand and can be used by any student or professional in their projects.
Have you been using the instr function, or 3rd party functions to find the word count of a block of text. Now you find it in ONLY 2 LINES OF CODE - NO API CALLS - NO MODULES / CLASSES / CONTROLS - PURE VB CODE
To learn database in VB.net easy to add, edit, delete using OLED connection
Allows you to parse strings like those excel spread sheats. Example : Text1.Text = "Me,You,Us" MsgBox(Parse(Text1.Text, ",", 1)) Would return "Me"
In old vb6 you could create a databaseless record set and save it as an xml file on disk, well now here is the .net version. It creates a dataset, adds a table, adds some columns and rows, then saves the schema and dataset to disk without ever touching a database. The xml produced is w3c standard. The app also shows how to open and add data and how to delete rows (and also using the xml schema). It isn't to complex and does have some comments in it to help. It is all native .net, no COM addins or other references.