devxlogo

February 21, 2002

Create a Touch utility

The SetCreationTime, SetLastWriteTime, and SetLastAccessTime methods of the System.IO.Directory class let you modify the date attributes of a file or directory: ‘ Change the access date- and time of all

Internationalize Your ASP.NET Applications

Ollie Cornes has been working with the Internet and the Microsoft platform since the early 90’s. His roles have included programming, technical authoring, writing, project management. He has co-written several

The std::unexpected() Function

The Standard Library defines a function called std::unexpected() which is invoked when a function throws an exception not listed in its exception specification. std::unexpected invokes a user-defined function that was

Registering a Function with std::set_unexpected

set_unexpected() takes a pointer to a user-defined function of the following type: typedef void (*handler)(); Use set_unexpected() to register a user-defined routine that will be invoked when a function throws

Include Templates

Unlike ordinary classes and functions, which you declare in a header file and define in a separate .cpp file, a template

Limit Users Typing in Combo Box

The standard textbox has a MaxChars property that lets you limit the number of characters a user can type into it. The drop-down combo does not, but you can emulate

Design Extended Multiselect Listboxes

When you design a database in Access 2000, the most intuitive way or your users to look at the data they want might be to let them use xtended multiselect