• Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

WinForms Category

February 6 , 2012 | | In: C#, DotNet General, VB.Net, WinForms Tips

Right Clicking to Select a List Item

Here’s the WinForms scenario: You have a listbox which has a context menu. If you try to right-click and item AND choose from the context menu, normal functionality will not choose the item you are actually selecting with your mouse. Normally, you would need to select the item with the left button and then use [...]

Sometimes it becomes necessary to create a solution and either you don’t have a solution file for your project, or your solutiion file has been renamed or has become corrupted. At that point, it’s not as straight forward as one would like in order to get it done. However, it’s not a laborious task at [...]

September 27 , 2011 | | In: WinForms, WinForms Tips

Fonts Listed in ComboBox

Have you ever wanted a combo box in your WinForms application that listed all the available fonts on the computer where it was running? Below, you’ll find a simple script to do do just that.

Knowing the environment variables in your program can sometimes be a very important aspect of your application. It’s very easy to get a list of and to use any one of the environment variables however you need it.

March 23 , 2011 | | In: ASP.Net, ASP.Net Tips, C#, VB.Net, WinForms Tips

Using the Replace function

Most people know that, with a string in ASP.net or WinForms development, you can use the replace function to replace certain characters within a string with others. And, you probably know that you can even remove characters alltogether, using the replace function.

December 30 , 2010 | | In: ASP.Net Tips, C#, DotNet General, VB.Net, WinForms Tips

XML from DataSet

When ADO.Net was being built, they built it with XML in mind. It’s very easy to extract XML data from a DataSet in ADO.Net.

December 12 , 2010 | | In: WinForms, WinForms Tips

Using Help Files (.chm) in Winforms

Since you don’t do it that often, sometimes it’s hard to remember how you can add and use your Help file (.chm) in your WinForms project, using Visual Studio. You can use the HelpProvider control and control everything you need through it, or you can do things the simplest way possible.

November 11 , 2010 | | In: WinForms, WinForms Tips

Invalid Character in Mail Header ‘;’

There are quite a few posts on the internet, I found, that have to do with the cause and the fix for an error sending email in DotNet: An invalid character was found in the mail header: ‘;’ The problem for those was due to problems with an attachment. I got this error, and I [...]

October 11 , 2010 | | In: ASP.Net, C#, DotNet General, VB.Net, WinForms

Differences – ASP.Net/VB.Net/C#

I know, to some of you, this will seem like a ridiculously basic question/post. But since it was posted on one of the forums recently, and I had many problems with head hunters/recruiters on this, I thought it might be worthy to create a post about it. The question was: “What’s the difference between ASP.net, [...]

September 29 , 2010 | | In: Visual Studio, WinForms Tips

VS.Net Setup Project – Change Metadata

Every time I build a setup project in Visual Studio.Net, I find it very easy to use the wizard and setup the program menu, etc, but for some reason, I can never remember where to change the Manufacturer and Product Name, so that when it’s installed, it will go to specific folders.

-->