Saturday, August 15, 2009

Cloudboard – A cloud based, shared, Live FX based, clipboard (with source ;)

CodePlex - Wintellect Cloudboard

Project Description
Wintellect Cloudboard creates a clipboard that you can share across your machines and with other people.

Cloudboard is a desktop WPF application that leverages Microsoft's Live Framework for storage and synchronization and is developed in C#.

Ever had to rely on thumb-drives or shared folders just so you could copy and paste things between machines? Do you ever wish that you could store more than just ONE thing in the system clipboard? Wouldn't it be nice to be able to see what you have in the clipboard rather than blindly pasting and having to undo?

Cloudboard is an easy-to-use, automatically-synchronized clipboard that does all of these things (and more!) by leveraging Microsoft's Live Mesh technology.

image …”

I have a number of different “sharing” methods to move small data bits between the different systems I use, but none of them are as cool as this. :)

I’ve really not seen many Live FX based projects (any?), yet this is a great usage of that technology.

If you’re interested in Live FX, XAML/WPF, C# or any number of Windows API calls, check out the source of the project (also if you’re looking for a Project to work on, they are looking for some adventurous, cutting edge souls to join in on the project :)

(via Andy Hopper's Blog - Cloudboard v1.0 has been released!)

LINQ’ing to Word and Excel – Deborah shares the magic of Cast (in C# & VB)

Deborah's Developer MindScape - Using Linq with Microsoft Word and Excel

“Some of the collections in the Microsoft Office object models implement IEnumerable. The IEnumerable interface provides the ability to perform a for/each against the collection. With .NET 3.5, a Cast extension method of IEnumerable allows you to work with these collections using Linq.

Microsoft Word

For example, say you want to bind the set of open Word document names in a ComboBox.

image

I like the idea of using LINQ with Word/Excel (and by example other Office applications). I my day life I sometimes feel I live in a Office app collection loop, so using LINQ to streamline that is very appealing.

This is one of those things where I could see myself banging my head against the keyboard, trying to figure it out and just get it to work. I don’t know if I’d have figured out the magic of Cast and instead given up and gone back to a collection loop approach…

Free Windows 7, Server 2008 R2, Exchange 2010 IT and Developers event coming to a US city near you – Oh yeah, go and you get a free copy of Windows 7 too

The Road to Know Where - Free Copy of Windows 7 and Free Windows 7 Training for I.T. Professionals & Developers from Microsoft

“Microsoft will be providing Free "Deep Dive" Training for IT Professionals & Developers (along with a Free Copy of Windows 7!).

image

…”

The “New” Efficiency 

“Attend the free event, take home Windows 7

These are the new innovations that can help you be part of the new efficiency. And at our free live events, you can learn, network, and get your copy of Windows 7

image

image

Blake has done a great job of capturing the information on this event, if you’re interested see his post before you head over to the main site.

I’ve signed up for the Los Angeles event (well Burbank, which is nice for me)…

I do wonder if the “free Windows 7” is a full version or time bombed/trial (and also what edition/version). I’d like to think it’s a full and complete version, and given the target audience I’d expect Windows 7 Professional, but we’ll see. (“Cynical, table for one…”  lol ;)

Friday, August 14, 2009

castRoll Refreshed

I’ve taken a quick (well not really all that quick since it’s been over a year since I refreshed it… sigh) pass through my Zune podcasts and refreshed My castRoll - A list of the Webcasts on my Zune

Interesting how my interests changed over time…  The major items added were all the writing (I’m a wanna-be wanna-be writer) and nutrition (don’t wanna-be fat any more/again) casts.

Sysinternals Suite Refreshed – All the latest Sysinternals Utilities, one tiny zip (well 10MB zip…)

SysinternalsDownloads

“Sysinternals Utilities Index

Sysinternals Suite
The entire set of Sysinternals Utilities rolled up into a single download.

…”

Looks like the Sysinternals Suite has been refreshed with the latest version of all the Sysinternals utilities. If you need an offline version, then the Suite (with 96 files of Sysinternals goodness) is the way to go.

image

image

If you have a live connection to the internet, then \\live.sysinternals.com is the way to go…

(via Blog for Sharepoint Hunter - Sysinternals Suite Released!!)

 

Related Past Post XRef:
Sysinternals Suite (8MB of Complete Sysinternals Goodness)

Mesh'ing Live.Sysinternals.com, using Vista Scheduling and Robocopy
The latest Sysinternals utilities are just a URL away, Live.Sysinternals.com

Use the Sysinternals Utilities? The EULA bug dialog you? Then try this…

Thursday, August 13, 2009

LINQ to SQL Cheat Sheet in both C# and VB

damieng - LINQ to SQL cheat sheet

“A few short words to say I've put together a cheat sheet for LINQ to SQL with one page for C# and another for VB.NET.

It shows the syntax for a number of common query operations, manipulations and attributes and can be a very useful quick reference :)

…” [GD: Post Leach Level: 95%(pretty much everything but the link to the PDF]

I like cheating …err… um… Cheat Sheets… yeah, those. ;)

Sometimes you just need a short code snip to get you moving in the right direction (or to re-align your brain, etc). Damien’s LINQ to SQL Cheat Sheet is prefect for that.

image

Related Past Post XRef:
Low Cal LINQ Standard Query Operators Cheat Sheet

Four Expression 3 Starter Kits, two for Blend and two for Web, focusing on Sketchflow, Gaming, SuperPreview and SilverLight.

UX Connection - Download the Expression 3 Starter Kits

“Getting started with Expression Studio 3? Here are 4 great learning kits to help you get things started.

Introduction to Prototyping with Sketchflow in Expression Blend 3: Assets, Guide and Video Package

Venture into Gaming with Behaviors in Expression Blend 3: Assets, Guide and Video Package

Discovering SuperPreview in Expression Web 3: Assets, Guide and Video Package

Support for Silverlight in Expression Web 3: Assets, Guide, Video Package

image

I don’t know about you, but I need all the “designer” help I can get…

To give you a feel for what’s in the kits, here’s a peek at what’s in the SuperPreview Starter Kit. The other kits are similar in format (but of course in varying content, length and number of modules).

image

And from the TOC;

SuperPreview Starter Kit

4Snippets (Approximately 5 minutes each)

This starter kit will walk through the use of SuperPreview (using the standalone for 5 out of the six modules and then demoing the integration in Expression Web for the 6th). The scenario will be a web page that has at least three major issues with IE6 and two smaller issues between other browsers (IE8 & 7) (IE8 & Safari for Mac).

1. Introducing SuperPreview

  • What is SuperPreview
    • An all-in-one tool that allows you to accurately debug websites using multiple browsers on the same system
      • Includes a built-in rendering engine for IE6 and other browsers
    • Allows you to debug cross-platform
    • Allows you to compare a rendering with a mockup
    • Compare one page with three browsers(An IE8, IE7, IE6)
      • Browse to a local page
      • Define a baseline browser (Ie8)
      • View browser renderings side by side
      • Using Selection Mode vs. Panning Mode
      • Demonstrate synchronized scrolling and synchronized guides
    • Expression Web 3 Integration
      • Fixing the double-margin bug with a “display:inline” rule.

2. Defining baseline browsers and comparing image mockups

  • Defining a site in Expression Web 3
    • Displaying a web page in SuperPreview
    • Defining Baseline browsers in Superpreview
      • Adding Comparison browsers
    • Importing a web page mockup into Superpreview
      • Using synchronized guides
      • Redefining the Baseline browser
      • Adding comparison browsers

3. Identifying the source of layout problems in SuperPreview

  • Comparing a web page between a baseline browser and three comparison browsers
    • Visually determining which browsers display layout differences
    • Working in Split layout to compare layouts
  • Working with Box highlighting to isolate the source of layout problems
    • Using the quick position display to view the size and position of a selected element
  • Working with “Lights-out” mode to isolate and identify positioning discrepancies.
  • Modifying a css rule to fix an IE6 floating bug
    • Refreshing browser views in SuperPreview

4. Working with the DOM view in SuperPreview

  • Activating the Dom tree view in SuperPreview
    • Document Object Model (DOM) overview
  • Using the DOM tree view to help isolate and identify layout problems within your web page
    • Navigating the DOM tree to determine the structure of the elements in your web page
    • Defining “Has Layout” for Internet Explore
    • Clicking on elements in the Comparison view to identify ID and Class names
  • Using Expression Web to locate CSS rules with Find and Replace

Tuesday, August 11, 2009

Windows 7 and two click access to Windows Update – “Or how I learned to love pinning Windows Update”

Some people (cough… yes, Scott L. you…cough) call me a freak, but I really like having my Microsoft/Windows Update pinned to my Start Menu. Yes, I have it auto-updating every night, but I still find myself needing to go to it enough where two-click (open Start Menu, click on Update pinned… i.e. left, left) access is a personal time saver.

With Windows 7 you can no longer directly pin Windows Update to the Start Menu or Taskbar. BUT there are some tricks that make it almost as easy to access it.

Here are three ways I’ve found to easily access the Windows 7 Windows Update via your taskbar or start menu.

 

1) Windows Update via Right-Click on Action Center

