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

dotNETSender - Windows Messenger like GUI for net send command

By , 7 May 2002
 

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

About the Author

Sunil TG
Architect Siemens
India India
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 1membermjanulaitis123418 May '10 - 4:59 
RantDoes not work on Server 2008membermjanulaitis123418 May '10 - 4:59 
QuestionWhat is "System Name" that should be entered ?memberadamnguyen19 Nov '08 - 8:49 
AnswerRe: Rebuild Error.memberSunil TG26 Oct '08 - 4:28 
GeneralPing Codememberthebeekeeper15 Dec '06 - 4:59 
GeneralCannot run Projectmemberawsedrftgy31 Jul '05 - 0:21 
GeneralSystem Namememberfolkienux3 Feb '05 - 0:46 
GeneralCannot send message!memberKrishna Rathod18 Oct '04 - 23:58 
GeneralRegistry Key Permissionmemberbenoit_laflamme4 Oct '04 - 19:53 
GeneralRe: Registry Key Permissionmemberfolkienux3 Feb '05 - 0:49 
GeneraldotNETSender is really good!memberlmmmm17 Sep '04 - 7:41 
Generaldoes this application need .NET framework to be installedmemberlava_kushal6 Sep '04 - 19:51 
GeneralRe: does this application need .NET framework to be installedmemberSunil TG16 Sep '04 - 22:56 
GeneralHelp wanted in building a GUI .Net Remotingmembernutkase29 Mar '04 - 21:35 
QuestionCustom groups?membershiner24726 Jan '04 - 13:56 
AnswerRe: Custom groups?memberSunil TG16 Sep '04 - 22:59 
QuestionVS 6.0 or C++?memberAntonDel9 Aug '03 - 7:36 
AnswerRe: VS 6.0 or C++?memberSunil TG10 Aug '03 - 6:33 
GeneralThank YoumemberDesScorp4 Aug '03 - 14:05 
GeneralNet SendersussAnonymous4 Aug '03 - 6:21 
GeneralNo Download of CodememberARL21 Jul '03 - 18:18 
GeneralRe: No Download of CodememberSunil TG24 Jul '03 - 6:25 
GeneralStill Icon Errormemberpochacco20 Jun '03 - 19:22 
GeneralRe: Still Icon ErrormemberSunil TG24 Jul '03 - 6:29 
Generalexcellent! here are a couple tips:sussben creitz13 Jun '03 - 6:09 
GeneralRe: excellent! here are a couple tips:memberSunil TG24 Jul '03 - 6:29 
GeneralFileIO errormemberHap4216 Nov '02 - 10:05 
GeneralRe: FileIO errormemberSunil TG24 Jul '03 - 6:31 
QuestionHow to this application with command line compilermemberrsasalm_6 Jul '02 - 9:45 
AnswerRe: How to this application with command line compilersussDrewArthur7 Nov '02 - 6:16 
GeneralRe: How to this application with command line compilersussshocktech7 Feb '03 - 11:43 
GeneralRe: How to this application with command line compilermemberfish_herring13 Jun '05 - 16:52 
QuestionIs this fixed yet?memberAnonymous7 Jun '02 - 9:13 
AnswerRe: Is this fixed yet?memberSunil TG12 Jun '02 - 1:37 
GeneralRe: Is this fixed yet?memberAnonymous30 Jun '02 - 14:02 
GeneralRe: Is this fixed yet?memberAnonymous30 Jun '02 - 17:37 
GeneralRe: Is this fixed yet?memberfolkienux2 Feb '05 - 22:05 
General[Message Deleted]memberPavel Sokolov27 Apr '02 - 12:21 
GeneralRe: Funny :) Do you know NetSend protocol?memberMike Stevenson24 May '02 - 12:44 
GeneralIts SlowmemberAnonymous24 Apr '02 - 9:22 
GeneralRe: Its Slow - just comment the refresh() function in contact classmemberSunil TG24 Apr '02 - 22:38 
GeneralVery good article, but could use a few improvements...memberJason Douglas24 Apr '02 - 7:28 
GeneralRe: Very good article, but could use a few improvements...susstbuiler19 Jul '02 - 9:25 
GeneralVery good idea !memberBraulio Díez23 Apr '02 - 21:02 
GeneralRe: Very good idea ! - ThanksmemberSunil TG23 Apr '02 - 22:35 
GeneralAdd Reply buttonmemberPervez23 Apr '02 - 4:34 
GeneralSuggestion 2 :)memberslashp23 Apr '02 - 3:48 
GeneralRe: Suggestion 2 :)sussAnonymous25 Sep '02 - 20:58 
GeneralRe: Suggestion 2 :)sussSunil T.G.26 Sep '02 - 5:13 
GeneralProject won't runmemberAnonymous23 Apr '02 - 2:20 

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

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 8 May 2002
Article Copyright 2002 by Sunil TG
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid