Why Do I Receive a "The page cannot be found" Error With ASP.NET On Windows Server 2003?

Posted by: Imar Spaanjaars at Saturday, February 21, 2004 11:24:02 AM in: ASP.NET 2.0
When you have installed ASP.NET on Windows Server 2003, you may receive the following 404 - Page Not Found error:
Read on ...

Lorem ipsum dolor sit amet - Placeholder Text

Posted by: Imar Spaanjaars at Friday, February 20, 2004 10:05:37 PM in: General
Placeholder text, use to fill in blank area's in a Web site, instead of the "content goes here" thingies.

For more information, some history and a Lorum Ipsum generator, check the Lorum Ipsum Web site.
Read on ...

Display Information About a Microsoft Access Database

Posted by: Imar Spaanjaars at Thursday, February 19, 2004 3:06:04 PM in: Classic ASP

The following block of code will display the properties of ALL tables in a Microsoft Access database. For the code to run successfully, the variable MyConnectionString needs to contain a valid connection string pointing to the Access database.
With this code, all tables, including system tables are displayed. If you want to limit the list, use myTable.Type to determine the type of the table and skip the system tables. User tables will return "TABLE", while system tables will return "ACCESS TABLE".

If you want to display information about just a single table, remove the For Each loop and uncomment the line that starts with Set myTable. Don't forget the pass the name of the right table to the Tables collection.

Read on ...

Execute a Stored Procedure Without an Explicit ADO Command Object

Posted by: Imar Spaanjaars at Thursday, February 19, 2004 11:42:30 AM in: Classic ASP
The following code shows you how to execute a Stored Procedure (called MyStoredProcedure) in ASP without creating an explicit ADO Command object. The Stored Procedure expects two parameters: @FirstParam (of datatype int) and @SecondParam (of datatype varchar). Modify the parameter list to suit your requirements
Read on ...

How Do I Store and Access My Connection Strings in ASP.NET 2?

Posted by: Imar Spaanjaars at Thursday, February 19, 2004 10:13:58 AM in: ASP.NET 2.0
With ASP.NET 1.0 and 1.1 many people stored their connection strings in the Web.config file under the appSettings element. But is there a better way to save these settings in ASP.NET 2.0?
Read on ...

Howto send E-mail from an ASP page

Posted by: Imar Spaanjaars at Wednesday, February 18, 2004 8:50:30 PM in: Web General
This article will show you how simple it can be to send an e-mail from an ASP page. With just a few lines of code, you can add mail sending capabilities to your ASP page in your Web site. Notice that I put the focus on can be; depending on your network setup, this approach may be very easy, or it may require you to setup or configure your network for this code to work. See the reference section at the end of this document for more information.
Read on ...

New Site Design

Posted by: Imar Spaanjaars at Monday, February 16, 2004 8:47:32 PM in: Imar's Blogs
Over the weekend I have implemented a new site design for Imar.Spaanjaars.Com. Instead of a messy nested tables design, mainly aimed at cross-browser compatibility (supporting browsers down to 3.0 versions), the site is now based on a “transitional approach”.
Read on ...

Answers to Why Not Try Exercises for Beginning Dreamweaver MX 2004

Posted by: Imar Spaanjaars at Monday, February 16, 2004 8:41:39 PM in: Imar's Blogs
If you have the book Beginning Dreamweaver MX 2004, you're in for a little surprise: I have posted the answers to all Why Not Try exercises for the Soccer Site project on my Web site.
Read on ...

How Do I Print From Internet Explorer Without Raising a Confirmation Dialog?

Posted by: Imar Spaanjaars at Thursday, February 05, 2004 8:05:51 PM in: Scripting
Update!! 11-29-2005
There seems to be a problem with the code presented in this article, so don't rely on it work anymore. When you click the print button you get an error and nothing gets printed.

So far, I haven't been able to isolate the problem or come up with a solution. It looks like this problem is caused by some security mechanism in Windows XP Service Pack 2. I haven't tested various versions of IE and Windows XP yet, but I am sure it doesn't run on IE 6, SP2 with Windows XP SP2 (well, it doesn't run on *my* IE 6, SP2 with Windows XP SP2 ;-) )


In some scenario's, it could be useful if you were able to print a page from within the browser, without the Print dialog popping up, and without the user confirming the print operation.
Read on ...

Beginning Dreamweaver MX 2004 Released

Posted by: Imar Spaanjaars at Thursday, February 05, 2004 4:08:00 PM in: Imar's Blogs
A few days ago, Beginning Dreamweaver MX 2004 has been released. I am still waiting for my copies, shipped to me a couple of days ago, but the book is available from Amazon and other on-line bookstores. Go check it out, if you want.
Read on ... 123456789101112131415161718192021222324252627282930