Advertisement

Results for "Category: String Manipulation"

4_2005-2006 #158784
ADO - Read and Write to Databases from VB using XML via ASP/HTTP

Shows how to get recordset data into a VB (or other) application from remote databases on the web, edit it, and put back the changes - all from simple ASP pages on the server via HTTP using ADO + XML - 1 line of code in VB to retrieve, 3 to return (+ not more than 25 lines of ASP on the server) for the simplest case. Requires :IE5 (IE4 will not work!), ADO 2.5+, XML (3 preferred) on Client PC / IIS4+ or PWS, ADO 2.5+, XML3 on Server

4_2005-2006 #158792
cool word proccessor

cool word proccessor that can read what u have wrote ,font size font color bold....

4_2005-2006 #158813
Simple Bruteforce Class (Very Stable)

Simple and easy to use Bruteforce Class, Very stable and you can more the form. No program freezes. Also Includes a working example of how to use the class. The example is just a test form that calculates how fast your computer can calculate combinations. Please Compile and post a benchmark. Runs twice as fast compiled.

4_2005-2006 #158830
Virus Scanner (Real)

Drag and Drop a Free File onto the List Box. The Application opens the File as Binary and loads it into Buffer Space and scans the contents for Virus Strings. Very easy to do, and commented. It only does a single file right now, looking to add Directories upcoming.

4_2005-2006 #158852
Expanding/Contracting Dynamic Text

This sample demonstrates a text effect whereby text drawn on the form expands and contracts (i.e., the width and height are continually increased then decreased). For more my code samples visit my personal web site: click above on my full name.

4_2005-2006 #158874
Filter numbers or characters from sting

Filter a string and return numbers or characters

4_2005-2006 #158916
Fast Colorize HTML / XML

[NOTE: THERE IS A NEWER VERSION] This routine shows how you can process nested search-replace operations on large strings (megabytes) with VB. The program accepts a text-file as input and will output a colorized RTF file. Nothing new about that, but this program will generate large RTF files really fast because it uses a text buffer for string processing. You will see the difference if you try to colorize a 500+ kb XML file, most (all?) other 'colorize' programs on PSC that use native VB will fail on large files.

4_2005-2006 #158917
Fast Colorize 2 for HTML / XML / XHTML / SGML / ... source viewing

This function accepts a text-file as input and will output a colorized RTF String. Nothing new about that, but this program will generate even large RTF files very fast. You will see the difference if you try to colorize a 500kb XML file. You may add the modules to your code to add HTML/XML/XHTML source viewing capabilities. The code has gotten quite complicated, but the adjustable parts are documented. (changing colors, or the tags that need coloring). You can for example color all tags red. This is version 2. 2001-11-24 Changes: [-] Twice as fast. (500kb/s. on PIII450) [-] Added a cAppendString class instead of using Mid$. [-] Fast string space allocation by API calls. String pointer swapping. (Thanks to VBSpeed) [-] Now uses Regular Expressions to color the 'inside' of tags (THANKS to Gary aka RegX for the idea to use REGULAR EXPRESSIONS. You can download similar projects from RegX here on PSCODE) [-] Added a RTE control to speed up viewing. CREDITS AND COPYRIGHT: MartijnB ([email protected]) Money, rewards, bugs and .. can be send to me (please!) SEE README.TXT

4_2005-2006 #158922
_Split string into 2 strings_

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)

4_2005-2006 #158943
Speed up code with a factor 1000 using string buffering!

The purpose of this code is to prevent performance leak when repeatingly appending text to a string "the normal way" eg. string1 = string1 & "text". By using stringbuffering you allocate a large ammount of zero-bytes to your string, and then uses the mid function to insert the text you want to append. The biggest gain by using stringbuffering is that you speed ud your code by a factor 1000 but it's allso harder to get your code to crash with a "Out of memory" error (IF YOU LIKE THE CODE, PLEASE VOTE!)

4_2005-2006 #159026
Plural Check (extremely simple, very useful)

I hope I'm not the only person who wants to cringe every time I see something like "You have been online for 1 minutes." 1 minutes?? I see this kind of thing everywhere; here on PSC, even. It looks very unprofessional to me, and it's so easy to fix! That's why I listed this code as beginner level. Hopefully, Planet Source Code will implement this code and I won't have to see that I got an excellent vote from "1 users." ;-) I would like to hear any comments you have about this code. Also, please click to see my other submissions to PSC. My latest program, Music Maker is nearing the top of the Code of the Month list. If I can get a few more votes it would really help me out! :-) Thanks for looking!

4_2005-2006 #159032
Find/Replace/Remove Function for long strings/text files

This Function Searches a user defined string for a user defined search criteria it will return the postion of matchs in an array also will replace or remove criteria from string

4_2005-2006 #159084
convert/write a number in words

Takes any numerical value (less a billion) like "203463110" and outputs "Two Hundred Three Million Four Hundred Sixty Three Thousand One Hundred Ten"

4_2005-2006 #159133
ASP Code Generator

the engine i am providing is an asp code generator that i am currently using on my website (www.intratelligent.com) to allow asp developers to upload access databases online and build simple asp interfaces to interact with their data. (insert / update / delete and reporting functionality). although it is coded in vb, it can be compiled into a dll to be used as an object referenced by asp. otherwise it can be run as a stand-alone vb app. i have included a screen shot and added commenting to my code to make it more understandable. if you do not have a lot of experience in vb and asp this will be difficult for you to modify although it can be implemented by anyone.

4_2005-2006 #159166
username/userpassword

Hello, This is a complete security small webpages I'm using ASP. It allows users to enter their username/userpassword, in order to go further into your webpages. It also allows new user to creates a very simple account like: User's FullName, User's nickname and User's password. I hope that it will gives you lot of ideas to program better in ASP. Thank you for using this Tri Nguyen PS: Please dont forget to give me a feetback and drop me a line to my e-mail address at: [email protected] my friends!. Thanks again

4_2005-2006 #159261
UPDATED: - Optimizing VB String Parsing – Using Byte Arrays and Binary Searches

Optimizing VB String Parsing – Using Byte Arrays and Binary Searches to parse and color code

4_2005-2006 #159313
Wildcard Matcher

This code matches a given string against a pattern which may contain the well known wildcards * and ?, whereas * represents any number of characters, including none, and ? represents any single character. You may want to paste the code into a class module :)

4_2005-2006 #159320
Building a SQL Search Query--Easily

This article explains an alternative to the boring string parse/loop method of building a search query for your website.

4_2005-2006 #159338
Remove HTML + Optional Ingnore Tags

This function will strip a string of all html. An optional parameter (sIgnoreTags) allows specified HTML tags to be ignored from stripping.

4_2005-2006 #159339
SQL Web Query

SQL Web Query using ASP.Net with VB.Net code behind. This is my first project with the new studio; I think this shows the intention of separating the presentation code from business logic. I have previously never done any ASP work so this is from a VB programmer. USES: ASP.Net, VB.Net, ADO, SQL DataAdapter and the web Data Grid. SETUP: Pretty simple really, all you really need to do is modify the connection string and you should be able to use it. For development I was using the Northwind DB from an SQL server. In the readme.txt I give more info on the setup. If anyone has a problem let me know, I hope I included all the right files. Enjoy

Languages
Top Categories
Global Discovery