Click here to Skip to main content
15,896,915 members
Articles / Programming Languages / VBScript

EzFAQ 1.0

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
21 Jun 20015 min read 66.7K   742   39  
A complete app to add a FAQ list to a website.
<%
' ************************************************************************************************
'EzFAQ - Version 1.0  
'
'Written By:  Copyright 2001
'             George Chastain
'             Huntsville, Alabama
'             Website:  http://home.hiwaay.net/~georgech/ 
'             
'             You are free to use this code for any purpose but please retain the author and copyright
'             information.  If you make any enhancements to this code, I would like to know about them.
'             You can reach me through my website address above.
'             
'             Thank you.
'             
'SOURCE FILE:   DBCONNECT.inc
'DESCRIPTION:   This file provides code necessary to connect to the FAQ database.  This one file
'               may be edited to change the database connection code as needed.
'
'Modifications:
'
'18 June 2001	Initial Creation
' ************************************************************************************************



	Sub DBConnect(dbpath)
		'This code establishes a connection to the FAQ List Database
	
	
		Set objConn = Server.CreateObject("ADODB.Connection")
		objConn.ConnectionString="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & dbpath
		objConn.Open

	End Sub

	Sub DBClose
		objConn.Close
		Set objConn = Nothing
	End Sub
%>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
George Chastain is a Software Consultant in Huntsville, Alabama. Mr. Chastain is experienced in all phases of the software development life cycle including requirements analysis and definition, design, coding and test. This experience spans both interactive applications and embedded software. Mr. Chastain has extensive experience in C/C++ (including Visual C++), Ada 83, Ada 95 (including real-time, safety-critical), FORTRAN and other languages on Windows and Unix platforms. (Web development is JUST a hobby.)

Other articles authored by Mr. Chastain may be found at www.codeguru.com, a Windows development site, and at www.geocomm.com, a site supporting the GIS and GPS communities.




Comments and Discussions