When I first whined about this on Twitter, Brian Keller pointed me at the easiest solution(tweet). Windows Update is just a right click away on the Action Center.

So find the Action Center in your System Tray;

image

Right click on it and you’ll see the “Open Windows Update” context menu;

 image

Left clicking on “Open Windows Update” will take you… drum roll please… directly to Windows Update.

Okay, that’s cool. Two clicks, (right,left) and kind of hidden, but still pretty easy.

 

2) Pin the Control Panel and then Windows Update in the Jump List

I just found this today and thought it was pretty neat…

Open the Windows Update (say via the above method). You’ll now see the Control Panel icon in your Taskbar;

image

Right click on it and select “Pin this program to the taskbar”;

image

This will pin the Control Panel to you taskbar (funny that). Now right click on the Control Panel icon again and you should see something like the list below (though the items in your Recent list will be different).

Move the mouse over Windows Update.

See if little push pin? Click on that;

image

Now Windows Update is Pinned in the Control Panel’s Jump List, and the Control Panel is Pinned to your taskbar.

image

So again, we’re two clicks away (right, left again), and there’s more setup involved, but it is another viable means. This also shows you how you can pin other control panel items to your taskbar, so it’s like a two for one deal.

 

3) Put “Control wuaucpl.cpl” in a Command/Batch file and then pin that

