Advertisement

Results for "Category: String Manipulation"

7_2009-2012 #232019
ASP Style String Splitter(Parser)

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.

7_2009-2012 #232078
Very Very Basic encryption and decryption routine - but effective

This is a very simple enocde decode routine that I created for a program where I didn't want to store the password in a plaintext string. This routine then came in handy when creating a client/server program where to stop people sending spurious commands to either the server of the client - I encrypted the time in minutes and it was sent with every bit of data - if the time was out by 3 minutes then the server or client discared the data - this is just one example for this bit of code. The routine currently runs 100 times in encryption or decryption but is a for loop - so easy to change - just make sure that the encryption and decryption routines run the same number of times. As an example "Planet Source Code Rocks" becomes "8=EMPT\chipu{$'/49;>?DEHKRY\dehiosuv{}~$+1369;CKQRZ[^`cfglpuw~$%*0479AFKNQSZ]ekry~$*-48:ACHOVW_elrz$D`UbYhrGcifWYr7cXYrFcW_g" The key to the encryption and decryption is the number at the beginning of the string (which is randomly chosen during encryption - and because it is a printable character gets encrypted itself on every subsequent encryption). This routine is for from unbreakable but is going to throw of the person who just wants to quickly find the password.

7_2009-2012 #232127
C mailing list database with algorithm

This program allows the user to create a file and add or change mailing list records to it. The program is able to load files that have the same record structure and concantenate them if required. The user can then save the data stored in memory to a new file or to overwrite an existing file. SIDE EFFECTS: There were side effects when I ported from win95 to XP, which have been commented out. WHATS IN THE ZIP: *database.c : C code file. *debugfile.txt : Redirected the printer to this file for debugging purposes (so I didn't waste paper). *mail.db : An example of a saved file. *PDR_for_project7.doc : The data table, algorithm, and output for the code.

7_2009-2012 #232189
Base Converter

This program was made to show you how to convert number bases easily and efficiently. The program supports binary, octal, decimal, hex, and ascii(base 256). Please vote on my code.

7_2009-2012 #232199
Storing and Retrieving Images from MySQL with PHP....:myImageAdmin ver. 1.0

This Comprehensive, Effective way to store images in the MySQL database server. You can store images in MySQL and access then very easily.

7_2009-2012 #232204
Ado.Net Data Entry Application Using Untyped Datasets

Simple Data Entry application using untyped datasets. Shows add,delete,edit,find,update,cancel,navigation and databinding procedures.

7_2009-2012 #232323
Code Stringifier

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? This solution will let you paste text into a textbox, and it will spit out the source code in order to store that text properly in a variable. Outputs to Javascript, VBScript, VB6, VB.Net, C#, and HTML. Very handy!

7_2009-2012 #232327
CUri - A URL parser class

This is a URL parser class that accepts a URL (such as "http://www.blah.com/") and parses out: - the protocol - the hostname - the username - the password - the port - the resource - the querystring Enjoy!

7_2009-2012 #232331
Findtextt in combo

By thsi code you can Find any text in comboBox by your keypress you should at first locate your database i used Biblo.mdb that you can locate it in your vb directorate try it good programm

7_2009-2012 #232499
VBWINSOCKSERVER

This code will help people understand using winsock control to run a Vb server. This Code comes with both a server code and client code. It uses string manipulation to sort the data and also uses what i like to call bit divide. which i have included its own project to help users understand the process.

7_2009-2012 #232693
Generate PDF Files and Piecharts with vb.net

This Code shows you how you can create Pie Charts Graphics and PDF Exports out of an OLEDB-Datasource with vb.net on the fly. For the datasource i've used the Northwind.mdb. The connection string is persisted in the app.config file and has to be changed after the download to get the code up and running. For the PDF Export I've used the freely available itextsharp library. The Pie Chart is generated by GDI+ so no expensive 3rd Party Products, follow the instructions in the readme.txt. Download this and much more source code at www.visualsoft-net.de (plz Rate)

7_2009-2012 #232695
Datalayer

This class provides an easy way to access OLEDB Datasources (you can change the code very easy to access SQL-Server). It shows you how to work with destructors, constructors, dataset, stored procedures, own stuctures, Oledbcommand, datarelations, overload subs(functions). Download this at www.visualsoft-net.de under VB.Net Code

7_2009-2012 #232700
Report Generator

'This program will run a number of SQL Server stored procedures, run a number of Crystal Reports and export them to Excel, HTML, or PDF, and finally send the exported files via outlook email. 'This program will accomplish the following processes (planet source code keyword phrases) '01. display the Datalinks window and return a Database connection string (SQL Server only) '02. display a list of Stored Procedures in the selected database and table '03. display the parameters needed for each selected Stored Procedures '04. run each selected Stored Procedure in order '05. get and set setting to the registry (getsettings and savesettings commands only) '06. create an array of textboxes on the fly and in a groupbox instead of the form(easy enough to swtich to most controls) '07. add and delete file names to and from a list box (crystal tab) '08. use the OpenFileDialog and FolderBrowserDialog controls (crystal tab) '09. connect to outlook and open up the address book so recipients can be selected '10. connect to outlook, create an instance of an email, add the recipients, add the attachments, and send the email '11. all processes run on a schedule I created this with sql server 2000, crystal v8, office xp, and outlook 2002. If you do not have these versions then minor changes may needed to be made to compensate for the other version.

7_2009-2012 #232704
cls_TextAnalysis(updated)

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).

7_2009-2012 #232721
Quicksort Word Tricks

Inspired by Evan Toder's 'EvanSort' I pulled together some of my QuickSort Array manipulation stuff into a single module. Enjoy.

7_2009-2012 #232754
ClsExtendedRTF Ver 2a for RichTextBox

ClsExtendedRTF Version 2a OOPS SMALL UPGRADE FORGOT ABOUT LOW RESOLUTION SCREENS sort of fixed that and there's a small animation demo added as an apology. This code manipulates the underlying Rich Text format string in RichTextBoxes in several ways. Highlight text, add interesting, strange and weird formats to RTF text. Resize mixed sizes of fonts with one call. Add a Zooming ComboBox to any RichTextBox. CommonDialog is encapsulated to give File New / Open / Save / SaveAs / SafeSave and Reload functionality. ShowColor is also encapsulated. This is a more stable version of this code. Insertion point is preserved after changes to text. More of the work is done at string manipulation level. New details added see * below for version 2's new elements. Minimum Requirments Riched20.dll (version 3) Riched32.dll (5.00.2008.1) probably the Richx32.ocx control Highlight now comes in two flavours RTF and API there are advantages and disadvatages to each. Menu and Toolbar use API; Text Colour Panel (in Font Looks menu) uses RTF Incorperated my ClsManifestation (see help) It is behind the spanner button on the tool bar only useful in WindowsXP to choose between XP and Classic look for compiled demo. Does not work in IDE. Font Looks menu contains to Forms which can be added to other programs to give maximum freedom of using the Font format and colour options. Added new font colour choices. Improved Demo performance. Corrected many minor bugs(extra spaces, spaces being deleted) Added Zoom ability Broke up the original ClsExtendedRTF into a couple of separate classes. Rewrote, simplified and often renamed routines for speed and comprehension Please comment, vote and send me interesting formats you develop and I'll included them with acknowlegments. Feel free to take just the parts you want (leave copyrights etc) this class is still 'Under Construction' if you like check back for updates. Demo Program is also a test bed for experimenting with RTF. 'ExtendedRTF Code for VB6.rtf'is both the help file and the demonstation file and was created interactivly with the code. NOTE uses VB6 only routines but if you have work-rounds for them should work with VB5, VB4. Needs more recent versions of RichText control. ExtendedRTF provides: 1. Highlight (NOT the same as select) *more ways of accessing this facility. 2.Other Underlines wave,dot,dash, dashdot, dashdotdot, hairline, and thick. (word and double are partially supported; you can set them but they appear as single in RichTextBox, in Word they look fine) 3. Hidden text/images 4. Weird font formats. Ripple, HeightRipple, Ransom 5.Font colour schemes *Rainbow, *Spectrum and *Materials. 6.subscript, superscript,up and down RTF codes. RichTextBox recognises '\up' and '\dn' with as superscript but not '\sub' and '\super' ???? 7. Get current insertion point as percentage of total document 8. Remove excess spaces in selection or whole document. 9. File handling: routines to simplify standard New/Open/Save/SaveAs. *Reload routine reload last saved document without opening CommonDialog *Document loaded in IDE is automatically reloaded from disk. SafeSave routine place this in your exit program and file procedures and you'll never lose your edits again.

7_2009-2012 #232755
clsExtendeRTF ver 3 for RichTextBox

ClsExtendedRTF.Cls version 3 for RichTextBox extensive rewrite, recode and rename. Mostly about manipulating RTF code to change text and background colours. Now includes API and RTF based higlighting(Not selection, this is the RichTextBox equivalant of highlihter pens). Highlighting with: API advantage it can detect highlighting; disadvantage single colour at a time RTF advantage multicolour highlighting. disadvantage can't detect itself. ClsAPIZoom for RichTtextBox, a few lines of code and your RTBox is zoomable. cLsManifestation (incorperated from my other upload) Gives compiled program user's choice of Classic or WindowsXP(if they have XP) added panels(form) which give you greater control over highlight, text colour and text format. *New* Materials interface you can create your own materials colour schemes. *New* Styles; if you create a text and background colour scheme you want to reuse save it with a name and access through the RTF Font Painter tool and class. fixed small bug in RemoveFormatting which added a space to start;(if selection was at start of doc) see earlier versions for mor details.

7_2009-2012 #232761
search in between string

example shows how to search particular string between twon defined strings

7_2009-2012 #232763
onchange combobox event retriving data without page refresh - Ajax way

example of how one can retrive data from database on same page without page refresh using ajax.

7_2009-2012 #232910
Access Database Viewer (Tables), SQL Querys, works immediately. No configuration!

Simple Access database viewer! Just enter your database location, and it shows your tables and stuff. SQL Querys!

Languages
Top Categories
Global Discovery