Yes, I would like to know more about how to use NetMessageBufferSend.
Clif Dunaway
Satyajeet Hattangadi <satyajh@m...> wrote:Hey Rekha..
A more efficient way would be to to use the NetMessageBufferSend call from
netapi32.dll
If you need an example let me know
Cheers,
Satya
----- Original Message -----
From: "Rekha"
To: "professional vb"
Sent: Monday, February 24, 2003 9:36 PM
Subject: [pro_vb] Re: Net Send Command?
> Thanks. Got it.
> Rekha
>
> > Here's one way:
> S> hell "NET SEND ComputerNameOrIPAddress TextMessage"
>
> > > Hi All,
>
> > > I am checking for all the services that are running on a server and if
> a
> p> > articular service of interest is down, I have to execute the "Net
> send"
> c> > ommand to the networking guy and the administrator, informing that
> the
> s> > ervice is down. I am able to list all the services running on the
> s> erver
> a> > s of now.
>
> > > For Each objService In colListOfServices
> > > If (StrComp(objService.Name, "RSVP") And StrComp
> (> > objService.State, "Stopped")) Then
> > > NetSend("admin", "RSVP service is down")
> > > Exit For
> > > End If
> > > Next
>
> > > The NetSend function call is something I have assumed. So, what should
> g> o
> t> > here? How can I execute "Net Send" command via a vb app?
>
> > > Thanks,
> R> > ekha.
>
*********************************************************
Disclaimer
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com