Welcome to AddressOf.com Sign in | Join | Help

Browse by Tags

All Tags » VB » Windows Forms   (RSS)

.NET Application Memory Flush via Interop - Revisited

As I've stated before, I do make mistakes ;-) I have an application that I've written for my employer that appears, under certain *unidentified* circumstances to have a very slow memory leak. While trying to narrow down where it could be, I pulled one
Posted by CorySmith | 5 Comments
Filed under: , ,

Threading in VB.NET

A few people have been asking me how to build threading into their applications to improve the applications responsiveness and/or perceived performance. Rather then rehash what's already been well written about, here's a few articles that I suggest reading:
Posted by CorySmith | 6 Comments
Filed under: ,

Launch a program using different logon credentials using VB and CreateProcessWithLogon

A friend of mine (who doesn't have a blog) that works in a SysAdmin role needed to see an example of using CreateProcessWithLogin using VB. He chanced upon an example showing how to do this using C#. Since he's not versed in multiple languages, it was
Posted by CorySmith | 3 Comments
Filed under: , ,

WinForms + Control Inheritance Tip (or at least a Reminder)

OK, this should be a given, however since it happened to me I guess I'll pass it along ;-) I created a new Button type control, so I inherited it from a System.Windows.Forms.Button. Because I'm trying to make the screens look like a previous product,
Posted by CorySmith | 9 Comments
Filed under: ,

XboxFriends and ASP.NET vs. WinForms

Spent the weekend trudging through ASP.NET working on bringing some of the features of the XboxFriends desktop application to the browser. Currently there are only two people using the new version of the software [don't ask, it's not ready just yet ;-)]
Posted by CorySmith | 3 Comments
Filed under: , , ,

TreeView, ListView, Drag and Drop and Command Pattern Example

Erik Porter asked me via an IM session whether doing drag and drop with a TreeView was difficult. I explained to him that it was actually pretty straight forward, however, if you want to get the same (or at least similar) results as say if you were using
Posted by CorySmith | 23 Comments
Filed under: ,

IsVisualStylesEnabled Revisited

Erik Porter and I had some discussion via IM concerning his latest entry (where he gave me credit). I noticed that he wasn't using LoadLibrary and GetProcAddress when checking whether Visual Styles were enabled. I was sure that it was needed so that you
Posted by CorySmith | 4 Comments
Filed under: , ,

VisualFavorites - A teaser screen capture.

The main menu and toolbars aren't completed just yet (more of a placeholder), worked on getting the general layout (which is all resizable) complete. Also got all the folder editing (new, rename, delete) via context menu and now include drag 'n drop folder
Posted by CorySmith | 6 Comments
Filed under: , ,

New VB.NET sample application coming soon...

I'm now working on a utilitarian type application that will allow you to manage your Internet Explorer favorites in a much better way. Well, at least in a way that I find 'better'. ;-) I've been toying with this idea for a while and now it's begun. Since
Posted by CorySmith | 8 Comments
Filed under: , ,

Obfuscation Tip of the Day - Embedded Resources

When loading embedded resources like bitmaps and icons from your assembly, such as using the following method as described by Windows Forms Programming in Visual Basic .NET (Chris Sells & Justin Gehtland): NotifyIcon1.Icon = New Icon( Me .GetType,
Posted by CorySmith | 2 Comments

TransControls (part 1 and 2) source now available for download!

As promised, I've put together the source for part one and two of the TransControls articles. Be sure to review both source files, as the source for the TransPanel is very different between the two projects (as outlined in the articles). I'll be beginning
Posted by CorySmith | 1 Comments

Due to popular demand...

I will be putting together the source code and making it available for download for the first two TransControls ( Part 1 and Part 2 ) articles (hopefully, before the end of this week). I will also be starting on the third article in the series... a TransImage
Posted by CorySmith | 1 Comments

Bug? Feature? You be the judge...

While working on the xbox friends thing, I decided to create a clone of the user interface that Windows Messenger uses. It's sort of like a treeview (or group box) and has a vertical scrollbar visible when the list is larger than the displayable area.
Posted by CorySmith | 19 Comments

XBOX Live Friends List Watcher (Windows Forms)

A few of us on XBOX Live were discussing how nice it would be to have an application that you could have on your desktop that would notify you when one of your friends was online playing a game. We kicked around a few ideas and we ran into several problems
Posted by CorySmith | 10 Comments
Filed under: , ,

[How To] Check to see if Visual Styles are enabled

After my rant and a some other people picking it up on their blog , I got a response from Raghavendra Prabhu who is part of the .NET Client Team letting us know that VisualStyles in Whidbey has a ton of improvements and resolves the issues I point out
Posted by CorySmith | 6 Comments
Filed under: , ,