Published by admin on July 14, 2009
under .Net
If you are trying to keep your About window in sync with the published version in ClickOnce, rather than the assembly version, you can reference My.Application.Deployment.CurrentVersion. However, this only works on the installed application, not in Visual Studio.
If System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed Then
Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Deployment.CurrentVersion)
Else
Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Info.Version.ToString)
End If
Published by admin on July 10, 2009
under Visual Studio
Pretty basic stuff, but it can drive you crazy if you don’t remember how.
Move menu items
Published by admin on July 10, 2009
under Fiction
Orwellian and insightful. You know it won’t end well but still have to see it through.
Time To Love and A Time to Die
Published by admin on July 10, 2009
under Fiction
Spenser gets a look at the past.
Sudden Mischief (Spenser)
Published by admin on July 5, 2009
under Fiction
Fat Ollie gets it done.
The Last Dance
Published by admin on July 5, 2009
under Fiction
A period piece that didn’t hold my interest.
A Right to Die
Published by admin on July 2, 2009
under Fiction
“Spenser, rite of passage.”
Pastime (Spenser)
Published by admin on June 29, 2009
under Military
Published by admin on June 28, 2009
under Fiction
Well written and a good read.
The Killing Moon
Published by admin on June 26, 2009
under Fiction
A rose is a rose by any other name.
Crimson Joy
Published by admin on June 26, 2009
under Military
Published by admin on June 24, 2009
under Fiction
Published by admin on June 20, 2009
under Fiction
Even a pro can hit a duck hook every once in a while. Parker takes a provisional.
Small Vices (Spenser)
Published by admin on June 18, 2009
under Books
Dated and dull. Lays the groundwork for their follow-up book about Bulger and the FBI.
The Underboss: The Rise and Fall of a Mafia Family
Published by admin on June 17, 2009
under .Net
I upgraded to IE8 and started getting 403.9 on my local machine during testing on XP with IIS 5.1.
Turns out, you now have to disable HTTP Keep-Alives in the IIS Admin properties for the local site.
Here is more info: Disable Keep-Alive
Published by admin on June 15, 2009
under Coding
I needed to sort an array by the length of the string values in descending order. JS has a lot of nice features and building your own sort order logic is one of them. To get the list in ascending order, just switch the comparison operator.
function sortByLengthDesc(a, b) {
if (a.length > b.length)
return -1;
if (a.length < b.length)
return 1;
return 0;
}
arrTmp = tmpText.split('<br>');
arrTmp.sort(sortByLengthDesc);
Published by admin on June 15, 2009
under Books
Finishing this book felt like passing a kidney stone. Ends abruptly with the 72 election. Some interesting insights.
Nixonland: The Rise of a President and the Fracturing of America
Published by admin on May 25, 2009
under Fiction
Published by admin on May 23, 2009
under Fiction
Not bad. Dawdles in places but keeps a good clip overall.
Tin City (Mac McKenzie Mysteries)
Published by admin on May 22, 2009
under Fiction
Started out with some promise, but author quickly got flummoxed. Don’t waste your time.
The Evil That Men Do: A Jackson Donne Novel
« Previous Page — Next Page »