Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

simple intranet messaging

Posted on 2011-09-04
4
302 Views
Last Modified: 2012-05-12
I am trying to develop a simple messaging system between users on our intranet.  I've studied many examples from EE and other sources, but most are for a "chat".  I want to send a private message from IP.add1 to IP.add2 and allow for a response.  Everyone has fixed IP addresses.

I guess a function that knows who all is logged in would be helpful.

Any links to VB.net code that does this will be greatly appreciated.
0
Comment
Question by:lweekly
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
BobintheNoc earned 500 total points
ID: 36481998
Built into Windows is the Messenger service.  Not the WINDOWS MESSENGER IM package, rather a literal service called MESSENGER.  With this service STARTED, and NETBIOS functional on a machine, you can send a message that pops as a dialog box to a user's desktop session elsewhere:

NET SEND username Hello John!

NOTE:  In a routed/segmented Network, NETBIOS has limitations unless you incorporate a WINS server.  Additionally, there is definitely a general shift away from NETBIOS functions.  One of these days, it'll probably not be around anymore.
0
 

Author Closing Comment

by:lweekly
ID: 36482333
I was looking for something that I could intercept and place into a text box.  While this method will work, I'm going to keep looking.

Thank for the help though.
0
 
LVL 7

Expert Comment

by:BobintheNoc
ID: 36483140
Tracking who is logged on, in real time, at any workstation within the organization is challenging without the help of an agent type software running on the PC that specifically registers itself.  Otherwise, you end up having to query all systems on the network to see who's logged in.  Perhaps you can tie into one of your existing applications that may record current logged on users, like Antivirus consoles, asset management tools, helpdesk tools, remote control packages, etc.,

Do you want the text/conversation to show up within your web intranet?  Or are you looking for a modal type window that pops up that contains a private chat interface?  Maybe like SMS messages?

0
 

Author Comment

by:lweekly
ID: 36488363
I found a really great solution to what I was looking for.  It was easy to implement into my desktop app and works perfectly.  All written in VB.net.

Thanks to Shynet who created it and provided all the source code as well.

http://www.codeproject.com/KB/IP/NetComm.aspx
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question