Solved

simple intranet messaging

Posted on 2011-09-04
4
298 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now