Saturday, October 10, 2009

AvalonEdit, a (the?) WPF code editor component from the SharpDevelop team (think WPF based, monster cool, code editing, IDE like, uber textbox +10)

Rudi Grobler - Create your own IDE in 10 minutes

untitled

Ok, so I might be stretching reality just a “little” but the purpose of this post is to introduce you to two control libraries that might just do that!

AvalonEdit

AvalonEdit is the new WPF-based editor used in SharpDevelop 4.x. Using the AvalonEdit control is very similar to using a normal TextBox!

<avalonEdit:TextEditor
ShowLineNumbers="True"
Name="textEditor1"
FontFamily="Consolas"
FontSize="10pt"/>

To load a document…

textEditor1.Load("Window1.xaml.cs");

And finally, to turn on syntax highlighting?

textEditor1.SyntaxHighlighting = HighlightingManager.Instance.GetDefinition("C#");

Out-of-the box AvalonEdit supports ASP.NET, Boo, Coco/R grammars, C++, C#, HTML, Java, JavaScript, Patch files, PHP, TeX, VB, XML

AvalonDock

AvalonDock is a WPF controls library which can be used to create a docking layout system like that is present in VisualStudio. It supports fly-out panes, floating windows, multiple docking manager in same window, styles and themes and it can host WinForms controls.


…”

CodeProject - Using AvalonEdit (WPF Text Editor)

“…

The latest version of AvalonEdit can be found as part of the SharpDevelop project. For details on AvalonEdit, please see www.avalonedit.net.

screenshot

Introduction

ICSharpCode.AvalonEdit is the WPF-based text editor that I've written for SharpDevelop 4.0. It is meant as a replacement for ICSharpCode.TextEditor, but should be:

  • Extensible
  • Easy to use
  • Better at handling large files

Extensible means that I wanted SharpDevelop AddIns to be able to add features to the text editor. For example, an AddIn should be able to allow inserting images into comments – this way you could put stuff like class diagrams right into the source code!

With, Easy to use, I'm referring to the programming API. It should just work™. For example, this means if you change the document text, the editor should automatically redraw without having to call Invalidate(). And if you do something wrong, you should get a meaningful exception, not corrupted state and crash later at an unrelated location.

Better at handling large files means that the editor should be able to handle large files (e.g. the mscorlib XML documentation file, 7 MB, 74100 LOC), even when features like folding (code collapsing) are enabled.

…”

My first thought? “Oh… shinny!”

My next was; I wonder if there’s a TSQL syntax (or how hard it would be to create one)? We have a very simple TSQL entry on a form, where we done some simple, regex based syntax highlighting. It sure would be cool to be able to drop in something much more powerful.

Also I think we have teams with other embedded code entry/editing UI’s (VB.Net entry I think). This might be of interest to them too (and this might get them started moving toward WPF, so a win-win! ;)

Come to think of it I have a HTML entry area in my Text Template WLW plug where I could use this too!

Oh and there’s… and then for that… and also…

I can see a number of places where I can use this free, OSS (LGPL) component. :)

(via Reflective Perspective - The Morning Brew #451)

Wednesday, October 07, 2009

New Sysinternals utility released today, Disk2vhd v1.0 – Yes, creating a VHD from a physical hard drive, even an online one, is now a couple clicks away…

Sysinternals - Disk2vhd v1.0

“By Mark Russinovich and Bryce Cogswell

Published: October 7, 2009

Introduction

Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).

The Disk2vhd user interface lists the volumes present on the system:

ee656415_Disk2vhd_01(en-us,MSDN_10)

Note: do not attach to VHDs on the same system on which you created them if you plan on booting from them. If you do so, Windows will assign the VHD a new disk signature to avoid a collision with the signature of the VHD’s source disk. Windows references disks in the boot configuration database (BCD) by disk signature, so when that happens Windows booted in a VM will fail to locate the boot disk.

Disk2vhd runs Windows XP SP2, Windows Server 2003 SP1, and higher, including x64 systems.

image

…”

This looks AWESOME for Win7/Windows Virtual PC usage…

