Tag: VB.NET

If you are the .NET Developer using Visual Studio 2010 you’ll love the Visual Studio 2010 Pro Power Tools! Visual Studio 2010 Productivity Power Tools A set of extensions to Visual Studio Professional (and above) which improves developer productivity. Document Well 2010 Plus (More Info) One of the key pieces of feedback that we have…

Abstract This sample shows how to edit data from a DataGridView in a details form which opens when one double clicks on the RowHeader of the DataGridView. Since both forms are bound to the same datasource one sees an instant update on both forms when the user decides to save the data and additional roundtrips…

Abstract This short sample details how to access the clipboard to copy and paste text, images or generic objects. In order to do so this sample uses the Clipboard Class. How Do I Video The corresponding How-Do-I video can be found here. Source Code Visual Basic | C# Additional Resources .NET Framework Class Library – The…

AbstractThis short sample demonstrates how to let one form in a Windows Forms application know when data in another form got changed. To implement this behavior I’ll show you how to create an event on Form2 and how to subscribe to this event on Form1 using the Handles keyword. The C# source code uses delegates…

I regularly check the forums to get an understanding what’s going on in the community and what’s troubling our customers. Based on my findings I created some videos including the corresponding source code which I’m releasing over the next couple of days and subsequently when things come up (and there is a lot out there…

Hi, I posted a bit of code the other day which I used to get a list of all Code Snippets we ship in Visual Studio. In a nutshell, I used XElement.Load to create a new XML document from a filename from which I then read elements from (There are way to many ”from” in…

I needed to create a list of all Code Snippets we ship in Visual Studio the other day containing their title, description and path on disc and size. As you might know, Code Snippets are stored in multiple directories below “%ProgramFiles%\Microsoft Visual Studio 10.0” so I had to traverse all the subdirectories of the aforementioned…