Solved

Sending messages across Netware Network.

Posted on 1998-06-01
3
134 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

770 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