Click here to Skip to main content
6,295,667 members and growing! (15,349 online)
Email Password   helpLost your password?
General Programming » Internet / Network » Distributed Apps     Intermediate

dotNETSender - Windows Messenger like GUI for net send command

By Sunil TG

Windows Messenger like GUI for net send command
C#.NET 1.0, Win2K, WinXP, Dev
Posted:22 Apr 2002
Updated:7 May 2002
Views:190,499
Bookmarked:76 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
39 votes for this article.
Popularity: 6.67 Rating: 4.19 out of 5
3 votes, 16.7%
1

2

3
4 votes, 22.2%
4
11 votes, 61.1%
5

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


Member

Occupation: Architect
Company: Siemens
Location: India India

Other popular Internet / Network articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 55 (Total in Forum: 55) (Refresh)FirstPrevNext
GeneralWhat is "System Name" that should be entered ? Pinmemberadamnguyen9:49 19 Nov '08  
QuestionRebuild Error. Pinmembersgramya20:08 16 Oct '08  
AnswerRe: Rebuild Error. PinmemberSunil TG5:28 26 Oct '08  
GeneralPing Code Pinmemberthebeekeeper5:59 15 Dec '06  
GeneralCannot run Project Pinmemberawsedrftgy1:21 31 Jul '05  
GeneralSystem Name Pinmemberfolkienux1:46 3 Feb '05  
GeneralCannot send message! PinmemberKrishna Rathod0:58 19 Oct '04  
GeneralRegistry Key Permission Pinmemberbenoit_laflamme20:53 4 Oct '04  
GeneralRe: Registry Key Permission Pinmemberfolkienux1:49 3 Feb '05  
GeneraldotNETSender is really good! Pinmemberlmmmm8:41 17 Sep '04  
Generaldoes this application need .NET framework to be installed Pinmemberlava_kushal20:51 6 Sep '04  
GeneralRe: does this application need .NET framework to be installed PinmemberSunil TG23:56 16 Sep '04  
GeneralHelp wanted in building a GUI .Net Remoting Pinmembernutkase22:35 29 Mar '04  
GeneralCustom groups? Pinmembershiner24714:56 26 Jan '04  
GeneralRe: Custom groups? PinmemberSunil TG23:59 16 Sep '04  
GeneralVS 6.0 or C++? PinmemberAntonDel8:36 9 Aug '03  
GeneralRe: VS 6.0 or C++? PinmemberSunil TG7:33 10 Aug '03  
GeneralThank You PinmemberDesScorp15:05 4 Aug '03  
GeneralNet Sender PinsussAnonymous7:21 4 Aug '03  
GeneralNo Download of Code PinmemberARL19:18 21 Jul '03  
GeneralRe: No Download of Code PinmemberSunil TG7:25 24 Jul '03  
GeneralStill Icon Error Pinmemberpochacco20:22 20 Jun '03  
GeneralRe: Still Icon Error PinmemberSunil TG7:29 24 Jul '03  
Generalexcellent! here are a couple tips: Pinsussben creitz7:09 13 Jun '03  
GeneralRe: excellent! here are a couple tips: PinmemberSunil TG7:29 24 Jul '03  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 7 May 2002
Editor: Andrew Peace
Copyright 2002 by Sunil TG
Everything else Copyright © CodeProject, 1999-2009
Web15 | Advertise on the Code Project