(via @jamestenniswoodFantastic utility for Window 7 users... Disk2vhd http://ow.ly/teMr)

Windows XP Mode & Windows Virtual PC RTM are now both available on MSDN Subscribers Downloads…

MSDN Subscriber Downloads (product availability depends on your subscription program details)

image

Looks like Windows XP Mode RTM and Windows Virtual PC RTM are both now available via MSDN Subscribers Download.  :)

image

“We are not worthy… We are not…” – The Gu-ru and you

Craig Shoemaker - 15 Desktop Backgrounds to Support .NET Development (and pay homage to the Gu)

“This weekend was one of those times I just couldn't get “that thing” out of my head. After a short conversation on Twitter earlier in the week about desktop backgrounds I kept thinking about how much fun it would be to just sit down and do some design work.

The rubber hit the road after being inspired by the Smashing Magazine’s themed desktop wallpapers. Then it hit me - how about a series of desktop wallpapers themed toward the .NET developer – and who better to represent the community than ScottGu!

So, with all apologies to Mr. Guthrie here are my backgrounds for your pleasure:

15 Desktop Backgrounds to Support NET Development (and pay homage to the Gu) - Craig Shoemaker

…”

This killed me when I saw it yesterday. Note that Craig also created a Windows 7 Theme with these!  LOL

Tuesday, October 06, 2009

Another portable application suite and launcher, NirLauncher (Beta) - 100+ NirSoft utilities + easy Sysinternals integration too

life hacker - NirLauncher is the Ultimate Flash Drive Toolkit

“…

Windows only: Portable application NirLauncher bundles 100+ of the best NirSoft utilities into a single launcher window, and even allows you to add your own utilities to make a killer flash drive toolkit.

Tweaking the Launcher

You can edit the included NirSoft.nlp file in a text editor to add or remove the utilities that you prefer—or you can even create a new .NLP file with your own customized settings. Just make sure to use relative paths to the executable files to make sure that they will be portable when you put it onto your flash drive.

The NirSoft blog even provides a launcher file for the suite of awesome, portable, system-tweaking tools from SysInternals—simply download the launcher file and extract all of the SysInternals applications into a folder, and then …”

NirBlog - Beta version of NirLauncher package is available to download

“As I promised a few weeks ago, the Beta version of NirLauncher, with a package of more than 100 utilities of NirSoft, is available to download.

nir_launcher1

Before you go to the download link, it's important that you read the following guidelines:

  • For now, the download link of this utilities package is a little restrictive. I only allow to download it 5 times per day for each IP address. So please don't download this package with any 'download accelerator' software that open multiple connections. …
  • Antivirus False Positives - This package contains more than 100 utilities, and if you have any Antivirus on your computer, there is a very high chance that it'll falsely detect one or more of these utilities as Virus/Trojan/Spyware/Malware or anything else.
    It's also possible that your Antivirus will simply delete some of the utilities or prevent you from running them without displaying any alert.
    In any case, please don't flood my email address with messages like "You have virus in your utilities package"   or "After I extract your files, some of them are deleted" or "I double-click xyz utility and nothing happens".

NirLauncher also allows you to add additional software packages. Just for example, here's how to add Sysinternals Suite into NirLauncher:

  1. Go to Sysinternals Suite Web page, and download the latest zip file.
  2. Extract the zip package of Sysinternals into a new folder located in the same drive of NirLauncher.
  3. Download the sysinternals.nlp that I created for Sysinternals Suite, and save it into the same folder with all Sysinternals files.

Beta version of NirLauncher package is available to download …”

Okay officially that’s a bunch of utilities, all easily portable and accessed. I didn’t know NirSoft had this many, and these kinds, of utilities. …sigh…

Please note the False Positive Antivirus message above. In just extracting the zip NAV whined at me… It’s a FALSE POSITIVE.

 

Related Past Post XRef:
40 Desert Island (aka Portable) Web Dev Tools
LiberKey – 264, and counting, portable applications for your thumb drive are just a download away
PortableApps.com Platform v1.5 Released (with v2 coming in a few weeks) – Your App world is just a thumbdrive away…
Your Application Suite To Go - Portable App Suite v1.1 Released
PortableApps Suite
The Portable Freeware Collection

