Monday, January 07, 2008

Registry Updates to Undo Office 2003 SP3 File Extension Blocks

IntelliAdmin - Office SP3 blocks older file types - The Fix

"...

After installing Service Pack 3 I could no longer open some old DBF files in Excel.

...

Did some searching on Google, and I discovered that Microsoft has done this for security reasons. Knowlege base article 938810 explains it all....

...

Fortunately, If you decide that you can take the security risk in your own hands and want to still be able to open these files - you can.
Here are reg files that Microsoft is distributing to un-do the changes.

Download the Word Update
Download the Excel Update
Download the Power Point Update

To run them, simply open and allow the import into Regedit

..."

Three reg hacks to back out/undo the Office 2003 SP3 File Extension blocks. I'll need these in the very near future...

LINQ to TerraServer

Charlie Calvert's Community Blog - TerraServer Sample: A LINQ Provider

"Over the holidays Alex Turner, Mary Deyo and I added a new sample to the downloadable version of the CSharp samples that accompany Visual Studio 2008. This sample is called the LinqToTerraServerProvider, and it appears in a sub-directory called WebServiceLinqProvider. The LINQ provider technology that makes this sample possible is also used by other tools such as LINQ to Amazon, LINQ to LDAP, LINQ to SharePoint, and LINQ to Google Desktop.

...

The TerraServer example shows how to create a LINQ provider. The provider technology makes it possible for your to extend LINQ to enable querying a new data source. For instance, LINQ ships with the ability to query SQL servers, XML files and generic objects. The LINQ provider technology allows you to extend LINQ so you can query a new data source such as a text file or a web site. This particular sample shows how to write a provider that makes it possible for LINQ developers to query the web service provided by the TerraServer mapping and aerial photography web site.

The following query from the sample will return a list of states in the US that have a city, town or some other location called Redmond:

var query1 = from place in terraPlaces
where place.Name== "Redmond"
select place.State;


..."




This is kind of like "LINQ to World"?  ;)

