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 [...]
Posts Tagged: VB.Net
Custom Places in FileDialog box
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. [...]
Application development using Gtk# in .Net
When I started my software development career, I got introduced to some cool tools for GUI application development in Linux. I was using Glade and the library was Gtk. Then later I become a MS fan and started working on ASP, VB and .Net. Yesterday I got a chance to download Mono and Monodevelop. And [...]
Color Picker Dropdown using C#
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#
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 [...]
Adding and Reading files from SQL Server 2008 Filestream
Few days back I wrote a Post about FileStream feature in SQL 2008.(Filestream in SQL Server 2008). In this post I am trying to write the how to manage or use the FileStream feature from .Net managed code. For adding a File to FileStream enabled table, we are using a new Data Type, SqlFileStream, which [...]