VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Transfer files to select computers over a network

by Jeff D (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

As a computer programmer, you may be developing one or more projects to run on certain computers on a network environment. Once the initial installation takes place for each computer, you may have a need to change the code for a program, recompile, and create a new EXE file,and copy the EXE file to each computer needing this program update on your network. NOTE: To use this demo, you must have System Admin rights or try typing in a UNC path and access their computer remotely. (Example Shown Right) The file must be closed before you can copy it to networked computers.
You could, of course, Use Start / Run / and type in the UNC path and dump the file to each computer (like illustrated above) - then copy the file over. There may even be other methods to do this, but the method I developed allows you to send the EXE file (or other file(s) if necessary), to each computer on the network (only those running your software) through its computer identification name.
This program was written about 1 ½ years ago – found partial code that was missing – so I’m uploading this for you’ll. Did some simple modifications to it before uploading it to VBC. Forms are quite simple and it uses DAO (I know it’s old) but still works very well. See for yourself – then change to ADO if you wish.
This YourApp.vbp and TransferApp.vbp does not require any outside OCX or DLL. You do have to reference the Microsoft Scripting Runtime.
Please read the README.doc Word Document for proper preparation, setup, and execution of this demo. If you don't have MS WORD, you can download the WORD viewer from Microsoft's web site. If you like this program, please feel free to vote - please leave suggestions and/or comments. Thanks

Assumes
As a computer programmer, you may be developing one or more projects to run on certain computers on a network environment. Once the initial installation takes place for each computer, you may have a need to change the code for a program, recompile, and create a new EXE file,and copy the EXE file to each computer needing this program update on your network. NOTE: To use this demo, you must have System Admin rights or try typing in a UNC path and access their computer remotely. (Example Shown Right) The file must be closed before you can copy it to networked computers. You could, of course, Use Start / Run / and type in the UNC path and dump the file to each computer (like illustrated above) - then copy the file over. There may even be other methods to do this, but the method I developed allows you to send the EXE file (or other file(s) if necessary), to each computer on the network (only those running your software) through its computer identification name. This program was written about 1 ½ years ago – found partial code that was missing – so I’m uploading this for you’ll. Did some simple modifications to it before uploading it to PSC. Forms are quite simple and it uses DAO (I know it’s old) but still works very well. See for yourself – then change to ADO if you wish. This YourApp.vbp and TransferApp.vbp does not require any outside OCX or DLL. You do have to reference the Microsoft Scripting Runtime. Please read the README.doc Word Document for proper preparation, setup, and execution of this demo. If you don't have MS WORD, you can download the WORD viewer from Microsoft's web site.

Rate Transfer files to select computers over a network

Download Transfer files to select computers over a network

Download Transfer files to select computers over a network (78 KB)

Transfer files to select computers over a network Comments

No comments have been posted about Transfer files to select computers over a network. Why not be the first to post a comment about Transfer files to select computers over a network.

Post your comment

Subject:
Message:
0/1000 characters