I've Finally Joined the Zero's (as in 2000's)... My first "Drive to Work Podcast Listening Session"

I think I have to turn in my geek cred's... 

My drive into work today was the first time I've listened to a podcast (DotNetRocks #304 with Kathleen Dollard) via a MP3 player.

Yes, I've finally joined the podcast generation. Call me Mr. Geek!  LOL

All in all it was pretty painless and very cool.

Subscribing to Podcasts via the Zune Marketplace is easy (too easy? I have hours and hours now on my Zune to listen too now... :/ ).

Also I really dig how easy it is to subscribe to podcast feeds not on the Marketplace. I've "subscribed" to a number of free college courses available via audio feeds/podcast (from Yale, Stanford, UCLA and a couple more). Once you plug in the URL, the Zune software treats it just like any other Marketplace podcast...

In the car it took a bit to find the right FM frequency and due to the length of my drive, I had to play the "Pick a FM Freq" a couple times... But that's really just a one time game. Now that I have the freq's I should be good.

One improvement I'd like too see on the Zune is user configurable forward/back jump intervals. It seems that the podcast forward/back jump is 15 minutes? I'd like to be able to change that so for podcasts forward is 5 minutes...

I accidentally hit the forward jump about 26 minutes into a podcast. I then hit the back jump which took me to back to 15 minutes into the cast. So I had to listen to 11 minutes that I'd already listened to just so I could "catch up."

 

All in all I'm a very happy camper. I'm SO sold...

 

Update #1 1/11/2007 @ 6:30AM PST:

I am such a Zune nub. I realized yesterday that if you press and hold the forward or back you will fast forward or rewind and can avoid jumping/skipping. Sigh... I hate being a nub (aka noob, newbee, etc)

So in the above podcast listening case, I could have jumped back to 15 minutes in and then just fast forwarded to where I was previously.

BUT my feature request is still valid. It's hard enough driving here in LA, I don't need to be watching the road AND fast forwarding my Zune... A user definable skip interval is still something I'd really like to see.

Saturday, January 05, 2008

Tell me a VHDMount Story (Installing just VHDMount on Windows Vista and then mounting a VHD as a drive letter...)

Here's the story...

I had a VHD I downloaded from Microsoft that I wanted to browse. All I wanted to do was check if a few files were on the VHD's. That's it.

I felt installing Virtual PC 2007 to do this was overkill. Again all I wanted to do was mount the VHD as a drive letter and quickly browse it... VHDMount from Virtual Server 2005 R2 SP1 sounded like just the thing. Should be quick and easy, right?

In the end, it wasn't all that quick nor easy, but now that I'm setup it will be MUCH faster and easier next time (mounting a VHD will be just a double click away now).

To help others possibly in the same boat, I've jotted down some notes and related resources.


Intent:

Be able to mount a VHD on Vista and browse it like any other drive while installing the barest minimum of software.

Environment:

Vista Ultimate (Fully Patched)
User Account with Admin rights

Notes:

1. Download Microsoft Virtual Server 2005 R2 SP1 - Enterprise Edition (Free, Reg-ware)

Don't let the title throw you, this is the full Virtual Server 2005 R2 install AND its SP1...

Once downloaded, run it. You'll need admin rights (Install as Administrator, etc) of course (as you will through out most of this...)

2. Install just VHDMount

Do a Custom setup and set everything to Do Not Install EXCEPT for VHDMount
(assuming of course that's all you want, just the VHDMount utility. If you want everything listed, this install it all. All I wanted was just VHDMount...)

VHDMount 
[Screenshot leached from Offline VHD file mounting on the host operating system with Virtual Server 2005 R2 SP1 Beta 2]

Once the install is done, assuming you installed JUST VHDMount like I did, VHDMount may/will not yet work (with an error like "Failed to plug in the Virtual Hard Disk.").

3. Update the Drivers

From Installing Virtual Server with vhdmount only in Windows XP fails;

"What you'll need to do is go to control panel and select add new hardware.

Go through the steps until you can select "HAVE DISK" point to your VHDmount directory and select the inf file.

Make sure you select the "Microsoft Virtual Server Storage Bus".

Mount your drive using the /p command.

Go to your device manager, there you'll see a "Microsoft Virtual Server Storage Device" with an exclamation mark over its icon.

Right click on it and select "update driver", select the advanced option and point to your vhdmount directory again.

..."

Go to the Control Panel, switch to Classic View and then click on Add Hardware.
image  image  image image image image

...

Once that's all done open a CMD as Admin and;
"c:\Program Files\Microsoft Virtual Server\Vhdmount\vhdmount.exe" /p "path to your VHD here"

You should get an error or it just won't work... The next step is to update the "Microsoft Virtual Server Storage Device" Driver.

Now Start - Right click on My Computer, select Manage.

In the Device Manager "Microsoft Virtual Server Storage Device" should have an exclamation mark over its icon.

vhdmount07
[Screenshot leached from Offline VHD file mounting on the host operating system with Virtual Server 2005 R2 SP1 Beta 2]

Right click on it, select "Update Driver"

image image

Click on Next and let the driver install...

 

Now that that is all done, VHDMount, via the command line, should work for you. All you need now is some icing..

4. Add Mount/Unmount VHD Registry hack

Double clicking on a VHD to mount it

"... While vhdmount is provided as a command line tool - a very small amount of work will allow you to mount VHDs by just double clicking on them.  By creating a .reg file with the following contents:

..."

 

That's it. You should now have a Vista environment where you can double-click mount a VHD and browse it like any other drive...

 

Invaluable Resources:

B# .NET Blog Offline VHD file mounting on the host operating system with Virtual Server 2005 R2 SP1 Beta 2
Virtual PC Guy's WebLog Double clicking on a VHD to mount it
eggheadcafe.com Installing Virtual Server with vhdmount only in Windows XP fails
Microsoft Downloads Microsoft Virtual Server 2005 R2 SP1 - Enterprise Edition

Thursday, January 03, 2008

Zune Video Content for Every VS Developer Interested in learning VS2008

Ronan Geraghty's Weblog - Visual Studio 2008 on my Zune

"So Santa brought me an 80GB Zune. Clare says that putting the videos from the Visual Studio 2008 Training Kit on it makes me a geek. Maybe she's right :-o, but I think it's pretty cool and there's a Zune folder in the training kit if you look closely enough!

image_thumb_2

..."

That's it. I'm buying a Zune 80 as my birthday present (my precious... ;)

Now the decision... Run out and get it now or buy it online?

I guess I can run out quickly and if it's not in stock, can get back in time to buy it online so it arrives tomorrow. That sounds like plan...  :)

Update #1 1/3/2008 @ 10:31 AM PST:
Okay, well it seems you can't buy Zune 80's at any local (Simi Valley) stores. They just don't carry them, that you can only get them online...

 

Update #2 1/4/2008 @ 9:20 AM PST:
I hate to say this, but I posted this without first looking very closely at it... And it seems the linked Training Kit download DOES NOT contain the above folder (nor any video's that I can find).

Maybe they were removed them from the download due to size constraints, or it's a version or regional thing...? (I'm betting on size reasons...)

I'm still digging around and will update this post if I find any thing.

Thanks to jbrinkman for point this out...

 

Update #3 1/4/2008 @ 4:55 AM PST:

Here's a trick that seems to work...

Now in the Zune software, add the above Channel 9 feed URL and the Zune software will download all 28 of the video's for you (make sure you set the Series Settings to "Keep: All" or mark them all for download, etc).

Done. Now you have all the video's and they are just a Sync away from your Zune...  :)

I hope this helps...

 

Related Past Post XRef:
Five Days of Training Materials for VS2008/.Net 3.5

Windows Clipboard API via C# - ClipSpy+

CodeProject - ClipSpy+

"I had originally planned on calling this application ClipSpy but about midway through the project I thought I had better google it and see if there were anything else associated with this name, lo and behold there was an excellent article right here on CP written be Michael Dunn entitled ClipSpy. After reviewing what Michael had presented I decided to go ahead with my project since; his was written in 2001 and the Clipboard API has changed since then, I was planning on presenting the data differently anyway and going into a little more in depth, this implementation is written in C#, and I wanted to learn about the Clipboard and its inner workings.

So that how ClipSpy+ can to be and hopefully this article will introduce you to the Clipboard in all its glory!

In the following sections we will explore the inner workings of the Clipboard and when we have a basic knowledge of that I will explain how to use the ClipSpy+ application. So lets break down the problem down into manageable chunks;

..."

This is a very cool article on using, accessing, reading and watching the Windows Clipboard from C#.

The code also demonstrates an unusual approach to WinForm design...

Remove Personal Information From an Old Cell

Wireless Recycling - Erase Cell Phone Data: Free Data Eraser

"Sell, donate or recycle used cell phones worry free! The Cell Phone Data Eraser gives you all the tools you need to remove personal information like contact names and phone numbers from used cell phones. To erase cell phone data, simply:

  • Select your cell phone manufacturer
  • Select your cell phone model
  • Click the 'Download Instructions' box
  • Follow the easy, step-by-step instructions to erase your cell phone data

..."

Want to get rid of that old cell, but want to make sure no one gets your data off it? Then this site is for you...

You select the Manufacture/Model (from a list of about every phone in the known universe) and you'll get PDF instructions on how to clear its memory... Much easier than a big hammer or vat of acid (but not nearly as much fun)

(via Wired Prairie - How to clear data from your used cell phone)

Wednesday, January 02, 2008

IE7Pro v2.0 Released

IE7pro for Internet Explorer 7 - IE7pro v2.0 Released (02-01-2008)

"...

Changelogs:
1. Move to full modular version, Hope it will increase the stability
2. Add MiniDM as a simple replacement for IE default download window
3. Add hotkey CTRL+M to minimize IE windows to tray icon
4. 64bit version released (http://www.ie7pro.com/download.php )
5. Google sponsored search added

..."

New IE7Pro with stability improvements, x64 version and download manager goodness...

 

Related Past Post XRef:
IE7Pro 1.2 Released
IE7Pro v1.0 Released
IE7Pro v0.9.18 Released - Inline, Firefox like Spell Checking Added
IE7Pro - Must have IE7 Add-on?

Tuesday, January 01, 2008

Turn off Vista's UAC on an Application by Application Basis

Microsoft Support - How to disable the User Account Control Prompt for certain application (KB946932)

"Sometimes, you want to disable UAC prompt for certain application on a Windows Vista computer. You do not want to disable UAC for the whole computer.

Resolution

Using the tool and steps below, you may disable UAC prompt for the specific application. This does not disable the User Acount Control feature for the whole computer.

..."

Another tool for your Vista utility belt... Disable UAC, i.e. force a given application to Run As Invoker without UAC prompting, by using the Microsoft Application Compatibility Toolkit v5.0 to create an "Application Fix."

It's not hard, but not for the novice either...

(via John Robbins' Blog - How to Disable the UAC Prompt for a Specific Application)