For the command line comfortable, there’s this last method. More setup needed and only works for the Start Menu yet workable. You can fire up, go to, start up, etc Windows Update via the command line. Start/Run and enter “Control wuaucpl.cpl” to fire up Windows Update.

Cool, but doesn’t save many clicks.

BUT since you can command line it, you can put it in a command/batch file (*.CMD) and then pin THAT. And in this case you CAN pin it to your Start Menu (lol… but not the Taskbar)

If creating a batch file scares you, then go with steps 1 or 2 above…  If not, then open Notepad, enter in “Control wuaucpl.cpl” (but don’t include the quotes).

Save the file to someplace you’re remember (Documents, etc) and name it with a descriptive name and end it with “.CMD” (again, no quotes).

I used “WU.CMD”

image

Close Notepad and open Windows Explorer and go to where you saved the file. You should see something like below;

image

Double left click on the file and it should briefly pop-up a cmd window and then Windows Update (don’t worry, the cmd window will go away);

image

Yeah! So you have Windows Update “scripted”. Cool. Now to pin it.

Left-click and while still holding down the mouse button (i.e. click and drag) drag the cmd file (in my case “WU.CMD”) over to your start menu.

Drag it first over the Start Menu orb;

image

This will open up the full Start Menu. While still holding down the left mouse button, move the mouse to the top of your Start menu.

Do you see it? See how the icon you’re dragging now has that little “Pin to Start menu” on it? Release the left button;

image

You should now have a Windows Update pinned to your Start Menu!

image

Yeah! You can rename it need be (leaving in the .cmd), move it around in the menu, etc, etc.

AGAIN two clicks (left, left) and much more setup, but we’re all different so options are good. :)

 

So there you go, three free means of “pinning” Windows Update. I hope this helps…

