Welcome to MSDN Blogs Sign in | Join | Help

Rahul Soni's blog

Never assume the obvious is true!

News



  • These postings are provided "AS IS" with no warranties, and confers no rights.

Browse by Tags

All Tags » VB6 and VB.NET   (RSS)
Enable wrap and change the color of Listbox items
Problem description> You have a Listbox where you have a lot of items which are quite large and won't fit inside the width of your listbox. You don't want to enable Horizontal Scroll bar, since you have don't want your users to keep scrolling left Read More...
Change the border color and style of PictureBox in VB.NET
You know that by default you don't have too many options to change the Border Color/Style of a normal PictureBox control. I wanted to customize this control a little bit, so that you can at least change the border color and style when you click on any Read More...
How to get the Folder Size in VB.NET
My problem was not really big, but it was a problem which really irritated me a lot!! We store data based on the user's alias in a folder called D:\SomeFolder on remote machine. In due course of time though, the hard disk starts giving No Disk Space problems, Read More...
Using System.Management to get information about the Operating System from your VB.NET Application
I blogged about how to find Operating System Information from your VB.NET 2005 application last year in March. I found that Nilesh has posted a very nice reply to that post to ensure that the output of that program is even better. Initially, if you used Read More...
Visual Basic and IE 7, open pages in new Tab or Window or wait for the page to be displayed completely
I was working on a project where I had the following requirement, and for a moment I thought, "Man, that's like a 5 min task for me!!". And it should have been!!!! Unfortunately though, I couldn't find the right document at the right time and it took Read More...
Open EXCEL file with VB6 and read the content
I was planning to write an application today which simply opens an Excel file and read the Cell values into an array so that I could manipulate it accordingly. Since I don't have VS.NET installed on my home PC, I decided to do it with VB6 :o) Here is Read More...
Run a command from the command prompt and get its output in a Windows Application
In this pick, I wanted to show you how to execute commands on the command prompt and get its output in a regular Windows Application . The command in the following code will be entered via a VB.NET Windows application and we will get the output in a Textbox Read More...
Load XML file data in a Treeview control in Visual Basic 2005
We have an XML file that needs to be loaded in the TreeView control. This entry shows How do we do it in VB.NET 2005. Let's create a VB.NET Project. Drag and drop a TreeViewControl and name it tvwMetabase . Also drag a Button control and name it btnLoad Read More...
Find Operating System Information from your VB.NET 2005 application
In VS 2005, it has become really easy to find the Operating System's information using some of the classes. Let's take a look at how do we do it in VB 2005... Sub DisplayOperatingSystemInformation() Dim osInfo As OperatingSystem osInfo = Environment.OSVersion Read More...
Copying Winamp's playlist songs to any other folder for copying to CD etc
Well, to begin with... let me tell you my problem which led me to create this very simple application. Actually, I have quite a lot of songs on my Hard Drives (who doesn't ;o) ???) and used to create organized playlists for all those songs littered across Read More...
Page view tracker