Solved

simple intranet messaging

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
API v SOA 8 42
Function after success of Jquery/AJAX action 9 45
Need help Creating PowerShell Script 5 66
VB.Net SQL Query 2 Tables Different Databases 3 46
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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