Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2002
    Posts
    15

    Unanswered: Accessing networked PC's

    I have a database that is on the local network in our office. I have a table that contains the machine numbers of all the PC's. What i want to do is press a button in my database that will then put copies of the database on their harddrives. I have a database that is replicated across the network on all of these PC's and have put code behind a button to update all the replicas for any change so i would assume that it must be possible to go one step further and put a program on their hard drives. If anyone has any idea of what code might do this I would appreciate it.

    Cheers

  2. #2
    Join Date
    Apr 2002
    Location
    Germany
    Posts
    228
    you could use the shell function and build the pathname parameter via code, ex.:
    Code:
    do until myrst.EOF
        shell "copy c:\data\sourcefile \\" & _
            myrst!machinename & "\data\destfile"
        myrst.movenext
    loop
    edit: whoops, forgot the movenext
    Last edited by Apel; 06-21-02 at 06:07.

Posting Permissions

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