Sysinternals Suite Refreshed – All the latest Sysinternals Utilities, one tiny zip (well 10MB zip…)
Sysinternals Suite (8MB of Complete Sysinternals Goodness)
Use the Sysinternals Utilities? The EULA bug dialog you? Then try this…

Monday, October 05, 2009

Seems like it’s a WinDbg Day - Windows Kernel Debugging For Dummies

Alois Kraus - Why Does My System Hang? Windows Kernel Debugging For Dummies

“Did you ever wonder why your system at random times hangs? Sometimes it comes back after a few seconds (could simply be paging) but at least once a day I wish I would be able to know why the system is responding so slowly. Before going into Kernel land I must confess that I have never written a device driver so my knowledge to Kernel Mode debugging is quite limited but on the other hand if you did not do this either you will have a much easier time to follow me.

Some hangs seem to be Heisenbugs which disappear when you start looking at them. I have found when I let Process Explorer running on my machine it seems to resolve some issue by its pure presence. It could also be that some malware and Trojan software does not even install when Sysinternals tools are running.

Did you know that you can watch with Process Explorer the Call Stack of all applications in your system? Simply right click on a process and select Properties and select the Threads tab where you can view the stack for each thread with full function names.

When your system has frozen you can not start any new processes so starting a debugger is of little use. Luckily there is a nice trick to force the generation of a kernel dump by pressing a magic key combination: Right Ctrl + Scroll Lock + Scroll Lock will generate a nice looking real blue screen. See instructions below how to enable it. Technically speaking it is a user initiated kernel dump.

Before you can generate the blue screen (= kernel dump) you need to set the kernel dump mode to Complete Memory Dump. You can find this menu if you press the Windows Key + Pause and then look in the Advanced System Settings – Advanced – Startup and Recovery

A more thorough list has been created by Dmitry Vostokov at his famous Crash Dump Analysis web site which gives a good overview about the most used Windbg commands. To step deeper you will need to buy the Windows Internals book by Mark Russinovich to understand how the Windows Kernel and drivers do work and visit the NT Debugging blog where Microsoft escalation engineers show some advanced kernel debugging techniques.

If you have read until here you (should) have lost fear of the dreaded blue screen. Its not the end but the beginning of an interesting debugging session. It is a pity that so few people are able to analyze kernel dumps even at the most basic level. In many cases it is possible to find out which device driver is the guilty one. You then have the option to remove the faulting driver entirely or try to get an updated one. At least you know who is to blame and most of the time it is not the OS.

Why Does My System Hang Windows Kernel Debugging For Dummies

I dig the force/cause a BSOD tip (which looks to be almost as fun as the “How do I speed up this MMO that I’m playing…” “Alt-F4” tip ;). That’s one that I’m going to have to remember. :p

Related Past Post XRef:
Blue Screen of Death (BSOD) Troubleshooting for Dummies (like me)

Blue Screen of Death (BSOD) Troubleshooting for Dummies (like me)

Righthand’s Blog - Investigating Windows BSOD cause for dummies

“Does your Windows displays nice, we all love, BSOD once in a while or perhaps, god forbid, often? There are two most plausible suspects for this behavior. And no, it is rarely Windows fault. Instead it is either hardware or driver and I won’t even dig into the quality of drivers produced by various hardware companies.

But the big question here is, which one? Which driver? Which hardware? It is even harder to pinpoint the cause in case when BSOD occurs at random times. Luckily there is a tool that might shade some light on the mystery and point cyber finger at the offending driver: Microsoft Debugging Tools for Windows.

Righthand's blog - Investigating Windows BSOD cause for dummies

…”

I so rarely get BSOD’s anymore that when I do I have to relearn what to do to hunt down the reason. Also I’ve never used WinDbg much (yeah, yeah, I know there goes what little geek cred I had… lol  ;), so I found this post a nice, simple and short primer.

(via Bite my bytesLinks of the week #92)

Sunday, October 04, 2009

A Feed You Should Read #6 - Bite my bytes, Links of the week

This week we’re still on the link blog road, travelling toward an unknown destination, with an unknown goal, yet all the while trying to have a little fun and share a some companionship along the way.

um…. yeah… Sorry… The 50th anniversary of the Twilight Zone this past week (premiered October 2, 1959) seems to have gotten to me. ;)

