To get a list of installed applications we need to look into registry. Microsoft.Win32 namespace contains objects which can be used to work with Windows Registry. In this post I will show you some code where I use the power of LINQ to retrieve and display a list of all applications installed on a machine.
[...]
ServiceControl can be used to get information about a Windows Service on a machine. In this post I will show you how to retrieve information about a service using ServiceControl.
To begin with lets examine the properties for ServiceControl. Through the designer we can set the ServiceName property. This can be set to the name [...]
Microsoft will launch Live Video Messaging facility on 9th September 2008. I have not yet sent anyone a video message in my life, so I am a bit excited to see something like this. At present you can request an early beta access if you are a member of press. I write a blog, [...]
Apple guys even though running out of creativity with their Mac vs PC ads are not giving up anytime soon. Here are two latest offerings.
Where is Jerry Seinfeld?
Spreading the word here about IE 8 Beta 2 Release. You can download Beta 2 here. There is tons of information already available for this release. Before you decide to install it you should read this link which provides useful information on upgrading to Beta2. Internet Explorer 8 Readiness Toolkit is [...]
Working with LINQ to SQL I came across a need of writing a LINQ query equivalent of T-SQL “Where IN” clause. This is what T-SQL query looks like.
SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax FROM Customers WHERE (Country IN (‘UK’, ‘USA’, ‘Australia’)) How do I write Where IN in [...]
Virtual Desktop Manager is tool which lets you create virtual desktops. You can run different applications in different virtual desktops which reduces clutter. Once you get used to working with it you start loving it. I have been using it for a while now and I cannot do without it anymore. You can download Virtual [...]
Since MSDN forums started they have captured substantial share of online forums related to Microsoft technologies. I remember having a discussion with one of the softies about newsgroups and how MSDN forums will eventually replace them (in MS world of course). And now you can interact with Microsoft forums using a client application which is [...]
If there is one book I am looking forward to, it is Microsoft Visual Studio Tips by Sara Ford . I am a regular reader of Sara’s blog and I have learned a lot about Visual Studio by reading her blog. Her tips are simple, lightweight but above all very++ useful.
I [...]
Two senior engineering managers for Windows 7, Jon DeVaan and Steven Sinofsky have started a blog called Engineering Windows 7. I am sure that this will be one of the most watched blogs till other Windows 7 related blogs/sites appear. Reading their first post I get an impression that their blog is an attempt [...]
SQLBulkCopy class in ADO.NET can be used to do bulk copy operations from a .Net application. There are two ways data can be bulk copied using this class. You can either do a single bulk copy or a multiple bulk copy operation. In this post I will show you how to perform a single bulk [...]
How can we find duplicate occurrences of values in a collection? I will demonstrate this here using a collection of cities. City class looks like this:
public class City { public string Name { get; set; } public string Country { get; set; } }
Cities collection is initialised with this code:
List<City> cities = [...]
Top Posts
- LINQ To SQL Tutorial
- LINQ To SQL Join On Multiple Conditions
- Code Sample: Programmatically Download File Using C#
- Windows 7 Control Panel In Classic Mode
- More Details Emerge On Microsoft Master Certification
- Use SqlConnection With LINQ To SQL
- Free Icons And Images With Visual Studio 2008
- Capture XML In WCF Service
- Dynamic Sort With LINQ
- StyleCop Tutorial
Tags
.Net 2010 ADO.NET ASP.NET Azure Blogging Books Browsers C# Certification Cloud Computing Code Snippets Community Data Services Eclipse Entity Framework Google IDE Java LINQ Mac Microsoft Museum NetBeans Office Oracle REST SharePoint Silverlight SQL Server T-SQL Tips Tools Training Visual Studio Visual Studio 2010 WCF Web Windows Windows 7 Windows Forms Windows Live WMI WPF XAML

