Now here's an idea that I've had since I first saw iCal and that someone else has now done. I haven't had a chance to install and play around with it yet, but the screenshots look good.
Microsoft released a new XML Web Service that provides access to the content stored in the MSDN/TechNet Publishing System (MTPS). Using this new service, you can integrate documentation, technical articles, whitepapers, images and other content available from the MTPS system into your own application. This looks really cool! I can't wait to see what cool things people do with it.
Below are some links for more information:Announcing the MTPS Content ServiceMTPS Content Service Documentationmsdnm... [More]
This site is similar to Digg, except that it's just for developers. DotNetKicks.com is a community driven, social bookmarking site for .NET and other Microsoft development technologies.
I encourage others to try out DotNetKicks.
It lasted only a week. I had Vista Beta 2 and Office 2007 Beta installed on my laptop (my primary machine.) Everything was fine (besides my machine running a bit slower) for a couple days, until .NET 2.0 decided not to let me debug code anymore. It was strange, all of a sudden, all breakpoints I set in code had stopped working. I was going to try reinstalling the .NET Framework 2.0, but it's not an option with Vista since it's "baked" in the OS. So I tried reinstalling Visual Studio 2005 in... [More]
Recently, I search for articles/documentation about Url Mapping in IIS7, but I couldn't find anything. So, I asked Scott on his blog, "What features does IIS7 offer for Url Mapping?"
Scott replied with the following:The core IIS7 release provides all the infrastructure to do URL rewriting for all resources (ASP.NET, ASP, PHP, HTML, etc).The Vista release won't have a URL rewriting rules engine built-in -- although we are looking at making one available as a download in the future.
I was going ... [More]
Here is a version of my code for syntax highlighting in a RichTextBox that incorporates regular expressions.
Download RegEx Syntax Highlighting RichTextBox Source Code
Source Code Listed:
Public Class SyntaxRTB
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _ (ByVal hWnd As IntPtr, ByVal wMsg As Integer, ByVal wParam As Integer, _
ByVal lParam As Integer) As Integer
Private Declare Function LockWindowUpdate Lib... [More]
I installed Windows Vista Beta 2 on my laptop yesterday (my primary machine). I didn't have the correct video driver upon install, so everything was 800x600 with only 8bit colors. But the cool thing was; Windows Update had the latest video driver for my hardware listed; so I installed that and everything worked fine. The install for Vista only had 2 steps: 1) enter key, 2) hard drive partitions. It did everything else automagically. Very easy to install!You are probably thinking I have a pretty ... [More]
Here is a small example of how to convert a System.Drawing.Color to the HTML color format (Hex value or HTML color name value) and back.
System.Drawing.Color c = System.Drawing.ColorTranslator.FromHtml("#F5F7F8");
String strHtmlColor = System.Drawing.ColorTranslator.ToHtml(c);
Update (11/7/2007): This control is now located here: http://codeplex.com/pietschsoftve3
I just uploaded a new release (v0.02) of my ASP.NET 2.0 Virtual Earth v3 Server Control. The download contains a Visual Studio 2005 solution that contains the source code for the server control dll and a sample website that uses the control. The only new feature in this release is full ViewState support. I do plan on adding many more features to this control as I get time to work on it. Enjoy!
One of the things I noticed is they are adding support for the XMLHttpRequest object if the browser doesn't natively support it. In the past I've traditionally just created a function named similarly to 'CreateXMLHttpRequestObject' and I make that function support multiple browsers. The technique that's used in Atlas is they are adding ... [More]
I need to geocode some addresses once in a while and I notice if you view the source of the Google Maps page, the geocodes are right there. So instead of looking at the source of the page manually, I just created a little app that scrapes them from the page for me and places them into textboxes.
Below is a small code snippet I wrote that does just that. It's not perfect but it is simple and it just plain works.
string lat = "";string lng = "";string address = "1 Microsoft Way, Redmond WA";
Here is v0.01 of my ASP.NET Virtual Earth v3 custom control. The zip file download contains the DLL code and a sample test website.
PietschSoft.VE3 v0.01 Features:
Display map on a page with server side parameters (latitude, longitude, zoom, map style, etc.)
Ability to plot points on the map from with in server side code
I am modeling the objects in my li... [More]
Add a .js file include inside the page header:
var str = '';
var elem = document.... [More]
The last couple months at work, I've been working a lot on a new real estate mapping product that was launched last week called eNavigator (Try out eNavigator here). It utilizes AJAX and the Microsoft Virtual Earth v1 Commercial control and supports IE and Firefox. The coolest feature is the Interactive Map search that allows you to click and drag the map around to find that home of your dreams.
Something I started working with tonight is the new Virtual Earth v... [More]
The latest episode of the MSDN .NET Show features a great interview with Scott Guthrie and Bill Staples on IIS 7.0. The show includes a 30 minute interview about the product, along with 30 minutes of demos.
IIS 7.0 on the MSDN .NET Show
The latest IIS 7.0 Beta will be included in Windows Vista Beta 2. Also, it will be shipping with Vista, and will be included in the "home" editions as well. I'm hoping the final release of IIS 7 will ship with the RTM of Vista, and I don't have to wait for... [More]
Last weeks episode of Security Now! has a great explanation of how buffer overruns work.
Security Now! Episode 39 - Buffer Overruns
At the next Wisconsin .NET Users Group, Dave Wanta will be presenting an introduction to Regular Expressions, also known as RegExes. The presentation will be covering the basic Regex operators, metacharacters and pattern matching. Then he'll move into advanced groupings, replace and logic branching. This presentation sounds great! I'm a little familiar with regular expressions, but I'm sure I'll learn alot from this presentation. I'll probably be bringing my laptop to this one.
June 13, 2006 - ... [More]
I've come across two cool WinXP TaskBar enhancement tools.
Visual Task Tips - This tool provides a thumbnail screenshot of each app when you mouse over the it in the taskbar. You may have seen this feature in some of the screenshots of the Windows Vista Beta, but this tool brings that functionality to Windows XP. I noticed the thumbnail is a somewhat live preview; just open up a video in Media Player and watch a somewhat choppy version of what's playing be shown in the thumbnail.
Taskbar ... [More]
Sweet! I finally recieved my MSDN Subscription ID today! It only took two weeks since I signed up on the MVPInvite.com website using my secret Invite Code. Everything is so automatic these days, I was almost thinking something got screwed up and I wouldn't get my subscription.
The MVPInvite.com domain name isn't registered to Microsoft, so it must be a third party that runs that site. I figure they had to write my info on a piece of paper, then snail mail it to Microsoft's MSDN department who t... [More]
The next Wisconsin .NET Users Group meeting is just two days away. One of our local MVP's, Sean McCormack will be speaking on the topic of "Object Relational Mapping Frameworks: Simplify & Improve Your Data Access Layer". I'm looking forward to this months meeting since this is a topic that I don't know a whole lot about. Several frameworks will be covered; including NHibernate, Codus, Elementary and the DLinq specification among others. Other ORM capabilities will also be covered;... [More]
I attended Deeper in .NET yesterday, along with a few hundred others. It was an excellent day filled with .NET goodness. I’m not sure what the actual attendance count was, but I guess it was higher than last year’s event.
We learned about:
WCF (formerly Indigo) Top to Bottom with Michele Leroux Bustamante
Anatomy of a Successful ASP.NET Application: Inside DasBlog with Scott Hanselman
ADO.NET 2.0 Integration with SQL Server 2005 with Julia Lerman
AJAX and Atlas with... [More]
Friday night, two days ago, the Wisconsin .NET Users Group held a dinner to thank some of the most active and influential people in the community. I was lucky enough to get invited because I’m one of the more active Bloggers in the users group. The dinner offered the chance to enjoy live local music, learn more about the WI .NET Users Group and meet/talk with the speakers that would be presenting at Deeper in .NET 2006. How could I pass on this great opportunity?
Well, since I’m sor... [More]
On April 22nd at the Wisconsin .NET Users Group's Deeper in .NET 2006 event, Scott Hanselman will be presenting on "Anatomy of a Successful ASP.NET Application: Inside DasBlog". DasBlog is one of the most popular ASP.NET blogging engines. In this presentation Scott will cover creative uses of HttpModules and HttpHandlers, using background threads within ASP.NET, internationalization, caching, skinning, creating a macro language, Web Services that are more than SOAP and more.
This day long event... [More]