Solved

Sending messages across Netware Network.

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now