Click here to Skip to main content
Click here to Skip to main content

dotNETSender - Windows Messenger like GUI for net send command

, 7 May 2002
Rate this:
Please Sign up or sign in to vote.
Windows Messenger like GUI for net send command
<!-- Download Links --> <!-- Article image -->

Sample Image - MainDlg.jpg

<!-- Add the rest of your HTML here -->

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

Share

About the Author

Sunil TG
Architect Siemens
India India
No Biography provided

Comments and Discussions

 
GeneralMy vote of 1 Pinmembermjanulaitis123418-May-10 4:59 
RantDoes not work on Server 2008 Pinmembermjanulaitis123418-May-10 4:59 
QuestionWhat is "System Name" that should be entered ? Pinmemberadamnguyen19-Nov-08 8:49 
AnswerRe: Rebuild Error. PinmemberSunil TG26-Oct-08 4:28 
GeneralPing Code Pinmemberthebeekeeper15-Dec-06 4:59 
Hi,
This was a very interesting article, good job!
 
I have one suggestion after reading through it. I noticed that you're calling a batch file, pingsys.bat to send a ping and then reading the result from a text file. This is a very clever way to get the desired result, but I've got a feeling there are a lot of things that could go wrong. System.Net.NetworkInformation has a Ping class that you can use to ping hosts. Take a look at: msdn for a good example of using it. It looks like this class is new in .NET 2.0, so I'm guessing that's why you didn't use it.
GeneralCannot run Project Pinmemberawsedrftgy31-Jul-05 0:21 
GeneralSystem Name Pinmemberfolkienux3-Feb-05 0:46 
GeneralCannot send message! PinmemberKrishna Rathod18-Oct-04 23:58 
GeneralRegistry Key Permission Pinmemberbenoit_laflamme4-Oct-04 19:53 
GeneralRe: Registry Key Permission Pinmemberfolkienux3-Feb-05 0:49 
GeneraldotNETSender is really good! Pinmemberlmmmm17-Sep-04 7:41 
Generaldoes this application need .NET framework to be installed Pinmemberlava_kushal6-Sep-04 19:51 
GeneralRe: does this application need .NET framework to be installed PinmemberSunil TG16-Sep-04 22:56 
GeneralHelp wanted in building a GUI .Net Remoting Pinmembernutkase29-Mar-04 21:35 
QuestionCustom groups? Pinmembershiner24726-Jan-04 13:56 
AnswerRe: Custom groups? PinmemberSunil TG16-Sep-04 22:59 
QuestionVS 6.0 or C++? PinmemberAntonDel9-Aug-03 7:36 
AnswerRe: VS 6.0 or C++? PinmemberSunil TG10-Aug-03 6:33 
GeneralThank You PinmemberDesScorp4-Aug-03 14:05 
GeneralNet Sender PinsussAnonymous4-Aug-03 6:21 
GeneralNo Download of Code PinmemberARL21-Jul-03 18:18 
GeneralRe: No Download of Code PinmemberSunil TG24-Jul-03 6:25 
GeneralStill Icon Error Pinmemberpochacco20-Jun-03 19:22 
GeneralRe: Still Icon Error PinmemberSunil TG24-Jul-03 6:29 
Generalexcellent! here are a couple tips: Pinsussben creitz13-Jun-03 6:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 8 May 2002
Article Copyright 2002 by Sunil TG
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid