Welcome to AddressOf.com Sign in | Join | Help

Browse by Tags

All Tags » Windows Forms » VB » Interop   (RSS)

Why?

Why aren't there any decent audio libraries for .NET? Don't get me wrong, it's nice that the framework supports some audio features in a very simple way if you want to just play something. However, if you need access to the audio data to manipulate

My.Vista

Caleb has sort of let the cat out of the bag ... Introducing My.Vista. There are over 7,000 new API's in Windows Vista. Some of them are immediately obvious while others are deep beneath the surface. I rather enjoy digging around in Windows API land,

It's 2:12am and I'm done with a new VS2005 Macro hack

I need to run it through it's paces, but I now have a VS2005 macro that will, whenever I successfully build a release mode project, package the project folder into a zip file named [ProjectName]_src_v[OutputAssemblyFileVersion].zip. And it doesn't

Leveraging Windows Vista's Windows System Assessment Tool (WinSAT) API in Visual Basic

A couple of days ago a noticed this article, downloaded the code, thought about it for a bit and realized that although he had a great idea... I had a few problems with the implementation. I really distaste the idea of "unsafe" code unless there
Posted by CorySmith | 1 Comments

Leveraging Windows Vista's Windows System Assessment Tool (WinSAT) API in Visual Basic

Introduction There are a lot of new features in Windows Vista. In this installment, we’ll explore the WinSAT (Windows System Assessment Tool) API. (The Windows Experience Index in the Vista UI is part of WinSAT.) The Vista SDK defines it as: Windows
Posted by CorySmith | 1 Comments

Windows Form application in Kiosk mode...

Someone asked how to make sure their application has focus and how to protect against it losing focus while running. There are actually many applications that could require this sort of capability, one of which would be a kiosk. Many years ago, I used
Posted by CorySmith | 11 Comments
Filed under: , ,

Solitaire (written in VB.NET)

I've finished working through the existing issues list for the C# version (available GotDotNet ) for bugs and missing features. I've implemented the missing features in my VB.NET version (although, they may not be feature complete due to the .NET Frameworks
Posted by CorySmith | 7 Comments
Filed under: , ,

Doh!... it's 2:41 am... I really need to get to bed.

But coding is sooo much fun! Tonight (ummm, and this morning) I've been working to clean up the Solitaire application that I've ported to VB.NET. Of course, as I'm going through the code, I'm seeing a lot of interesting opportunities extend it. ;-) I
Posted by CorySmith | 1 Comments
Filed under: , ,

.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: , ,

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: , ,

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: , ,

[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: , ,

Windows XP Visual Styles (Themes) [How To / RANT]

Everyone who knows me will usually accuses me as being part of the 'collective'. They would have you believe that I think Microsoft can do no wrong. Well, here's my first official rant about how Microsoft can do something very, very, very wrong. OK, great,
Posted by CorySmith | 11 Comments
Filed under: , ,

New Coding 4 Fun Column - Serial Controlled LCD Panel with DBComm

Duncan Mackenzie describes how to control a serial-port-connected LCD panel using Microsoft Visual Basic .NET and Microsoft Visual C# .NET using a couple of serial components. One of components mentioned is my very own DBComm component available on GotDotNet
Posted by CorySmith | 8 Comments
Filed under: , ,

Moving from VB6 to VB.NET (Windows Forms)

There is so much information available about how to move from VB6 to VB.NET that it might be a bit overwhelming. I've put together a list of links grouped together accordingly to assist you in your move. Even if you aren't planning on upgrading existing code, these references are invaluable for educational purposes to understand what is different between VB6 and VB.NET.
Posted by CorySmith | 1 Comments
Filed under: , ,
More Posts Next page »