-
Today I am going to show you how you can take a font file, and include it in your VB.NET WinForms application. This means you can load the font at runtime, and use it on your controls without requiring the user to have the font installed on their system. This can come in handy when you want to use a...
-
Generally finding out if a user has the permissions to do something involves trying to do that thing, and handling the access denied (error 5) exception that results. What if you wanted to know if a user is an admin though prior to doing some admin task via code? Normally this would be as easy as checking...
-
I was faced with an odd problem today. I needed to test an update for an application that is already in production. Normally this would be pretty simple to do in a staging environment of some sort, but that is what made this task different. There was none. Basically what I was given was an application...
-
Today we are going to look at an alternative to using ClickOnce or Windows Installer MSI to install an application written in .NET. This article is written for installing an application written in Microsoft .NET 2.0 (does not have to be VB specifically) and including the .NET Framework as part of your...
-
If you do any WinForms programming then chances are you have used comboboxes, and perhaps at one point or another, you disabled one of those comboboxes because you did not want the user to be able to make a selection. This works fine, however I actually was getting some complaints from users of some...
-
So yesterday I talked about making a translucent button in WinForms using VB.NET. If you have not read that yet, then you should probably do so before digging into part 2, where we expand part 1 to cover more controls. Today lets look at making a translucent TabPage control. Here is our end result: So...
-
Windows Forms controls in .NET do a lot more for us than they did in previous versions of VB. One of the best things about getting all the OO features .NET brought us, is the ability to extend controls through inheritance or some other means. Some controls directly support custom drawing of their visuals...