Bite my bytesLinks of the week

image

Background:

David Vidmar’s Bite my bytes (I love that name…) has been going for a quite a few years now, first post April 17th, 2004. The Links of the Week started in September 2007.

The posts range from a weekly Links of the week links post to MS CRM, to some re-blogging (i.e. highlighting cool things he finds).

This blog, like so many others (and all the A feed you should read’s) is obviously a labor of love. He does it because

Why do I like this feed and think you might also?

I’ve been follow Bite by bytes since he linked to a post of mine in 2006 (got to love ego searches… lol) and there’s a couple things I like in his Links of the week posts.

First is that while we seem to read many of the same blogs, there’s quite a few he reads that I don’t. An easy trap to fall into online is the echo chamber. David’s links help me see outside of that chamber.

Secondly I really like the Software Updates section. I don’t know how he does it, but he’s monitoring a ton of applications and each week provides those that updated recently. This is a great way to keep up with all the different releases for a good number of different Windows utilities/applications.

The Software Update section alone is a great reason to subscribe. And once there, I’m sure you’ll find even more reasons to stay…

Snap of the latest post:

image

Blog Information:

Name: Bite my bytes - What I learn by day I blog at night.
URL: http://vidmar.net/weblog/Default.aspx
Feed: http://feeds.vidmar.net/BiteMyBytes, Links of the week, http://vidmar.net/weblog/category/27.aspx/rss
Post Types: Links, Microsoft CRM, Development, Re-blogging

Saturday, October 03, 2009

Did you know you can use Amazon’s SimpleDB for free? (Just keep the data and transfer below 1GB per month, and keep the queries limited)

Amazon Web Services Blog - Don't Forget: You Can Use Amazon SimpleDB For Free!

“We polled the attendees at a recent Amazon SimpleDB webinar and found that over half of them didn't know that they could start using the service for free. That's a shame because SimpleDB is easy to use, scales easily to handle high request rates, and is available in our US and EU regions.

You can keep up to 1 gigabyte of data in SimpleDB without paying any storage fees. You can transfer 1 GB of data and use up to 25 Machine Hours to process your queries each month. This should be sufficient to allow you to issue about 2 million PutAttribute or Select calls per month.

We have pages of SimpleDB sample code and libraries, plenty of SimpleDB articles and tutorials, and some really good SimpleDB documentation.

image

…”

Wow, I don’t think I knew this (lol obviously! ;) I like free. I wonder how I can use this to store personal information and stuff? hum…

Make sure you click though to the samples as there’s a good bit of stuff there.

Amazon SimpleDB - Category: Sample Code & Libraries

image

Also there’s a few interesting looking SimpleDB related projects on CodePlex (like Linq to SimpleDB, etc)

CodePlex, SimpleDB Search

image

 

Related Past Post XRef:
“Query Analyzer” for SimpleDB – Visual Studio 2008 Add-in that makes querying SimpleDB almost too easy?
LightSpeed 2.2 Released – SimpleDB, ASP.Net Dynamic Data, Stored Procedure and more added.
Amazon's new SimpleDB Service

VSTS/TFS2010 Beta 2 coming “real soon” and will have a “Go Live” license (i.e. Now’s the time to start getting ready…)

Brian Keller: Technical Evangelist for Team System - Get ready to “go live” with Team Foundation Server 2010 beta 2!

“Beta 2 of Team Foundation Server 2010 is going to be available very soon - unfortunately that’s all that the marketing team will let me tell you right now. :-) But the best news is that beta 2 of Team Foundation Server 2010 will have a “go live” license, meaning that you can use it for your day-to-day application building (unlike beta 1 which was limited to just evaluation, tire kicking, learning the new features, etc.) …

But in preparation for beta 2, there are some things that you can be doing now in order to take advantage of the release as soon as it’s available for download. The Team Foundation Server product team has put together some great guidance which can give you a checklist of things to do as you prepare to take advantage of beta 2. This guidance is available as an overview in a PowerPoint deck, or in greater detail in the Word document. I’ve uploaded both of them for you to check out.

