Thursday, April 22, 2004

Things to do when in Seattle

Every once in a while when friends from out of town are visiting Microsoft they ask me for things to do in the Seattle area.  Normally I reply with one or two items off the top of my head and leave it at that.  This time around I asked a friend, Amy Bellamy, for some advice. She was asked for advice for a friend of  a friend who was visiting Seattle with a 12 year old daughter who loves sports and music. She gave me so much great information I felt compelled to post it here so I could refer friends to it in the future.  Here it is:

If you want to go to most or all of the above, you might want to buy a City Pass www.citypass.net

Other locations of interest:

Nice parks to visit are Gasworks Park, near Fremont, Golden Gardens or the  Ballard Locks in Ballard, Alki Beach in West Seattle, Volunteer Park on  Capitol Hill.

If you're a fan of Bruce Lee, his and his son's graves are in  the cemetery next to Volunteer Park on Capitol Hill. The cemetery gates are  on 15th Ave E just north of the Volunteer Park entrance.

Neighborhoods that are nice for a walk and some shopping are Fremont, Wallingford, Madison Park. Personally I would avoid Broadway on Capitol Hill and the U-district. Pioneer Square is sketchy at night but during the day there are some fun shops and galleries, also a cool monument to firefighters. The International District (also called "Chinatown") is near downtown, lots of great Asian restaurants and a good Asian grocery (Uwajimaya) near Seahawks Stadium; I'd go during the day, not at night.

For other shopping I would try University Village and downtown around Nordstrom.

Thursday, April 22, 2004 9:51:09 AM (Pacific Standard Time, UTC-08:00)   #      Comments [3]  
 

  Wednesday, April 21, 2004

VSLive Orlando - Call for Submissions

Yep!  It is that time of year again.  Time to start planning for VSLive Orlando.  The current plan is for this show to contain all new content. To do that of course we need existing speakers to submit new content and we need some new speakers.  If you have thought about presenting at an industry conference in the past here is your chance.  Visit http://www.ftponline.com/conferences/vslive/callforpapers/ and put your ideas in. 

Note the deadline is rather short for initial submissions so please don't delay.

Looking forward to seeing all of you in Orlando.

Wednesday, April 21, 2004 7:26:57 AM (Pacific Standard Time, UTC-08:00)   #      Comments [0]  
 

  Monday, April 19, 2004

Updater Application Block Quickstarts

I have been playing quite a bit with the Updater Application Block as of late.  I have heard a number of folks complain that it is hard to get working.  Well I finally found one big problem with the Quickstarts.  They use http to download updates in this case off my local IIS 6.0 install.  The download was always failing with a message about a file not being found however if you looked at the directory all the files they were looking for were clearly there.

Well this is the second time in two weeks I have been bit by IIS 6.0 and the fact that if a MIME type isn't defined for an extension IIS 6.0 won't serve the file. It will instead return a 404.  I had to add a mime type for the .PDB files that the manifest they setup attempts to download.  Don't know if this was a step they forgot to tell you about or if their testing was all done on IIS 5.x.  In any case there is your key from the wizard for this week.

Monday, April 19, 2004 8:37:14 PM (Pacific Standard Time, UTC-08:00)   #      Comments [1]  
 

  Thursday, April 15, 2004

Windows Form Handle Changing

I wrote an application recently that installs a Windows Form as an application bar with the Windows shell.  It was working all right until the client asked for some functionality that would minimize it to an icon.  At that point all hell broke loose.  It appeared after doing some tracing in the WndProc that at a certain point in time the window receives a WM_DESTROY and then at some point a WM_CREATE.  This was weird since I wasn't really ever destroying the window.  Took me a good day to figure out that when I was minimizing I was also doing a this.ShowInTaskBar=true;  Then when restoring I was doing a this.ShowInTaskBar=false;  Guess what?  This property essentially changes the WS_EX_APPWINDOW extended window style and to do this it creates and destroys the window!  This was wreaking havoc with my registration with the shell.

A side effect of this is that when it happens OnHandleCreated() and OnHandleDestroyed aren't called!  Seems totally counterintuitive since a handle was just destroyed and recreated.  The only way I could figure to track this was to wait for the WM_CREATE message in the WndProc.

Footnote: Some have asked what an application bar is.  It is something very similar to the windows taskbar yet application specific.

Thursday, April 15, 2004 12:26:01 PM (Pacific Standard Time, UTC-08:00)   #      Comments [1]  
 

  Thursday, April 08, 2004

Tablet PCs and Imagine Cup

Wow! I think this is a record.  Three posts in one day.

Robert was talking about the Tablet PC today in a post. I must admit I am one of those that "don't get it."  My wife does.  We picked up a Portege M205 for her and she loves it.  She uses it in her counseling practice and loves it. This amazes me as she has always been a bit computer phobic.

My second data point was my judging of the Imagine Cup on Wednesday.  I was suprised to see that 2 out of the 3 teams were using Tablet PCs!  Again Portege M205s! Students clearly get it.

I suspect I am prejudiced against the devices based on the fact that my main applications that I use are VS.NET, Vault, and Outlook.

Thursday, April 08, 2004 10:22:20 PM (Pacific Standard Time, UTC-08:00)   #      Comments [2]  
 
Channel 9 Sighting

