Browsed by
Author: Alan

DataGridView

DataGridView

I’ve been working a lot lately with the DataGridView.  One instance of a DataGridView would refuse to be editable even though I checked all the relevant settings (Enabled, EditMode, ReadOnly, RowTemplate.ReadOnly, Columns.ReadOnly).   I had previously missed the RowTemplate.ReadOnly setting  and had it working once I set it to false, but then it stopped working again.  I found that removing the set property for the data members that were specified in the Column Properties DataPropertyName value, was the reason it stopped working.  Kinda makes sense but I wish there was better feedback from VisualStudio to alert me of the mismatched settings.

VMWare Fusion

VMWare Fusion

VMWare has been around for over 10 years.  It’s an amazing piece of technology.  I’ve not had a chance to use it until now.  VMWare let’s you run “virtual” OS s on your computer using virtualization. This is how VMWare defines virtualization:

Today’s x86 computer hardware was designed to run a single operating system and a single application, leaving most machines vastly underutilized. Virtualization lets you run multiple virtual machines on a single physical machine, with each virtual machine sharing the resources of that one physical computer across multiple environments. Different virtual machines can run different operating systems and multiple applications on the same physical computer.

Basically, it means you can run ANY version of Windows on a single Windows PC, or on a single Mac or a single Linux machine.  You can also run any version of Windows on a Mac which is what we have standardized on at TabbedOut. We get 13in Macbook Pros with 4 Meg of memory and a large external monitor.  We then install VMWare and run whatever version of windows we need to on it!  This combined with Spaces for the Mac makes for a pretty nice development environment.

A few notes about VMWare Fusion:

  • To rename a VM, go to VM Library, select the VM you want to rename, select settings, then click on the name to change it in place.
  • To rename the folder containing a VM, remove the VM from the VM Library by selecting delete and removing it from the list but be sure to KEEP the file so you don’t remove it from disk.  Then just rename the folder and reload it back into the VM Library by using the File…Open command
  • To increase the hard drive size of a VM you must delete all snapshots, select hard drive settings and increase the hard drive size. Run the VM and in the OS increase the size of the partition.  For XP you must use a 3rd party app as this is not supported natively.  I used the free EASEUS Home edition.

Explanation of files that make up a VM

Mac Spaces

Mac Spaces

I’m digging the Spaces feature of the Mac OS.  I should have been using this a long time ago!
If you are unfamiliar with Spaces, the feature gives you multiple “virtual” windows that you can switch between.
It’s like having multiple monitors connected to your computer each with different views of your running apps.

In the Settings for Spaces I redefined the hotkeys that switches between spaces.  It was assigned to <Ctrl>arrows but that prevented me from using those hotkeys to move around (word advance) in Visual Studio (using VMWare).  I reassigned the hotkey to be <option>arrows which had the added benefit of disabling Windows 7 hotkey to resize the current window (which I find annoying).

XCode Tips and Tricks

XCode Tips and Tricks

Looking up how to change the default __MyCompanyName__ string that is inserted in new files, I came across this link titled Quickies for Xcode.

BTW, this is how to do it.  Enter the following command at a Terminal Prompt:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME" = "NewName";}'

Guesstures

Guesstures

Kristen got the game Guesstures from her Grandma in Dallas for Christmas.  Besides being a fun game, it has special meaning to Jane and I.  Jane and I met at a party in Dallas and that’s the game we played that night.   I didn’t actually call Jane for a date until more than a year later!

Computer setup 2010

Computer setup 2010

Five years ago I recommended THESE programs to install on a fresh Windows install.
My recommended list has changed to this:

Filezilla
Beyond Compare
WinZip
7-Zip (for RAR files)
Skype
Sony Movie Studio HD Platinum
Picassa
SumatraPDF (Blazingly fast, no annoying ads or requirements to upgrade or requirements to install Adobe Air)
CutePDF

tinyurl

tinyurl

When I want to share a web page that has a long honkin address I go to tinurl.com and create a shorter address that redirects to the original link.  There are other services that do this.

I’ve created:

http://tinyurl.com/lttomahawks
(http://www.youtube.com/view_play_list?p=7B4DF86AE633035C)

http://tinyurl.com/ltcheer
(http://www.youtube.com/view_play_list?p=E79E13953BCDBF36)

http://tinyurl.com/kristenbb (Not Working)

(http://www.youtube.com/my_playlists?p=8A6C34C04F860F91)

http://tinyurl.com/garrettcristina
(http://www.youtube.com/view_play_list?p=8AB6EB7DCFE443A1)

http://tinyurl.com/McCollumBB2010
(http://www.youtube.com/view_play_list?p=FE1AE7F58A7CB8F3
)

http://tinyurl.com/iphonespellcheck
(https://picasaweb.google.com/alankley/IPhone?feat=email#slideshow/5570003804618535074)

http://tinyurl.com/lonestargoldpride
http://www.youtube.com/view_play_list?p=058B891D688502C1

http://tinyurl.com/maggiosrred2011
http://www.youtube.com/view_play_list?p=CE555C4BB3D94E74

http://tinyurl.com/astrossingleafall2011
http://www.youtube.com/playlist?list=PL0CFD7B0FDAFB7DA6

http://tinyurl.com/ladycavsfall2011

http://tinyurl.com/girlstrue