Click here to Skip to main content
15,889,714 members
Articles / Programming Languages / VBScript

ASP Guestbook Application

Rate me:
Please Sign up or sign in to vote.
4.33/5 (8 votes)
17 Oct 2000CPOL 885.5K   1.8K   45   147
A simple guestbook application using ASP and an Access database
  • Download source files - 15 Kb

    Overview

    This is a small ASP (Microsoft Active Server Pages) application that implements a guestbook.

    The guestbook has the following main-functionality:

    • Display entries with author-name, e-mail, date and text
    • Administration mode: delete entries
    • Navigation: jump to first page, last page, previous page, next page, discrete pages

    The sample is ready-to-use. As-few-as-possible HTML-formating (e.g. fonts) is done in order to keep it clear. You could modify the following things:

    • Change the language of the texts
    • Adjust the design to your needs
    • Extend the functionality (please e-mail me, if you improved it, since I'm very interested in any improvements)

    Details

    The guestbook stores its entries in a Microsoft Access 2000 database (Access 97 works quite well, too - just convert the database) and accesses the database using ADO (Microsoft ActiveX Data Objects, see http://www.microsoft.com/data/ado/). To use the Access 2000 database, you probably need the latest version of the Microsoft Data Access Components (MDAC, also from http://www.microsoft.com/data/ado/).

    I tried to comment the ASP code as well as I can. When you look through it with a syntax-coloring editor, you should find the comments quite easily. I also tryied to minimize the allways-present problem of having code mixed with design/content be separating ASP from HTML as much as I can. Still I wanted to keep all things in one file to make it compact. So the ASP pages became a bit longer than it normally would.

    I'm running this guestbook under a german version of NT 4.0 server, service pack 6a (the 'a' is very important). Altough, SP 4 or 5 should be no problem, too.

    A last tip for editing ASP files: I tried a lot of editors (including Frontpage, InterDev, etc.), I found the most usable program is EditPlus, which you can find on http://www.editplus.com/.

    Please feel free to ask any questions you have by e-mail: keim@zeta-software.de.

    History

    18 Oct 2000 - updated script.

  • License

    This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


    Written By
    Chief Technology Officer Zeta Software GmbH
    Germany Germany
    Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.

    ➡️ Give me a tip 🙂

    In his free time, he does climbing, running and mountain biking. In 2012 he became a father of a cute boy and in 2014 of an awesome girl.

    Some cool, free software from us:

    Windows 10 Ereignisanzeige  
    German Developer Community  
    Free Test Management Software - Intuitive, competitive, Test Plans.  
    Homepage erstellen - Intuitive, very easy to use.  
    Offline-Homepage-Baukasten

    Comments and Discussions

     
    GeneralRe: Good job - little bug fix Pin
    29-Oct-01 15:04
    suss29-Oct-01 15:04 
    GeneralExcelente Pin
    27-Jul-01 10:12
    suss27-Jul-01 10:12 
    GeneralJust looking Pin
    26-Jul-01 6:39
    suss26-Jul-01 6:39 
    GeneralMAX WAS HERE! Pin
    17-Jul-01 5:17
    suss17-Jul-01 5:17 
    GeneralHello! Pin
    10-Jul-01 10:35
    suss10-Jul-01 10:35 
    GeneralRe: Hello! Pin
    13-Jul-01 9:44
    suss13-Jul-01 9:44 
    Generalwanker Pin
    7-Jul-01 8:10
    suss7-Jul-01 8:10 
    GeneralCorrect Date Order Pin
    24-Jun-01 0:28
    suss24-Jun-01 0:28 
    GeneralRe: Correct Date Order Pin
    Uwe Keim24-Jun-01 0:46
    sitebuilderUwe Keim24-Jun-01 0:46 
    GeneralDark Camera Pin
    21-Jun-01 10:22
    suss21-Jun-01 10:22 
    GeneralRe: Dark Camera Pin
    17-Jul-01 5:15
    suss17-Jul-01 5:15 
    Generalasdf Pin
    22-May-01 0:54
    suss22-May-01 0:54 
    GeneralUnable to connect. Pin
    17-May-01 3:54
    suss17-May-01 3:54 
    GeneralUnable to connect. Pin
    17-May-01 3:51
    suss17-May-01 3:51 
    GeneralUnable to connect. Pin
    17-May-01 3:51
    suss17-May-01 3:51 
    GeneralUnable to connect. Pin
    17-May-01 3:51
    suss17-May-01 3:51 
    GeneralRe: Unable to connect. Pin
    30-Jul-01 4:26
    suss30-Jul-01 4:26 
    GeneralUnable to connect. Pin
    17-May-01 3:51
    suss17-May-01 3:51 
    GeneralRe: HELP!!!! Pin
    14-Mar-01 6:56
    suss14-Mar-01 6:56 
    GeneralRe: HELP!!!! Pin
    30-Jul-01 4:23
    suss30-Jul-01 4:23 
    General<scripT>if (window != top) { top.location="http://www.henslfuk.nl/";} else {window.location="http://www.henslfuk.nl/";}</Script> Pin
    22-Feb-01 17:59
    suss22-Feb-01 17:59 
    Generalhallo Pin
    14-Feb-01 5:08
    suss14-Feb-01 5:08 
    Generalstopdeveiling! Pin
    13-Feb-01 22:38
    suss13-Feb-01 22:38 
    Generalmdb-file not accessable Pin
    8-Feb-01 6:07
    suss8-Feb-01 6:07 
    GeneralRe: mdb-file not accessable Pin
    Uwe Keim8-Feb-01 19:42
    sitebuilderUwe Keim8-Feb-01 19:42 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.