…” [GD: Click through for the links]

“Very soon” IMO means a week or two’ish. No, I’ve not heard anything more that what’s in Brian’s post, but based on past “very soon’s” I really think we just a few weeks away (and that it’s been baking since even before B1 was released, yada, yada…). In short, I’m thinking well before PDC09. Which is good, since that means we’ll have a ton of fully baked 2010 B2 sessions, bits, etc there. ;) (cough… and there won’t be the confusion like TechEd09 and 2010 B1…  cough)

Anyway, If you going to upgrade to TFS 2010 (ZOMG, why wouldn’t you?) now is the time to start preparing your infrastructure. You all know how slow that goes, so now’s the time to get that process moving…

BTW, this screenshot is the docx via the Office Web Apps Tech Preview (that’s all web, no addin… looks nice doesn’t it? )

image

 

Related Past Post XRef:
SourceSafe Still? TFS2010 may be the TFS tipping point for you…
Planning for TFS 2010 (fka Rosario) – A picture says a thousand…

Friday, October 02, 2009

Getting started with Lucene.Net, the DimeCast version

DimeCasts.Net - # 145 - Getting started with Lucene.Net Search Library

“In this episode we are going to start to take a look at the Lucene.Net Search Engine Library. Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework. In this episode we will learn the basics needed to simply get Lucene.net up and running.

 image

…”

I have this off again, off again (no, that’s not a type-o ;) thing with Lucene.Net. Been following it for a billion years, want to use it in a project, but have yet to take the jump. One of these days…!

And when I do, this quick 12 minute video looks like a good warm-up point.

SourceSafe Still? TFS2010 may be the TFS tipping point for you…

bharry's WebLog - TFS 2010 for SourceSafe Users

“…

TFS 2010 represents a huge step forward in making TFS more approachable by smaller teams.  With software development technology continuing to advance and SourceSafe slowly looking older, TFS 2010 is a great opportunity for SourceSafe users to look at updating their toolset.

So what’s different about TFS 2010?

