Welcome to imar.spaanjaars.com

image
Welcome to the personal web site of Imar Spaanjaars where I write about software development with a focus on Microsoft web technologies
Image representing the FAQs category

How Do I Allow My Web Application to Write to Files, Folders and Databases?

Published 19 years ago

Many Web sites these days use databases or text files to save information. To be able to save this data, IIS, the Web server, needs the required permissions to write to the disk or database. This FAQ will explain how you should configure your NTFS disk or database so your Web application can write to it.

Read on ...
Image representing the FAQs category

How Do I Determine the Security Account that IIS Uses to Run My Web Site?

Published 19 years ago

It's important to understand the account that IIS is running under when you need to make changes to the security settings. If, for example, your Web application writes to files or to a database, you'll need to grant the correct permissions to the folder or database. Before you can change these security settings, it's important the know what account IIS is using. This FAQ details the various options available, both for "classic" ASP and ASP.NET applications.

Read on ...
Image representing the FAQs category

Why Don't I See a Security Tab on the Properties dialog for My Files and Folders in Windows XP?

Published 19 years ago

You often need to make changes in the security settings of your NTFS disk, for example to allow your Web server to read or write to certain files. You make these changes on the Security tab of the Properties dialog for the file or folder you are working with. However, on a Windows XP computer that is not part of a network, this tab is often not visible. Follow these steps to enable this tab.

Read on ...
Image representing the Snippets category

How Do I Insert a Null Value in an Access Database?

Published 19 years ago

When you need to insert a null value into a column in an Access database, you could use "" to indicate a zero-length string. However, a zero-length string is not the same as Null. To insert a Null value, simple pass the keyword Null for the column, as shown in the code example.

Read on ...
Image representing the Snippets category

ADO Connection and Recordset

Published 19 years ago

This simple snippet demonstrates how to create and setup an ADO Connection to retrieve and display information from a database.

Read on ...
Image representing the Snippets category

DocTypes You Can Use in Your HTML and XHTML Pages

Published 19 years ago

The following doctypes are available for HTML 4.01, XHTML 1 and XHTML 1.1.

Read on ...
Image representing the FAQs category

How Do I Change the Background of an HTML Element Through Code?

Published 19 years ago

With a little bit of JavaScript, it's easy to change the background image of any object through code. All you need to do is retrieve a reference to the element you want to change, and then set its style.backgroundImage property.

Read on ...
Image representing the FAQs category

How Do I Add an Additional Item To a Databound DropDownList Control in ASP.NET?

Published 19 years ago

It's a common practice to bind some data to a DropDownList or ListBox control. The data for these controls can come from a wide variety of DataSources including Arrays, ArrayLists, HashTables and DataSets. Quite often, though, you'll have the need to add an additional item to the beginning of the list.

Read on ...
Image representing the FAQs category

How Do I Detect Design-Time Vs Run-Time in a .NET Control?

Published 19 years ago

When you're designing custom controls in Visual Studio .NET, you'll often need to distinguish between design-time and run-time. You could, for example, load a static image, or create a made-up DataSource at design-time while you use a real image or DataSource at run-time. The following snippet allows you to determine whether you're currently in design-time or not.

Read on ...
Image representing the Articles category

How Do I Insert 'Now Playing' Info to my Posts on P2P?

Published 20 years ago

Over the past few weeks, I received numerous e-mails from P2P contributors asking me how I was able to insert information in my signature at the Wrox P2P forum about the music I am listening to when I make the post. Some wondered if I had nothing to do at all, and had all the time in the world to insert this information manually. Others already had the idea I had automated this process and were interested in the technical solution of this, rather useless, feature.

In this article I'll explain where I got the idea for this automated signature, what techniques and concepts were involved, and where I found the information required to build the solution.

Read on ...

Mobile: False

Crawler: True

I: False