Solved

Sending messages across Netware Network.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

911 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

21 Experts available now in Live!

Get 1:1 Help Now