Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Need help with simple coding question....
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Southern Girl
New Member

78 Posts

Posted - 04 April 2008 :  21:33:53  Show Profile
I've downloaded http://www.fullrevolution.com/calfree_overview.asp
aspWebCalendarFREE for use on my website.
As per instructions is recommends putting the database outside the root of the website and changing the code in db.asp file

Here is the code
'------- Access OLE DB Driver Connection String ---------------------------------------
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("calendar/calendar.mdb")
Set dbc = Server.CreateObject("ADODB.Connection")
dbc.open strConn

How do I code to show another folder?
I've tried typing in c:/hshome/ etc but it states it needs a virtual path.
Of course - because it is freeware there is no support....

Thanks
Heidi

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 April 2008 :  21:52:52  Show Profile
just because it's freeware, doesn't mean there wouldn't be any support. This forum is freeware for example...

try using:

strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\hshome\calendar.mdb"

this is assuming you placed the calendar.mdb file in the c:\hshome folder.
Go to Top of Page

Southern Girl
New Member

78 Posts

Posted - 04 April 2008 :  21:55:53  Show Profile
Thanks! I'll give that ago (found I can't configure it at the moment either despite putting database file back in *Bad* location so may have to ditch the plan to use it anyway)

At downloading they have a message in red letters saying that as it is free they offer no support.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07