Thursday, August 25, 2005
Wednesday, August 24, 2005
Jenks optimization method
Tuesday, August 23, 2005
The Code Project - A flexible charting library for .NET - C# Programming
Differentiating between a single click and a double click C#
Monday, August 22, 2005
Building a Store Locator with MapPoint's Web Service
Here's a link on how to build a store locator application with MapPoint's Web Service: http://www.livemeeting.com/cc/partners1/view?id=2745&role=attend&pw=c15052. This is a line by line presentation on how to code against the APIs and how it applies to a store locator application. The presentation goes through Authenticating, FindAddress, Find, FindNearby, GetMap, FindByID, and CalculateSimpleRoute. |
Thursday, August 18, 2005
Previewing HTML with InternetExplorer.Application in C# - Rick Strahl's WebLog
Monday, August 15, 2005
Friday, August 12, 2005
Automatically starting the debugger when an application starts (registry entry)
Image File Execution Options
There is a location in the registry that will automatically attach a debugger to an application when it starts to run. This registry location is the following:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Image File Execution Options
Under this registry key, you simply create a new registry key with the name of the process you want to debug, such as "myapplication.exe". If you have not used this before, there is probably a default key already created called "Your Application Here" or something similar. You can rename that key and use it if you like.
One of the values on this key is "Debugger". This should point to the debugger you want to start when this application is run. The default for "Your Application Here" is "ntsd -d". You cannot use this unless you have a kernel debugger attached so I would remove the "-d" part.
Note: Keeping "-d" and not having a kernel debugger attached could result in locking up of your system every time that application is run! Be careful. If you have a kernel debugger setup, you can unlock the system by hitting "g".
There is another value that may be there called "GlobalFlags". This is another tool that can be used for debugging, however it is outside the scope of this article. For more information on that, look up "gflags.exe".