|
|
|
|
|
Total Hits: 11 | Today: 0
|
Author: David Hay
|
Rating:
|
|

With a Setup project created using Visual Studio .NET 2003 it is easy to add a Desktop shortcut to your application. But creating a shortcut based on a condition is not supported. Also, adding a shortcut in the Quick Launch bar is not supported. This article shows you how you can allow the user to choose whether to add these shortcuts. While developing this solution, I also needed to overcome a limitation with the System.Environment.GetFolderPath method and the System.Environment.SpecialFolder e...
|
|
|
|
Total Hits: 11 | Today: 0
|
Author: Daniel Kopitchinski
|
Rating:
|
|

Subclassing is a technique that allows an application to intercept and process messages sent or posted to a particular window before the window has a chance to process them. This is typically done by replacing the Window Procedure for a window with application-defined window procedure. I will devide this article into 3:
1. Subclassing in SDK programs, 2. Subclassing in MFC programs, 3. Reflected messages...
|
|
|
|
Total Hits: 14 | Today: 0
|
Author: Cristi Posea
|
Rating:
|
|

If you use CFrameWnd's LoadBarState()/SaveBarState() to remember the positions of the control bars, you may run into this while developing your app - if you change the bar IDs, or simply remove a bar (it is no longer created in CMainFrame::OnCreate()), your app will crash. Why? Because in the LoadBarState() internals, there is a portion of code which retrieves the bar ID, calls CMainFrame::GetControlBar() and if the pointer returned is NULL (there is no controlbar created with this ID) it will a...
|
|
|
|
Total Hits: 21 | Today: 0
|
Author: stepe
|
Rating:
|
|

This tool displays information about system resources and settings. It uses the WMI instrumentation for the queries. At moment the following system informations are available for display: * free memory * free disk space * IP-adresses * subnetmask * MAC-adresses * default gateway * host name * user * boot date * OS version * Service Pack...
|
|
|
|
Total Hits: 34 | Today: 1
|
Author: pimb2
|
Rating:
|
|

With this library written in VB.NET, you can add a 'Customize Toolbar' function in your application. I needed a customize toolbar function in my application, but I really couldn't find any library for .NET to implement this. So, I decided to write my own, and to share it to help others. In the DLL, there are two functions: ShowCustomizeToolbarWindow and UpdateToolStripWithString. The first function is to load the GUI to customize the window. It returns a string which you can save in your setting...
|
|
|
|
Total Hits: 33 | Today: 0
|
Author: milkplus
|
Rating:
|
|

As a parent, I wanted to set limits on how much time my kids could spend on the family computer. I couldn't find anything simple and free to do this, so I wrote it myself in C#. This application only works if your family has a single shared PC computer where each person has their own account and only parents have "admin" accounts. It should run under Windows 98/XP/Vista with .NET Framework 2.0 or later....
|
|
|
|
Total Hits: 40 | Today: 0
|
Author: milkplus
|
Rating:
|
|

Craigslist is a hugely popular website with free local listings for jobs, housing, and items for sale. Trying to buy something on Craigslist is like a flock of seagulls going after one French fry. If something good gets posted, it might be gone before you get a chance to call. So do you scan new items every morning? What if you miss a day? There are hundreds of new items that get posted each day. I wanted a desktop window that would show me filtered search results from Craigslist and update them...
|
|
|
|
Total Hits: 55 | Today: 0
|
Author: Christian Thilmany and Jim Keane
|
Rating:
|
|

Alot of attention has been focused on providing information workers with Business Intelligence (BI) tools so they can make more informed decisions. Most of these enterprise BI solutions provide information from a variety of resources, typically using some form of server-side information integration. Whether it's a reporting system that summarizes data, a collaboration tool like Microsoft® SharePoint®, or a custom enterprise application integration (EAI) solution that provides business process ma...
|
|
|
|
Total Hits: 61 | Today: 0
|
Author: TomKat
|
Rating:
|
|

What is this for? Why should I use this software. It's quite simple: you have to build an application with a tree control and you need images for the branches. You have to create a bitmap with all of them and then create the image list, set transparency color, etc. If you have 100 gifs you want to use the problem is big. This program can generate a bitmap with 100 gifs in 2-3 seconds. It also generates the resource script and defines if you want to use this as a toolbar and provides code to inte...
|
|
|
|
Total Hits: 74 | Today: 0
|
Author: Furty
|
Rating:
|
|

A tutorial on building a custom C# Windows Forms control, covering topics such as inheritance, attributes, overrides, documentation, designers, signing and VS.Net ToolBox integration. In this tutorial we will walk through the process of creating a custom Windows Forms control from the start of the project all the way to inclusion in the Visual Studio ToolBox. The control will be a simple DividerPanel - an inherited Panel control that features selectable border appearance and border sides....
|
|
|
|
Total Hits: 68 | Today: 0
|
Author: Dr. James McCaffrey
|
Rating:
|
|

Though it has only been around for a relatively short amount of time, Windows PowerShellTM is already one of my favorite tools. I recently discovered that Windows PowerShell has all the features you need for creating a tiny library that will enable you to write ultralightweight UI automation. In this month's column, I will show you how to create a small collection of custom Windows PowerShell cmdlets that perform Windows® UI automation tasks. These include obtaining handles to applications and c...
|
|
|
|
Total Hits: 80 | Today: 0
|
Author: Lucian Barbulescu
|
Rating:
|
|

This article shows how to add a floating/docking toolbar to a dialog. In MSDN, there is a sample (dlgcbr32) in which is presented a way to add a fixed toolbar to a dialog. I have extended that example and created a CDialog derived class that contains a toolbar which can be either fixed, floating or hidden. The floating toolbar effect is obtained by dynamically creating a modeless dialog box which contains a fixed toolbar....
|
|
|
|
|
|