Results 1 to 17 of 17

Thread: Big Mistake! client server

  1. #1

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    Big Mistake! client server

    I have a program on a network.
    There are about 20 people using this program.
    Problem is (duh) I have the program running on
    everybodys computer all day (in the task bar)
    I just went to update this program..
    But people have it open.. ()


    What do I do?.. is there a way I can kick them off the program.
    Is there a way to see everybody that has it open??
    Is there a way to update this.

    HELP!!!
    Seahag

  2. #2
    Lively Member sjwesley's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    73
    Well, in Win98 there is a program called "Net Watcher" under Start->Programs->Accessories->System Tools.

    With this you could see the list of all users who are currently accessing the application.

    There should be some third-party application in web too.

  3. #3
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179
    a possible way is to let your program check a shared file every 10 minutes for example.



    so place a text file on '\\server\share\lock.txt'

    then change the content of the file to 1 if it is locked and end your program.

    this way it takes only 10 minutes for all the users to stop their application.

  4. #4

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Interesting.

    So what yous are saying.... is make it work somehow?

    Any ideas welcome!

  5. #5
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    u want to add this kind of functionality to u'r software and need suggestions?
    -= a peet post =-

  6. #6
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    20 users? Send out email saying "At 11:00, do not use "APPLICATIOn HERE" for apprx 30 MINUTES, the application is going through an upgrade..."
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  7. #7

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Email would work.
    Although, Our computer challenged friends, dont always check thier mail. (too bad)

    Is there some sort of Sharing folder thinggy..
    Or will I have to program (on start up) a file copy everday?

    :?

    Just thinking out loud.

  8. #8
    Fanatic Member vb_dba's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere aloft between the real world and insanity
    Posts
    1,016
    If you're on an NT/2000 network, network admin should be able to tell you who has what files open on the server. They may even be able to lock it down for you so no one can access it but you.

    Chris
    Chris

    Master Of My Domain
    Got A Question? Look Here First

  9. #9
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I personally would just write a batch file or perl script that shells this pskill utility for the app for every computer on the network.

    http://www.sysinternals.com/ntw2k/freeware/pskill.shtml
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  10. #10

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Interesting..

    I am a beginner. could you explane bit more?

  11. #11
    Junior Member Lordak's Avatar
    Join Date
    Oct 2001
    Location
    Zaragoza (Spain)
    Posts
    27

    Talking

    What about implementing with winsock?
    You could send a control message to finish them all, or whatever you want. It could seem something like a trojan but... I would work.
    I love winsock
    Lordak

  12. #12

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Lordak

    could you post a cool winsock program? pls..

  13. #13
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Why use Winsock when NT/2000 already has the functionality built into the OS?
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  14. #14
    Junior Member Lordak's Avatar
    Join Date
    Oct 2001
    Location
    Zaragoza (Spain)
    Posts
    27

    Thumbs up

    This is an explicit example of how winsock works with remote computers.
    In advice, the 'server' part is the one you have to implement in the program that will be distributed, and 'client' is the program you'll use to interact with the server.
    The example includes a remote shoutdown, you can do many things, 'cause you are in the remote machine as well.
    I hope this helps.
    Lordak

  15. #15

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    Thanks

    I`ll look at that later..


    What about Nt 2000 built in functions?


  16. #16
    Fanatic Member
    Join Date
    Sep 2000
    Location
    UK.
    Posts
    728

    Question Info.

    20 people isn't that many. What would be more time consuming? Walking round, and upgrading the application yourself manually, in say, a couple of hours, or spending a day or more creating some sort of auto-updating network application?

    Laterz
    Digital-X-Treme
    Contact me on MSN Messenger: [email protected]

    [VBCODE]Debug.Print Round(((1097) - ((55 ^ 5 + 311 ^ 3 - 11 ^ 3) _
    / (68 ^ 5))) ^ (1 / 7), 13)[/VBCODE]

  17. #17

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    I hate walking..
    PLus I like updating 1 program..

    The solution I came up with is a file copy every morning of the server. So a program will ony be outdated by a day?

    kinda simple... but works.

    Problem I am having now is creating shortcuts.
    The shortcut itself isn't hard.. its finding the right paths..


    I want a shortcut in the start menu.. simple enough?
    right..

    The IT guy has all three Operating systems implimented

    How do Easily get the path?

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