Computer Learning Zone CLZ Access Excel Word Windows

One glance at a book and you hear the voice of another person, perhaps someone dead for 1,000 years. To read is to voyage through time.

-Carl Sagan
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > Forums > ASP
Active Server Pages Forum

Welcome to the ASP Forum. I love Classic ASP. My whole web site is built with that, Javascript, and of course HTML from scratch. Post your questions here. Feel free to ask about ASP.NET too. I'm not an expert (yet) but I can make my way around it, and yes, I'm brushing up my skills to I can prepare some ASP.NET lessons soon.

This forum is for everyone to read but only students (paid customers) can post here. If you'd like to become a student, you can watch ASP Beginner Level 1 for free, and then purchase Level 2 for just $1.00 here. After you create a logon, you will have full access to the Forums.

Subscribe to this forum and receive an email update whenever new posts are added. You will also be notified by email if any conversations you are involved in receieve new comments. Yes, even non-students can subscribe to update notifications.

Click Here to Post a comment and start a new discussion! Upload Images   Link  
Eric Cote 
11 months ago
Hi Richard,
I am an old programmer (Cobol, Business basic, Access, vba, sql...) for the past 12 years i was IT manager (managing budget, people, project...).. I'll retier in september and i want to learn Wath is the best way to start in your opinion? Read More...
Richard Rost
11 months ago
Personally, I think it's best to learn Classic ASP first. It's a lot easier. Once you grasp the concepts, move up to if you like. My site (the one you're on now) was built with Classic ASP back in 2002 and it still works fine for me. I'll be adding classes later this year.
Add a Reply
Connect to Access Database Upload Images   Link  
Kevin Robertson 
2 years ago
I am attempting to connect to my database using ASP.Net in Expression Web. I am using the following code:

dim conn
dim rs
conn = server.createobject("ADODB.Connection") ("StoreDSN")

When I navigate to the page I get the following result:

Repeating for every record in the database. Any ideas?
Richard Rost
2 years ago
I've never liked using DSNs. Try this instead:

DatabasePath = "/full/path/to/your/database/whatever.mdb"
set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Server.MapPath(DatabasePath)

You shouldn't need the rs.ActiveConnection line.

And remember you don't need parentheses around statements that aren't functions and don't return a value. For example:

response.write rs("ProductName")

You don't need parens around that because you aren't returning a value from it.
Kevin Robertson
2 years ago
Thank Richard, finally got it working. Initially ran into the same problem until I made the followong change:

response.write (rs("ProductName").Value)

Set is apparently no longer supported, so had to leave it off.
Tried without the parentheses and got on error message.
Compiler Error Message: BC30800: Method arguments must be enclosed in parentheses.

Thank you once again and keep up the great work you are doing.
Add a Reply
When will ASP.NET be available? Upload Images   Link  
Gerard Gates 
2 years ago
When will be available? I hope you eye gets better soon..

Richard Rost
2 years ago
This is a difficult question to answer. I've got a lot of projects in the works right now, mostly Access-related. I still have to update my Office lessons for 2019 (Word, Excel, PowerPoint, etc.) I really love ASP and I use it every day. My site is built mostly with Classic ASP, and I've been teaching myself ASP.NET slowly. So it's something I really want to dive into for my own enrichment too. If I had to GUESS, I'd say this fall.

And thanks for the concern. Still blind, but I'm seeing a specialist next week.
Add a Reply

Show Older Comments...
View in Table Format

Start a NEW Conversation
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: asp forum active server pages  PermaLink