Solved

simple intranet messaging

Posted on 2011-09-04
4
310 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
[X]
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
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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