Click here to Skip to main content
15,867,686 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 882K   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

     
    Generaltest Pin
    Anonymous21-Nov-02 10:29
    Anonymous21-Nov-02 10:29 
    GeneralRe: test Pin
    Christian Graus21-Nov-02 10:38
    protectorChristian Graus21-Nov-02 10:38 
    GeneralRe: test Pin
    Uwe Keim21-Nov-02 19:13
    sitebuilderUwe Keim21-Nov-02 19:13 
    General[Message Deleted] Pin
    Anonymous25-Feb-03 6:37
    Anonymous25-Feb-03 6:37 
    GeneralRe: test Pin
    Anonymous25-Feb-03 6:38
    Anonymous25-Feb-03 6:38 
    GeneralTTEEEEEST Pin
    Anonymous2-Jul-03 20:52
    Anonymous2-Jul-03 20:52 
    GeneralRe: test Pin
    Anonymous16-Feb-04 15:31
    Anonymous16-Feb-04 15:31 
    GeneralRe: test Pin
    Anonymous30-Oct-04 11:54
    Anonymous30-Oct-04 11:54 
    GeneralRe: test Pin
    luisilian4-Nov-04 5:05
    luisilian4-Nov-04 5:05 
    GeneralRe: test 傻仔 Pin
    Anonymous1-Mar-03 3:04
    Anonymous1-Mar-03 3:04 
    GeneralRe: test Pin
    Anonymous20-Dec-03 21:24
    Anonymous20-Dec-03 21:24 
    Generalthe guestbook is cool,but i have problem Pin
    Kinli1-Oct-02 0:22
    Kinli1-Oct-02 0:22 
    GeneralRe: the guestbook is cool,but i have problem Pin
    Uwe Keim1-Oct-02 0:41
    sitebuilderUwe Keim1-Oct-02 0:41 
    GeneralRe: the guestbook is cool,but i have problem Pin
    Anonymous30-Dec-02 11:11
    Anonymous30-Dec-02 11:11 
    GeneralCOOL! Pin
    Member 162887622-Aug-02 10:53
    Member 162887622-Aug-02 10:53 
    GeneralRe: COOL! Pin
    Anonymous16-Mar-03 17:05
    Anonymous16-Mar-03 17:05 
    Generalhi there Pin
    12-Jun-02 12:19
    suss12-Jun-02 12:19 
    Generalhola de MTY!!!!! Pin
    14-May-02 13:34
    suss14-May-02 13:34 
    Generalhello Pin
    11-Apr-02 9:04
    suss11-Apr-02 9:04 
    GeneralGr88888888888888888888!!!!!!!!!!! Pin
    8-Apr-02 5:42
    suss8-Apr-02 5:42 
    GeneralGreat! Pin
    14-Mar-02 0:16
    suss14-Mar-02 0:16 
    Questionit's great, but how can i delete? Pin
    tbbooher28-Feb-02 8:18
    tbbooher28-Feb-02 8:18 
    AnswerRe: it's great, but how can i delete? Pin
    Uwe Keim28-Feb-02 19:30
    sitebuilderUwe Keim28-Feb-02 19:30 
    GeneralRe: it's great, but how can i delete? Pin
    Boris Sundic24-Jul-02 15:16
    Boris Sundic24-Jul-02 15:16 
    GeneralRe: it's great, but how can i delete? Pin
    martinchan18-Mar-03 20:15
    martinchan18-Mar-03 20:15 

    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.