Results for "Category: String Manipulation"
This Code Takes a script file and interprets the strings, making it do stuff, like a real vb application
A very small example of how you can using Access databases within your applications. I made this little demo after searching for hours on the net for an example and failing. Firstly I created A simple database in Access using 1 table called "people" with 3 columns, id, fname and sname. The app allows you to add new records to the database, remove them or change them. Excellent for beginners.
This code teaches you how to connect and use a MySQL database thru PHP 3/4. Great for beginners! I update it, so the version on this page has no comments because the PSC butchers it alot, so if you would like an explanation of the code go here http://www.moddingcentral.com/~oblivion/ I dont think this is allowed but its for the better. If you want to copy and paste the code then do it thru this the PSC page.
splits a path up a path and shortens parts to make it shorter. e.g. c:\program files\blingblongblu\bah\bleh.exe c:\program...\blingbl...\bah\bleh.exe
a basic banner rotator. please vote for me! www.vbcouk.co.uk
This code serves as a starting point for database connections in C#. Adding greater functionality should not be too difficult. This example contains functionality for data navigation, database connection, recordset connection, Bookmarking, AbsolutePosition and RecordCount counters, and of course: Returning data from the table.
This article shows how to use Javascript to populate a combo box with data from a XLM data island in IE5. The XLM data island is dynamil changed by a ASP Page , without the need of redrawing the screen. This code is very flexible and powerful and could be adapted to show datas in tables.
This is a page I wrote that works like a recordset. Yet I know this is not the most effiecient way to do it but it works. If you have a better way of doing this I would be interested in seeing it. You will have to change the database, Tables, and Fields to suit your needs. Requirements: PHP and mySQL
*UPDATED* This example shows you how to Save, Add, Edit, Delete, and Search for records in a SQL Server Database from a user form. It also shows some basic stuff with the new DataGridView. Allows you to click a cell retrieve cell location, header text and row content. You will need VS2008 and SQL Server 2000.
Checks to make sure the contents of a TextBox or String are only standard ASCII; If it has any extended ASCII, the function will return False.
Do you have slow running mulitple SELECT Statements or long reports to fill on a web page. Use the Microsoft Shape Command. Learn to use ADO 2.1 and greater advance features. This code is great for three things, (1) Very fast way to do multiple SQL select statements and reports. (2) Great for databases not Normalized. (3) Avoids multiple nested single threaded ADO Record Sets loops which are very slow.
This is an update to Kurt Joseph Serge's word counter code that was long, clunky and not entirely accurate. Takes a string and counts the "words" (characters separated by spaces) in it. Take a look.
Consists of two files sql.htm and tsql.asp. Nice little interface with any SQL Server database. Returns result sets, etc. If you find the code useful please rate the code.
Easy Forums is a fully functional message board system, developed using MS Active server pages: Features: - Authenticated login to registered users and facility of registration of new users - Sorting the Message board threads on the basis of Date, Email, Name, Subject etc. by a single click - Allows users to post new messages and reply to old messages. Feel free to modify, distribute, use this code as you may please, and if you like it please VOTE FOR ME in the contest.
This is to teach you how to connect to your mysql database and select a table. I have made it very clean and added comments to help you understand the process.
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. Saturday, March 31, 2001 I added a few more lines of code for the ".EXE" statement because there are 2 kinds of exe's! Upper case and Lower case! It sounds funny but i have both kinds of exe's on my machine so i thought i better fix this little bug! I Also added a Progress Bar! Peace, jim byrnes
I was tired of writing code to execute store procedures so I wrote these functions that do most everything for me. Just supply the stored procedure name and an array of parameter values. Also provide a recordset or return value variable depending on what function you are using. SAVES ALOT OF TIME! There are some examples subs at the bottom...
the sample will show how to display message fromt he database when a user logs in and how his session will get expired and after session expiration he was not able to read hiw messages until he logs in again
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....
The SpeedString class boost performance on string concatenation. Almost every VB developer uses strValue = strValue & NewData as concatenation. The SpeedString class does the same, but a few hunderds times faster (something up to 1000 times). This project demonstrates the use of my SpeedString class and compares the execution times of both methods.