I was on campus in Building 5 today doing a Performance and Scalability web cast with PAG and ran into the channel 9 guys filming stuff.  It appears that Robert Scoble was interviewing Chris Sells which must be part of the MSDN contingent in Building 5.  I waved Hi and went about my way. Time to wait and see if I end up on the editing room floor or if they leave my ugly mug in the video.

Thursday, April 08, 2004 3:01:17 PM (Pacific Standard Time, UTC-08:00)   #      Comments [1]  
 
University of Washington Imagine Cup

I had a blast last night judging the local entries to the Imagine Cup.  The entries were all over the map but at least two teams I thought did a fairly good job of coming up iwith a plausible scenario.  One team, the winner, had a fully implemented and functional solution.  I couldn't believe the effort that went into it.  They ended up creating half a dozen new controls for the compact framework and demoed the application running on the smartphone emulator.  It was quite clever and they had clearly thought through the issues with making the application run on a small device with no keyboard. They wanted to demo on a real smartphone but ran into the same problems most US developers hit, lack of devices. 

Congratulations to the University of Washington winners and good luck at the national competition.

Thursday, April 08, 2004 8:47:58 AM (Pacific Standard Time, UTC-08:00)   #      Comments [0]  
 

  Wednesday, April 07, 2004

VSLive Orlando 2004

I have started planning for VSLive Orlando 2004.  I am responsible mainly for the ASP.NET track.

Several changes will be happening with this iteration of the conference. 

  1. I think this is the right timing to start ramping up on ASP.NET 2.0 content. I have no idea on release dates other than the Visual Studio 2005 name that was announced.  Since this conference will be happening in September the timing seems right that a beta will have shipped by this point and users will be starting to get on board.  That being said I think the majority of folks will be still developing with ASP.NET 1.x.  Some content needs to be maintained for them.  It will be a tricky balance given a total of 10 sessions to shoe horn the content into.
  2. I think existing .NET adoption falls into two camps based on technology.  I think the ASP.NET guys tend to be a bit ahead of the curve based on shorter development cycles, the fact that they don't require any client side installs, etc.  Hence most developers have already made the move.  Whereas I think many Windows Forms developer types are just starting to make the move or have made it recently. Based on this my thought is that all ASP.NET 1.x content should move squarely into the Intermediate-Advanced realm while the ASP.NET 2.0 content is more Intro-Intermediate.  Does this make sense?

What are peoples thoughts on the split?  50/50?  60/40?

In addition I have a mission in mind to get more new speakers involved.  This can be a two edged sword. Speakers that I have worked with in the past are a known quantity.  I know quite a bit about their speaking abilities as well as how audiences react to them.  A new speaker is always a crapshoot.  I firmly believe however that we need new blood. This new speaker thing is also complicated by the way speakers are compensated.  They are compensated per session and as a previous speaker I feel that I need to give each speaker at least two sessions.  This means that I have a grand total of 5 speakers for VSLive Orlando.  I wish I could have more but that isn't my choice.

So with all of that in mind I am interested in two additional things.  What do people want to see related to ASP.NET?  Give me both 1.x and 2.x topics. Which speakers do you want to see?  Help me figure out how to create a conference that you will want to attend.

Wednesday, April 07, 2004 2:24:22 PM (Pacific Standard Time, UTC-08:00)   #      Comments [0]  
 

  Tuesday, April 06, 2004

IEHost, Smart Client and DragDrop

A client of mine was working on adding drag and drop to a Windows Forms control hosted in Internet Explorer that we use.  They wanted to allow a user to drop a group of files, email messages, etc onto this control and then do something with the items that were dropped.  We got it all working great in a Windows Form but the same control hosted in Internet Explorer exhibited two strange behaviors:

  1. Whenever more than one file was dropped onto the control GetData(DataFormats.FileDrop) yielded only the first!  This was a weird one.  Come to find out this was the lack of System.Security.FileIOPermission!  Once we added this attribute: [FileIOPermission(SecurityAction.Assert, Unrestricted=true)] we started to receive more than one file.  According to PSS this is because there is a FileIOPermission demand in GetData() that fails silently after retrieving the first file.  Sounds like a bug to me!
  2. Second issue we ran into is that in the DragDrop handler we wanted to make a remoting call to our controller to have it launch a form. This failed only when we were in a DragDrop handler.  We never determined the root cause here but did determine that the source of the drop is blocked until the DragDrop completes.  Sure seems like I should be able call a method to indicate that is the case but instead you must return from the DragDrop event.  To get around this we did a this.Invoke() on a method containing the work. This allowed the DragDrop event to return and then for our form to be launched.
Tuesday, April 06, 2004 1:31:28 PM (Pacific Standard Time, UTC-08:00)   #      Comments [0]  
 

  Friday, April 02, 2004

HREF Exes in the Browser Oddity

If you have been reading my blog you realize that I do quite a bit with HREF exe style applications.

Well this past week I was working on a feature for a client with a co-worker and hit a bizarre problem.  We are modifying our application to act as a drop target.  This works great when the control we are using for the drop target is hosted in a windows form.  When the control is hosted in Internet Explorer dropping multiple files on the target results in only the first dropped file showing up!  Sure seems like a bug and turns out to be very problematic for us.  Anyone else ever hit this issue?

Friday, April 02, 2004 7:29:21 PM (Pacific Standard Time, UTC-08:00)   #      Comments [0]  
 


Administration
Sign In