Solved

Sending messages across Netware Network.

Posted on 1998-06-01
3
135 Views
Last Modified: 2010-05-03
Hi there,

Anyone here know the necessary API calls to allow me to send a message to a given user across a Netware Network.  I really need the code to work under '95 and NT.

Thanks

Pete
0
Comment
Question by:peterwest
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 100 total points
ID: 1462176
This is part of a Broadcast app I wrote.

Private Sub Broadcast(sSendTo As String, sMsg As String
  Dim sShell As String
  Dim lRes As Long
 
  sShell = "Net send " & sSendTo & " " & sMsg
  lRes = Shell(sShell, vbHide)
End Sub

Basically you call this passing the user name and message:

Broadcast "cbardwel", "Test Message"
0
 
LVL 2

Author Comment

by:peterwest
ID: 1462177
Hi,

Sorry for the delay in grading your response - works fine, so heres ya points.


Pete

0
 
LVL 6

Expert Comment

by:clifABB
ID: 1462178
Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

839 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