Results 1 to 8 of 8

Thread: Send a message to a client from a service on a server???? (SOLVED)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343

    Send a message to a client from a service on a server???? (SOLVED)

    I need to send a message to a client computer in a server / client network. The message will be generated from a service running on the server.

    How do I do this?????

    Or can I send a message to a user group or a user would be even greater...

    /Smirre
    Last edited by Smirre; May 13th, 2003 at 12:35 PM.
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    You can use the net send dos command.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    Ok, do you know of any other way???

    Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    The Net Send command only lets me send to all users logged in, or to a specific computer or to the whole domain??

    What if I want to use the Messenger service to send a message to a specific user or group???

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  5. #5
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Send a message?? = E-Mail ??

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    no, a messenger message. Any way, I got it to work to send message to a specific user. So the problem is solved..

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

  7. #7
    Addicted Member Flip's Avatar
    Join Date
    Jun 2002
    Location
    Burke, VA
    Posts
    247
    how did you get it to work with every user logged in?
    The "company" website My homepage: nerisoft.com
    scars heal but glory is forever

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Location
    Kalix, Norrbotten, SWEDEN
    Posts
    343
    I didnt check every user, I send to a list of specific users even if they are not logged in..

    I settled with just writing in the users, as they are less than 5. You could proberly write some code that gets all the users in a user group and send a message to every one in that list. I thought about doing that, but decided to just enter the users. I couldnt find any reason that would justifiy the extra cost for writing that. The clock ticks....

    /Smirre
    Visual Basic
    C, C++
    Java
    Access
    SQL Server

    MCP, MCSD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width