This site has information on the Windows NT command line commands. They apply to Windows 2000 as well.
NT Commands
Monday, May 31, 2004
Tuesday, May 25, 2004
Next Day
This chunk of T-SQL code can find the next date that a certain day of the week occurs after the current date. The example finds the date of the next Thursday.
-- Get the next Thursday (in the formula we are using Monday = 1 so Thursday = 4)
SET @wanted_day = 4
SET @ap_date = DATEADD(d, (15 + @wanted_day - @@datefirst - DATEPART(dw, GETDATE())) % 7, GETDATE())
-- Get the next Thursday (in the formula we are using Monday = 1 so Thursday = 4)
SET @wanted_day = 4
SET @ap_date = DATEADD(d, (15 + @wanted_day - @@datefirst - DATEPART(dw, GETDATE())) % 7, GETDATE())
Monday, May 24, 2004
National Do Not Call Registry
National Do Not Call Registry I'm going to be using their complaint form a lot if those telemarketers don't stop calling.
Sunday, May 23, 2004
Visual C# Developer Center: Frequently Asked Questions
Visual C# Developer Center: Frequently Asked Questions: "The C# team, along with members of the C# Community, are answering Frequently Asked Questions "
Sets
Microsoft's got an interesting article on sets that includes a C# class that handles sets similar to the way Pascal does.
Part 6: Efficiently Representing Sets
Part 6: Efficiently Representing Sets
Kansas City Events
This page lets you search events occurring in the Kansas City area.
VisitKC.com - Official Travel and Tourism Site for Kansas City
VisitKC.com - Official Travel and Tourism Site for Kansas City
Thursday, May 20, 2004
Getting the absolute path in ASP.NET
This could be useful if I get to do any ASP.NET development again.
Getting the absolute path in ASP.NET: "Typically when we create ASP.NET applications, we are developing against a virtual directory. However, when we deploy our app to a production web server, it is likely set up as a web site. This can have an impact on href assignments when using absolute paths. In order for paths to be consistant between virtual directories and web sites, I created a helper method that will work in either environment. "
Getting the absolute path in ASP.NET: "Typically when we create ASP.NET applications, we are developing against a virtual directory. However, when we deploy our app to a production web server, it is likely set up as a web site. This can have an impact on href assignments when using absolute paths. In order for paths to be consistant between virtual directories and web sites, I created a helper method that will work in either environment. "
Wednesday, May 19, 2004
My Parents Visit
My parents came for a visit over the weekend.
While they were here I bought a grill and my Dad showed me how to use it to grill hamburgers. It was a bit more involved than I thought. I'm glad I waited to get one until someone who knew what he was doing was here.
While we were on our way to the GrassPad to try to buy some rhubarb plants (unfortunately they were sold out), my Mom noticed a sign for the Arboretum. So we stopped off there briefly on our way back. I think I now know where some of my stranger weeds are coming from.
Mom made a couple of delicious rhubarb pies using Grandma's recipe and some rhubarb she brought from South Dakota. That was what lead to the GrassPad trip as I was hoping I could start growing some rhubarb of my own.
While they were here I bought a grill and my Dad showed me how to use it to grill hamburgers. It was a bit more involved than I thought. I'm glad I waited to get one until someone who knew what he was doing was here.
While we were on our way to the GrassPad to try to buy some rhubarb plants (unfortunately they were sold out), my Mom noticed a sign for the Arboretum. So we stopped off there briefly on our way back. I think I now know where some of my stranger weeds are coming from.
Mom made a couple of delicious rhubarb pies using Grandma's recipe and some rhubarb she brought from South Dakota. That was what lead to the GrassPad trip as I was hoping I could start growing some rhubarb of my own.
The Sasser Worm
Here's Microsoft's page on the Sasser Worm. I've already had to help out a few friends and relatives who've had problems with this.
What You Should Know About the Sasser Worm and Its Variants
What You Should Know About the Sasser Worm and Its Variants
EasyThread - Quick and Easy Application Threading
A VS.NET 2003 add-in that makes multithreaded programming easier
EasyThread - Quick and Easy Application Threading
EasyThread - Quick and Easy Application Threading
Tuesday, May 18, 2004
XmlNameTable: The Shiftstick of System.Xml
XmlNameTable: The Shiftstick of System.Xml: "The XmlNameTable enables object reference comparison rather than string value comparison and is useful in documents with many repeating known elements, attributes or namespaces which are automatically added to the XmlReaders XmlNameTable, a process called atomization. This allows you to then added your own names to the nametable and perform efficicent object comparisons rather than character by character string comparisons."
Monday, May 17, 2004
Cancel a restart or shutdown
Cancel a restart or shutdown:
To cancel a restart or shutdown
- Open Command Prompt.
- Type: shutdown /a within the time-out period.
Tuesday, May 11, 2004
New Templates
The Great Blogger Relaunch includes a bunch of new blogger templates. I haven't decided if I'll switch to one yet or not.
Google Blogs
Google finally has an official blog.
But I'm probably going to keep reading the original unofficial google weblog as well.
But I'm probably going to keep reading the original unofficial google weblog as well.
Monday, May 10, 2004
Application Blocks Links
Useful URLs:
The article has links to information on:
Leveraging Application Blocks in Your Applications
Rapid Application Development with Visual Studio 2005
XML, XQuery, and CLR Integration in SQL Server 2005
SQL Server 2000 Reporting Services
The article has links to information on:
Leveraging Application Blocks in Your Applications
Rapid Application Development with Visual Studio 2005
XML, XQuery, and CLR Integration in SQL Server 2005
SQL Server 2000 Reporting Services
Wednesday, May 05, 2004
ASP.NET Uses Short Names When Loading DLLs
Odd behavior in ASP.NET
ASP.NET uses short names to determine what it loads from the bin directory. So don't give a file a name like MyLibrary.dll_bak because it might wind up with a short name like MYLIBR~1.DLL.
ASP.NET uses short names to determine what it loads from the bin directory. So don't give a file a name like MyLibrary.dll_bak because it might wind up with a short name like MYLIBR~1.DLL.
Bookmarklet to Zoom IE's Display By 200%
Tuesday, May 04, 2004
VSTweak PowerToy
VSTweak PowerToy
A PowerToy for Visual Studio.NET, it has a MRU Lists Manager that allows you to clear recent files and projects.
It can be used as a fix for when Visual Studio.NET is slow in starting up.
A PowerToy for Visual Studio.NET, it has a MRU Lists Manager that allows you to clear recent files and projects.
It can be used as a fix for when Visual Studio.NET is slow in starting up.
Subscribe to:
Posts (Atom)