Solved

Sending messages across Netware Network.

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

679 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