Shell functions vs. Win2K Adv. Server

J

Joel Wiseheart

We have an Access 2002 database that normally runs from a
server with Windows 2000 Advanced Server on it. When I
try to run the following command from any workstation, it
works fine, but doesn't run from the server:

Public Function fctNetSend(strAdminName As String,
strMessage As String)

Shell ("net send " & strAdminName & " " & strMessage)

End Function

I'm trying to use the "net send" command at the end of a
VBA procedure, that is automated to run in the middle of
the night. That way, it can send a message to my PC, and
let me know it ran successfully.

Any ideas why it works on a WinXP Pro machine but not on
Win2K Advanced Server?

Thanks!
 
G

gandalf

messenger service is off?
does it work when you manually type it in not using the
shell command?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top