Solved

simple intranet messaging

Posted on 2011-09-04
4
300 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
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.

803 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