Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

dotNETSender - Windows Messenger like GUI for net send command

0.00/5 (No votes)
7 May 2002 1  
Windows Messenger like GUI for net send command

Sample Image - MainDlg.jpg

Introduction

dotNETSender is a simple application which provides a neat GUI for the windows �net send� command. It looks like MSN Messenger; you can add/delete/edit contacts in the contact list. If the contact�s computer is turned off, the corresponding node will show an offline icon. When minimized, the application runs in the system tray.

Description

This is a good piece of code for beginners to get an idea about threading in C#, delegates and events, registry operations, file operations and invoking another process from within the program.

Sample Image

The elements in the tree are mapped to objects in the contact list. The Contact class encapsulates the functionality and properties of a contact. The ContactList class holds a collection of Contact objects as a array property. The functions in the NetSender class are used to send messages and also to check whether a contact�s machine is turned off or not.

When the Refresh function in ContactList class runs, it fires an event, the form class is subscribed to this event and when it receives the event, the tree view gets refreshed.

After being minimised to the tray, the hidden application window can be restored by double-clicking the system tray icon.

How to Build the Application

  1. Extract all files in dotNETSender.zip to a folder.
  2. Open dotNETSender.sln file in the Visual Studio .NET editor.
  3. Build the application.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here