Please use for good and not evil, your mileage may vary, I assume no liability or risk with anything covered in this post, please make sure you trays are in the upright position and above all else, smile.  :)

Free regular expression addin for Visual Studio - Regular Expression Explorer

Visual Studio Gallery - Regular Expression Explorer

“…

RegEx Explorer is a visual studio addin which lets you create or modify regular expressions and test them with any text. Matches are highlighted by surrounding each with a red box. A dropdown list of suggestions is available with choices for email, GUID, URL, etc. Any pattern you create can be added to the suggestion list. Existing suggestions can be removed by pressing DEL on a selected name.

Checkboxes are available for Ignore Case, Multiline and to auto-add or remove a ^$ wrapper. Patterns can be saved to be future suggestions. Patterns can be copied to the clipboard with a button press for pasting into your code. Matches are displayed in real-time as you type.

This add-in is offered for free, but donations are welcome if you like the utility. Also, please report any issues or make suggestions for changes.

image

Just a bit ago I was looking for some RegEx help, just something to play with different RegEx expressions, something built into my “day in and out work console” (aka Visual Studio ;)

This tool is just what I was looking for…

image

 image

Monday, August 10, 2009

Trying to delete a file but it’s “Locked” or “In Use?” – Free LockHunter to the rescue (beta)

LockHunter

LockHunter is a foolproof file unlocker

It is a free tool to delete files blocked by something you do not know. LockHunter is useful for fighting against malware, and other programs that are blocking files without a reason. Unlike other similar tools it deletes files into the recycle bin so you may restore them if deleted by mistake.

mainScreenshot

…”

All to often I play the “I need to delete a file but something has it locked, so lets hunt down the locking process” game. Now with LockHunter, that game is replaced with a right-click.

(via lifehacker - LockHunter Deletes Stubborn Files and Applications)

Sunday, August 09, 2009

Presentation Pattern Wiki – “…timeless software design concepts rather than a specific technology….”

Jeremy D. Miller -- The Shade Tree Developer - The Presentation Patterns Wiki is live!

“There isn't a lot there right now, but I think I'm ready to announce that the "Presentation Patterns" Wiki is live!  I'm trying to play out of the Martin Fowler playbook and write my first draft out in the open on this wiki.  I'd love to have any feedback on any of the content.  I *think* I can get the comments going just fine on the pages.  Right now, I'm doing research and building sample code, but I'll be filling up more material later this month.

…”

Presentation Patterns wiki

“Welcome to the Presentation Patterns Wiki!!

This wiki is the online draft of the book "Presentation Patterns" for Addison Wesley by Jeremy Miller with contributions from Martin Fowler. At this time the book is specifically covering design patterns and issues for building the behavioral aspects of desktop applications and rich clients. There are a plethora of good books describing the mechanics of each of the major presentation technologies (WinForms, WPF, Silverlight, Flex, Swing, etc.), but next to nothing that describes the guts of a user interface application under the skin. Presentation Patterns represents an effort to fill that missing niche with a serious treatment of the code organization just below the skin. Presentation Patterns is meant to be a book about timeless software design concepts rather than a specific technology. At this time the book is being conceived as a "duplex book."

The book will flesh out, modernize, and generally finish the previous "Build Your own CAB" series from Jeremy Miller and the previous writings of Martin Fowler on presentation patterns for a planned sequel to "Patterns of Enterprise Application Architecture".

The current thought is that the book will be available sometime in the spring of 2010.

Summary

Inside of an enterprise application, the user interface layer can be very complex in its own right and is a huge source of potential bugs because of the element of human interaction. This book will present the design patterns that can be used to manage the complexity of user interface code. The book will discuss patterns for organizing the responsibilities of a single screen, coordinating the activities of multiple screens within an application, and architecting a structure that allows a desktop application to be efficiently extended over a longer lifecycle.

image

…”

Presentation Patterns (MVVM, MVP, MVC, etc) are all the rage but it’s important to remember that these are “sum of their parts” models in that they are build on top of other foundational patterns.

This wiki is still in its early stages, yet even so there’s some good content. If you’re interested in Presentation Patterns, then take a click through this wiki…