Results for "Category: String Manipulation"
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.
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: trigwc@hotmail.com my friends!. Thanks again
Optimizing VB String Parsing – Using Byte Arrays and Binary Searches to parse and color code
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 :)
This article explains an alternative to the boring string parse/loop method of building a search query for your website.
This function will strip a string of all html. An optional parameter (sIgnoreTags) allows specified HTML tags to be ignored from stripping.
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
This is a huge 40 Page database access application that is approx 2500 lines. Check it out for your self... The commenting is very sparse and not explanatory but if you have experience you should be able to understand.
After looking here and a few other places for a simple code that allows only numerals and not to allow text to be pasted into a textbox and with no prevail I figured it out. Not a major thing but for beginners this will help them.
This is the simplest/fastest code that shows how to implement multiple-column sorting (Up & Down) in ASP. Excellent for ASP Database Begineers
ASP Report Wizard 0.21 is a sequel to the ASP Report Wizard 0.2. with a the ability to add a report summary. This release includes: - ASP Report Wizard - Dynamic Multi-Column Sorting - Report Paging - Javascripts and much more...
It gets event better...From user requests I have made some additions to the ASP Report Wizard 2.1. This version includes the ability to save reports and queries. It also includes the absolute capability of exporting reports to different format including Excel, XML, Text and CSV formats. If you need more functionality, please let me know. If you like this code, please vote for me. Thanx
This is a simple procedure to show how to use an XML file as datasource to build a datagrid in ASP. If you like it please vote. P/S: future updates will be available on http://www.aspwebsolution.com
Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus
This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus
This function takes tag delimited text and converts it for display in a richtext box. Great for email headers (from, to, subject lines). Someone Rank this Thing...Enjoy!!
A template class that can write,read,modify & delete objects of any class/structure to a database.
Compact and Repair You can use the "Compact and Repair" function in Access from ASP code. The following code is an example of how this can be done. Note that when you decide to "Compact and Repair" your Access database, some autonumbers can be changed. Access makes all autonumbers consecutive. This code uses one database, but I'm sure the code can easily be changed so that the listbox displays, for example, all the databases in one folder.
This is a subroutine to automatically wrap a text string in whole words to a printer.
ever made a program capable of showing barcodes ? if you did than you`ve been there ,,, at the oficial EAN standards site,, than you would have seen how to calculate the check digit. they hold the standard they publish that standard also on their website ,,, http://www.ean-int.org/index800.html i never found code in VB that calculates the check digit ,, so my conclusion is that it was hold for comercial reassons ( there are lots of controls out there for a lot of monney :-) so i donate this M. Posseth code to the public and make it public domain ,,, uhmmm votes would be apreciated :-)