Geeks With Blogs
The life and times of this developer... WPF, C#, XML and other stuff
Over the last 30 years, the fortunes of those attempting to break away from safe full time employment as a programmer/software developer/software engineer to be their own boss, developing leading edge software in a small office with a few other like minded professionals has taken significant different challenges. But for a new University Graduate with ......

My Dad always told me ‘You should learn something new every day’, and today I managed it with my newly found ability to perform an incremental search within Visual Studio using the Ctrl-I key stroke. For the previous 20 years or so, I have been restricted to using Ctrl-F3 to add a highlighted word to the find buffer, followed by F3 to find the next ......

I recently had cause to reference two libraries which both contained the same class file. The Namespace : Class where therefore ambiguous within my application. Interestingly enough the .Net compiler simply takes it’s bat and ball home and does not allow you to access any of the exported types from these assemblies. To resolve this you need to create ......

Sometimes you just can’t figure out why stuff isn’t working as expected in your C# code due to odd things occurring within the .Net framework. So the first point of call might be to use a decompiler tool such as JetBrains dotPeek (free). Often this will help you to realize you are making the wrong call or the wrong sequence of calls due to subtleties ......

After a frustrating waste of time I finally worked out how to Uninstall NuGet Package Manager from Visual Studio. Usually I would just expect to run Tools->Extension Manager, then select the item from the list and click Uninstall, but the NuGet Package Manager Uninstall button was disabled. I then checked Control Panel->Uninstall a Program, but ......

I've just got round to looking at Liquid XML 2014. I have been tasked with investigating W3C XML Schema 1.1 standard (XSD 1.1) and as if by magic Liquid Technologies have provided 1.1 support in their excellent XML Schema Editor. Here is what they say... XML Schema 1.1 Support The Liquid XML Schema model now supports the XSD 1.1 standard. This adds ......

Microsoft Visual Studio sometimes crashes when the .sln solution file gets out of sync with the hidden .suo file. The .suo file stores information such as the active project and is automatically created by Visual Studio.To fix this issue, try deleting the .suo file. Visual Studio will just create a new one for you and the solution should open up correctly.If ......

My weekly Windows Backup failed with Error code: 0x81000037, which is a bit odd.I googled the error and got to the Microsoft help page which explained:0x81000037: Windows Backup failed while trying to read from the shadow copy on one of the volumes being backed up0x81000037: Windows Backup failed while trying to read from the shadow copy on one of the ......

XML Schema (XSD) 1.1 was given W3C Recommendation status in April 2012, so do Microsoft intend to add support for 1.1 validation in .Net 5?I’m not sure this will happen anytime soon. The reason I say this is that they would need to add support for XSLT 2.0 in order to add the ability to define assertions against the document (see summary of XSD 1.1). ......

I had always assumed Android was limited to Java and iOS (iPhone/iPad) was limited to Objective-C, but you can now use Mono for Android and MonoTouch for iOS to write your apps in C#.I didn't know this was possible until I read the What's New for Liquid XML 2013 where it mentioned support had been added for XML Data Binding with Mono from a company ......

I wasted a bit of time on this issue today, so I thought I’d add it to my blog.I just wanted to schedule a task in Windows 7 Task Scheduler to run every hour forever. I already had this working on an old XP box so thought porting to a new Windows 7 box would be easy. I copied and pasted all of the options and then clicked run. The task failed and in ......

As a techie it is often useful to quickly look at a file in notepad, so I always add it as a shortcut in the 'Send to' right click option of Windows explorer. Trouble is I always forget where to add the shortcut when I use a new PC! So for future reference...1. In windows explorer go to the folder:%USERPROFILE%\AppDat... ......

Sky doesn't seem to understand what their own errors mean, so I cobbled together an understanding from some other posts and managed to get it working.When you see the error [t6013-c1501] instead of your TV programme in Sky Go, it seems to mean:'You registered a device, but then changed the hardware, so now I'm confused!'In other words, the Digital rights ......

Yesterday I installed Microsoft Visual Studio 2012 for the first time (all 8.5GB) and after 20 years of (mostly) happy times using VS they have removed Macros, one of the most handy features.The first thing I wanted to do when I upgraded my VS2010 project was to add a #elseif block to each file. This would usually be simple case of find in files of ......

Liquid XML Editor is one of my favourite tools, but I was slightly concerned with the original 2012 release as the new XML Data Mapper tool was a bit buggy. So I was pleased to see SP1 is now available for download.Sure enough the issues have been fixed and it's once more a great tool!The data mapper can also now be run from the command line (this was ......

Hi, it's really handy to be able to add Trace to your .Net application using the System.Diagnostics.Trace class.The only problem is how the heck do you get it to Trace out at runtime?The simple solution is to add this to your app config file... <system.diagnostics> <trace autoflush="true"> <listeners> <clear/> <add name="textwriterListener" ......

After clicking a YouTube video link, I was presented with the helpful message ‘You need to upgrade your adobe flash player to watch this video’ along with a link to Adobe to do just that. After a long and frustrating cycle of install/uninstall Flash Player, I finally realised that this was a bogus message and should instead have said… ‘Looks like you ......

I may be a bit slow on the uptake here, but I'm not sure how excited to get about my social networks influencing my search results? I think it's good that you can indicate you like something on Facebook as your friends can have a look at the item or choose to ignore it, and I guess it makes sense that if you like something, then some of your friends ......

I have had to rebuild my Windows 7 PC and all has gone fairly well until I tried to connect to a Samba share on a legacy Linux box running Redhat 8. No matter what combination of domain / user /password I would just see the same message of: "The specified network password is not correct." This is a misleading error, very annoying and a little confusing ......

I spent most of yesterday removing an annoying virus from my PC. I feel slightly foolish for getting one in the first place, but after so many years I guess I was always going to eventually succumb. I was also a little surprised at the failure of various tools at removing it. The virus would redirect the browser to websites including ‘licosearch’, ‘hugosearch’ ......

Looking in Web Analytics I could see several external sites pointing at an old .htm file on my web server that no longer existed, so I thought I would get IIS to redirect to the new .aspx replacement. How hard could it be? This has annoyed me for quite a while today so here is the answer. 1. Install the Http Redirection module - this is not installed ......

Microsoft provide an article of the same name (previously published as Q319401) and it shows a nice class 'ListViewColumnSorter ' for sorting a standard ListView when the user clicks the column header. This is very useful for String values, however for Numeric or DateTime data it gives odd results. E.g. 100 would come before 99 in an ascending sort ......

The reason I pose this question is that I'm looking at WPF development and so using the latest version seems sensible. However, this means rolling out the .NET 4 runtime to PCs on old versions of the framework. Windows XP is still the number one O/S (estimated 40%+ market share). To run .NET 4 on XP requires Service Pack 3, and although it is good practice ......

T-SQL has never been my favorite language, but I need to use it on a fairly regular basis and every time I seem to Google the same things. So if I add it here, it might help others with the same issues, but it will also save me time later as I will know where to look for the answers!! 1. How do I SELECT FROM WHERE to filter on a DateTime column? As ......

When I found out yesterday that one of my top 5 development tools .NET Reflector will no longer be free at the end of February, I thought I'd see if work had started on a good open source alternative...and guess what...work on ILSpy is already well underway!! There seems to be a difference of opinion on what Red Gate said when they purchased .NET Reflector ......

Copyright © bconlon | Powered by: GeeksWithBlogs.net | Join free