News

My Stats

  • Posts - 305
  • Comments - 223
  • Trackbacks - 82

Twitter












Tag Cloud


Recent Comments


Recent Posts


Article Categories


Archives


Post Categories


Entertainment


Friends


Tech/Geek


December 2006 Entries

Cold Friggin' Ride


posted @ Saturday, December 30, 2006 4:20 PM | Feedback (1) |


Tim Heuer: vista and office dev: creating preview handlers


This is awesome... TimH creates an Office 2007 code attachment preview handler...

[via: Method ~of~ failed]

in outlook 2007, when you have an attachement in a mail message and click on the attachment file, you are presented with an option to preview this attachment directly in outlook...just like the preview pane for a normal message...

...a few handlers of my own.  as a developer i frequently get code files sent as attachments.  i generally have to open them up and look at them in visual studio or notepad2 for code highlighting, etc.  well, with my new found knowledge i created a code preview handler.  it will see .cs, .vb, .js and .sql files and enable a previewer to show them in code-highlighted formatting in the preview window of outlook 2007 or windows vista explorer.

codeprievewer

posted @ Wednesday, December 13, 2006 2:51 PM | Feedback (0) |


VSTO: Custom Button Pictures


Jeesh... this really should be easier.

http://msdn2.microsoft.com/en-gb/library/ms268747(VS.80).aspx

1. Create a new class named ConvertImage. This class uses System.Forms.Axhost to convert an image file to an image type that can be applied to the menu item.

2. Add a method to convert the icon file into an Image file by adding it to an ImageList. This code sends the Image file to the ConvertImage.Convert method you created and then returns the file to the caller.

posted @ Wednesday, December 13, 2006 7:35 AM | Feedback (0) |


Another Winter Ride


Rob and I brought Derek and Oliver along for this one...

 

posted @ Monday, December 04, 2006 5:42 AM | Feedback (0) |