There are 3 main areas that we’ve focused on in 2010 to make TFS attractive to smaller teams:

  1. Price – We’re not quite ready to announce the pricing and licensing for 2010 yet but I can tell you that it will be at least as easy and cost effective to get as SourceSafe has been.  Stay tuned for more info on this.
  2. Pre-reqs – We’ve eliminated the vast majority of the restrictions TFS has historically had:
    • TFS 2010 can be installed on a domain controller – We understand that many small organizations don’t have spare servers lying around and they need to be able to consolidate their servers.  Now if you just have one server and it’s your domain controller, email server and whatever else you need it for, you can use it for TFS too!
    • TFS 2010 can be installed on client OSes – The TFS server can be installed on Vista and Windows 7 Home Premium and above.  Of course it can also be installed on server OSes (Windows 2K3, Windows 2K8 and Windows 2K8 R2).  If you want to run version control locally on your laptop – you can do that.  In fact, just to prove it out, I bought a Samsung N110 Netbook and installed VS 2010, TFS 2010 and a build server all on the Netbook, running Windows 7 and it works!
    • TFS 2010 supports both 32 & 64 bit – No matter whether you’re running a newer 64-bit OS or an older 32-bit OS, TFS will work on your system.
  3. Installation – Installing TFS has been a pain point for years.  Although it’s gotten better, 2010 represents a quantum leap.  The TFS installer now has 3 wizards: Basic, Standard and Advanced.  The big innovation is the new “Basic” install wizard.  It is a Next, Next, Next install experience that allows you to install and configure TFS in about 20 minutes or less (assuming .NET and SQL Express are already on your computer – a little longer if TFS has to install them for you).  Both will already be there if you’ve installed VS 2010.  The Basic wizard will install and configure IIS (if it’s not already there), install and configure SQL Express (if it’s not already there), and install and configure TFS.  The only thing that really pains me is installing .NET 4.0 requires a reboot :(.  Here are screenshots of the entire installation experience:

…”

Did you see that second bullet under Pre-req’s? TFS on Client OS’s (Vista and WIn7)! That’s cool! Oh yeah and the new setup is nice too (ZOMG… Oh heck yeah! Having install TFS2005, TFS2008, this new setup experience looks like it’s going to rock!  ;)

Wednesday, September 30, 2009

Ventura County, California Jury Duty tips from a recent potential juror…

Since I only get the privilege of being a potential juror every couple years, I always forget the ins and outs of it. So this time I’m going to capture some notes, notes that hopefully will help me the next time…

These are random notes and will not, now or ever, contain trial or trial juror information. They are focused on the “before,” the time period in the Juror Assembly room before or between trials, ie. “potential juror” information, tips, thoughts, etc.

Tips:

  • The Jury Assembly Room doors will not be open until they are ready for people. If you get there early and the doors are closed, the Room is not open. On the day I attended, the doors were opened about 15 minutes before 8am.
  • If you want power and a laptop friendly table/chair, get there early. Stand next to the doors and be the first in line when they open. There’s only 8 spots! As you walk in, drop off your stuff on a table and THEN turn in your card
  • Bring ear hones. Even if you don’t plug them in, they’ll help deaden the chatter
  • There IS wireless (jurynet). They give you WEP (yes, WEP, sigh) passkey after the Juror orientation. There’s also free wireless in the cafeteria.
  • Note that the wireless is outbound firewalled. Web and like ports are open, but maybe not others. For example, my Cisco VPN wasn’t happy there at all.
  • The vending machines take cash and credit cards and there’s a coffee one.
  • Orientation does not start at 8am (the time you’re told to report). That’s when the room officially opens and check-in begins
  • Bring a pen. The first thing you’ll be asked to do is fill in a simple personal information form (Name, phone numbers, etc). If you don’t have a pen, you’ll have hunt for one (they have some in a basket where you get the form, but those run out quickly)…
  • They have a map for eating places in walking distance and for walking paths (which is a nice touch)
  • It can be a VERY long day. Bring a book, notebook, Zune, book, knitting, etc

Thoughts:

The people are an interesting mix. Much like at the airport or on a plane, it’s a very random mix of characters. The main difference is that everyone is “local” (to the county at least). <vent> I do wish they would listen to the orientation, especially reference cell phone calls. Listen people, the group of people around you don’t want to hear your darn call! Just as I’m sure you wouldn’t want to listen to mine… Hint, your phone is “portable,” you can go somewhere else, somewhere more private to make your call… sigh… </vent>

As the day wraps up, I want to restate my opening statement, Jury Duty is a privilege, right and obligation. It’s part of being a citizen of the United States. Remember, freedom isn’t free. You enjoy the benefits of being a citizen, you need to step up and do your part. I’ve served my country in uniform and and now serving it by being here. Yeah, it kind of bytes, but suck it up and man-up (or woman-up, whatever the case).

 

BTW, No jury/trial/etc for me today. Maybe next year. ;)

Introduction to Subversion/SVN – What are those Trunk, Tag and Branch things?

Code.Blog - Intro to SVN: Trunk, Tags, and Branches

“Subversion (SVN) is a popular tool used by many development teams as their primary way of versioning their code.  Here are some of the basics to SVN.

Possibly one of SVN's best aspects is the ability to work on a shared code base.  This shared code base is called the Trunk.  This is typically where the full, buildable code resides.  It may depend on your team, but this code may be the code you work on daily and commit to.

This leads into the idea of commits and updates.  To illustrate this…

This is a lot of information, and is really basic when talking about SVN, but very helpful when someone asks you, "Are we going to make a Tag of the Branch before Merging into the Trunk?"  Now, go say that to everyone you meet and see if they know their SVN.”

image

I don’t SVN near enough (cough… like never), so I wanted to capture this for future reference.

Time, the WinForm way - gTimePicker

CodeProject - gTimePicker- Control to Pick a Time Value (VB.NET)

“Stop using the DateTimePicker for time values, this control makes it easy to pick a time, and if you act now, get the matching Nullable gDateTimePicker at no extra cost.

image

I couldn't put up with the standard time part of the DateTimePicker any longer. I wanted an easy to use date dropdown and a non-existent time dropdown. First, I made the gTimePickerCntrl to pick the time in a couple of clicks using a clock-like interface. Second, I needed a dropdown control to contain it. Third, the developer in me needed the extra design-time support.

