Posts Tagged: VB.Net

How to associate a File Type to your application

Posted by & filed under .Net, .Net 3.0 / 3.5, Windows Forms.

Recently I was working with an Open source project which helps to manage SQLCE databases. Yesterday I thought of implementing a feature like associating the SDF files to my application, so that I can double click on any SDF file which will open the launch my application and opens the File in it. Caution: Incorrectly [...]

Custom Places in FileDialog box

Posted by & filed under .Net, .Net 3.0 / 3.5, Windows 7, Windows Forms, WPF.

If you ever tried to Open a File from Visual Studio, you may notice something like Projects Folder in the Open File Dialog. We can also implement the same functionality in our applications by using CustomPlaces collection property of FileDialog class. The OpenFileDialog and SaveFileDialog classes allow you to add folders to the CustomPlaces collection. [...]

Color Picker Dropdown using C#

Posted by & filed under .Net.

While playing around one of hobby project, I found there is a nice color picker dropdown available in WordPad, for setting the font color. I was using Windows Color Dialog. So I thought of implementing a WordPad like color picker. And I think I almost readed my goal. I need to try this in the [...]

How to check remote file exists using C#

Posted by & filed under .Net, Visual Studio.

Sometime you require to display remote images in the Web Pages, like Ads, Banner etc, it may be from different domain or a different application. This code will help you to check the existence of a Remote file using C#. You can also use WebClient class for the same purpose. Like this. Internally WebClient is [...]