Archive for the ‘Programming’ Category
C# – Dynamically Invoke Web Service At Runtime
Web services have become an integral part of the communications between software over a network. There are a lot of ugly details behind how they work but thankfully C# hide a lot of those gory details. What you need to know is that there is a web service description (WSDL) that describes the available services [...]
April 8, 2009
·
crow ·
78 Comments
Posted in: Programming
Playing an MP3 or WAV File in C#
Playing an audio file such as an MP3 or WAV is incredibly easy in C#. For WAV files you can use the SoundPlayer class found in the System.Media namespace. Playing an MP3 will require referencing the Windows Media Player COM component. How to Play a WAV file To play the WAV file simply create a [...]
April 5, 2009
·
crow ·
14 Comments
Posted in: C#
C# – Auto Increment Assembly Version Number
Auto increment assembly build numbers based on date within .Net.
April 1, 2009
·
crow ·
7 Comments
Posted in: Programming
C# GUI Cross Thread Exceptions
It has been a while since I’ve posted anything here and I’ve been collecting thoughts and ideas that need to be spewed out over a few posts. Any of you who have spent time programming in a GUI environment have undoubtedly ran across the dreaded illegal cross thread operation when modifying a control from a [...]
March 30, 2009
·
crow ·
9 Comments
Posted in: Programming