After making the gTimePicker, I realized I needed a nullable DateTimePicker to go with it. Now, I have added the gDateTimePicker and added a nullable feature to the gTimePicker.

How to Use the gTimePickerCtrl

Very simple - click a number in the inner ring for the hour. Click a number from the outer ring for minutes in five minute increments. Click the bottom row for minutes in between the five minute increments.

…”

I like that. I’ve also fought the DateTimePicker Time entry battle and like this approach. An analog look is a logical metaphor to use when picking a time. That and I like supporting VB.Net projects… ;)

As you can see from the zip, it’s not a simple or minor project…

image

Tuesday, September 29, 2009

Want to try PowerShell? Then “Try PowerShell”

Development in a Blink - Try PowerShell – An Interactive Tutorial

“…

Interactive PowerShell Tutorial

Is an interactive PowerShell  interpreter that runs in WPF which is also written in PowerShell using PowerBoots. The tutorial on the left has PowerShell code that can be run by clicking on the PS > button.

Features
  • Click on the PS > button to execute it in the interpreter on the right hand side
  • Clicking the PS > types the commands, you can then modify them and experiment
  • Type arbitrary PowerShell commands and click run to see the results
  • Click the magnifying glass and search inside the tutorial
  • Use the slider to resize the text of the tutorial

image

…”

CodePlexTry PowerShell

“…

For PowerShell Users

  • Easily try out PowerShell commands immediately, no typing
  • Use the find to search for particular sections and fire off commands
  • Click a PS> button to load an example, then edit it and run it

PowerShell Developers/Authors

  • Provide a written guide for your scripts and let users run them directly from the documentation
  • Great example of PowerShell, PowerBoots and WPF.
    • Using a FlowDocument,
    • Several controls
    • Hyperlinks
    • Executing PowerShell code in a PowerShell app using Invoke-Expression

TryPowerShell

…”

Okay, that’s pretty cool. I like having an interactive environment where I can learn and play in, especially when I get the source to that environment!  ;)

40 Desert Island (aka Portable) Web Dev Tools

Smashing Magazine - 40+ Desert Island Web Development Tools

“What would you do if you were suddenly stranded on a desert island in the middle of nowhere, with only a USB drive, a dial-up internet connection, and a barebones computer with no software outside the operating system installed? Of course, you’d use the internet connection to call for help first, but what about after that? How would you keep your design business going?

Okay, maybe a scenario that’s a bit more likely would work better. What if your computer crashed, wiping out all of your data and programs, and you have a deadline in two days? Or maybe you want to be able to pick up and leave at a moment’s notice without taking anything more than a change of clothes and a USB drive. If you have the apps below, neither of those scenarios would be much of a problem.

The apps on this list can help you with everything from coding to graphics to running your business and managing your projects, all from a single USB drive. And while USB drives are getting bigger all the time (last I checked a 64GB one wasn’t too badly priced, and that’s 4GB more storage than my current MacBook has), you still need special programs in most instances to have true portability. The apps below are just that: truly portable and small enough to fit on a USB drive (often a very small USB drive).

…”

Dev, audio, graphic, utilities, etc, focused toward web dev’s… A ton of tools, all USB drive happy.

Make sure you also check out the comments as the community has added their own suggestions.

 

Related Past Post XRef:
LiberKey – 264, and counting, portable applications for your thumb drive are just a download away
PortableApps.com Platform v1.5 Released (with v2 coming in a few weeks) – Your App world is just a thumbdrive away…
Your Application Suite To Go - Portable App Suite v1.1 Released
PortableApps Suite
The Portable Freeware Collection

Monday, September 28, 2009

“Getting Started with Windows Presentation Foundation” (WPF) Cheatsheet/Refcard from DZone

DZone Refcardz - Getting Started with Windows Presentation Foundation

“… The intent of this DZone Refcard is to help you understand the basics of WPF.  In this DZone Refcard, the Authors work to bring you a solid foundation of the basics of WPF ranging from XAML to Data Binding.

image 

