Welcome to AddressOf.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » Interop
Showing page 4 of 4 (39 total posts)
  • Tips, Tricks and Code Snippets

    Below are a few tips and tricks that I've either created or come across that I've used or have just found interesting enough to store someplace for possible use later.  It's formatted in a FAQ format. How do I determine the executing assemblies path? If your wanting to do this with a Windows Forms application, just use:   ...
    Posted to AddressOf.com (Weblog) by CorySmith on November 19, 2003
  • Virtual ListView (or "How to view 50,000 items in a ListView without dieing of old age.")

    Have you ever needed to populate a listview with thousands of items?  I have and lemme tell you, it's not the highest performing thing around.  The only built in mechanism to help you out is to turn of the updating of the screen during the population.  However, after seeing the same question posted by Luke Huttenman, a couple of people provided ...
    Posted to AddressOf.com (Weblog) by CorySmith on November 13, 2003
  • Adventures in Win32/Interop - Episode 1

    I've just posted what will be a series of articles on Win32/Interop.  This first article focuses on explaining what Interop is, why it's important and some tips on how to find the necessary information in order to implement Win32/Interop functions within your application.  The example used is for how to determine the available hard drive space on ...
    Posted to AddressOf.com (Weblog) by CorySmith on November 7, 2003
  • Adventures in Win32/Interop - Episode 1

    By Cory Smith Download source code - 6.34kb --> Introduction OK, we've run into a problem where the task at hand doesn't have an answer with the .NET Framework.  Yes, the framework is huge, but it's not all inclusive.  This means that we need to step outside of the safety zone that is the framework and delve into the realm of ...
    Posted to AddressOf.com (Weblog) by CorySmith on November 7, 2003
  • Windows Forms - Disable the Close Button

    I've seen it asked over and over, “How do I disable the close button without having to remove the system menu, minimize and maximize buttons?”.  I've created an article that shows two seperate methods for doing so.  The first is the one that seems to be very popular and rehashed several times in various messageboards.  However, although it ...
    Posted to AddressOf.com (Weblog) by CorySmith on October 31, 2003
  • Windows Forms - Disable the Close Button

    By Cory Smith Download source code - 6.34kb Introduction I've seen it asked many times, “How do I disable the close button on a Windows Form, but still have the system menu, minimize and maximize available?”.  I've also seen a lot of answers to how to accomplish this.  Let's look at the answer that appears to be very popular for solving ...
    Posted to AddressOf.com (Weblog) by CorySmith on October 31, 2003
  • Color your console output using VB.NET!

    By Cory Smith Note: This sample has been replaced by the “Control Your Console“ ConsoleEx sample available from the Samples listing.  In addition to being able to specify the color, you can control cursor position, window title, determine size of the console and much more. Download source code - 2.28kb Introduction Back in ...
    Posted to AddressOf.com (Weblog) by CorySmith on October 30, 2003
  • GUID Generation and VB6 Binary Compatibility

    Adam Nathan has written a pretty good explanation of using 'binary compatibility' between your .NET assemblies and VB. [bookmarked]
    Posted to AddressOf.com (Weblog) by CorySmith on October 30, 2003
  • Making some noise with VB.NET

    Brad Abrams and Scott Hanselman provided a couple of ways to create some noise with C# using a couple of interop methods.  Both methods have their uses.  Here is the VB.NET way of doing the same thing. Public Enum MessageBeepType   [Default] = -1   OK = &H0   [Error] = &H10   Question = &H20   Warning = &H30   Information = ...
    Posted to AddressOf.com (Weblog) by CorySmith on August 4, 2003