Six pages (well 5 1/2) of pages of dense “getting started” WPF information. If you’re “WPF Guy!” already, then this will likely all be old hat to you, but if you’re like me, and just starting to dip your toes into WPF (sigh), then this seems to be a pretty cool resource.

The marketing message is limited to that quarter column on page one you can see below and half page on page 6, which is perfectly acceptable IMHO (As I always seem to say, “What do you want for free, you’re money back?”)

image

Sunday, September 27, 2009

A Feed You Should Read #5 – Team System Rocks

Today’s “A Feed You Should Read” continues with the link blog theme, yet with a minor twist. Quantity is great, yet so is focus. This feed focuses on one general technology, Microsoft’s Visual Studio Team System (VSTS).

Team System Rocks - Team System News

image

Background:

One tech, is that enough to sustain a link blog over the long haul?

LOL, if you are asking yourself that question, then this really IS a feed you should read. Visual Studio Team System, which encompasses the different Visual Studio Team editions and Team Foundation Server (TFS), is a huge monster and has easily filled Mickey Gousset's link hopper for years. And that monster is going to roar with next year’s release of VS2010.

Team System News has provided constant VSTS links and information since mid-2005 (looks like my first reference was in March 2006).

Why do I like this feed and think you might also?

Why? Because Mickey is one of the VSTS/TFS guys! He speaks on the subject often, co-hosts the Radio TFS podcast, and has a driving and determined interest in all things VSTS.

I hung out with Mickey for a few hours at TechEd09 and watched him as he interacted with people. His eyes would light up and his interest and knowledge about the product was almost palatable. From word one, you knew this guy knew his shit (um… err… DEL DEL DEL… “knew his stuff” …yeah… ;)

The links in his posts show that interest and depth. Also I like how the posts, a couple+ a week at least, are simple, straight forward and easily digestible.

You should read this feed if you are using, or interested in using, Visual Studio and/or Team Foundation Server. Even if you’re using an Express edition, you should check out this feed. Why? Because a number of the “Team” features have moved down the stack toward you… And to help you answer the question, “Why do we need Team Edition XXX…”. You’ll be able to answer with real world solutions and information, curtsy of Team System News, and not be dependant on sales/marketing-ware from Microsoft.

Needless to say, if you are already a Visual Studio Team Edition user, then this feed should be one of your first stops of the day (in your feed reader of course… Please let me you’re using a feed reader… “Daily Favorites” web browser is SO 90’s)

Some (none that I follow, but some) link bloggers do it for the money, some the fame. Mickey/Visual Studio News is for the love of it.

Snap of the latest post:

image

Blog Information:

Name: Team System News
URL: http://teamsystemrocks.com/blogs/team_system_news/default.aspx
Feed: http://feeds.feedburner.com/TeamSystemNews
Post Types: Primary – Visual Studio Team System links

Saturday, September 26, 2009

SP6 for VB6 (and VC6, SourceSafe 6) Released

UPDATE: SP6 for VB6 is not new. Looks like it was originally released in 2004. Why the new MS Download, with the new dates? Don’t know… Still, it’s a good reminder to apply this if you missed it (or are rebuilding a machine, etc)

Microsoft Downloads - Service Pack 6 for Visual Basic 6.0

“Service Pack 6 for Visual Basic 6.0 provides the latest updates to Visual Basic 6.0. It is recommended for all users of Visual Basic 6.0.

File Name: Vs6sp6B.exe
Version: 6
Date Published: 9/25/2009
Language: English
Download Size: 390 KB - 53.8 MB*

…”

Microsoft Downloads - Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual Source Safe 6.0d

“Service Pack 6 for Visual Basic 6.0, Visual C++ 6.0 with Visual Source Safe 6.0d provides the latest updates to these products. It is recommended for all users of Visual Basic 6.0, Visual C++ 6.0 and Visual Source Safe 6.0.

File Name: Vs6sp6.exe
Version: 6
Date Published: 9/25/2009
Language: English
Download Size: 993 KB - 122.1 MB*

…”

Yes, there are still VB6’ers our there in the wild (cough… like me… sigh… cough).

No sure yet what’s in this SP, if I find any specific details I’ll update this post.