Rename and move a file

I have an application that about 50 people are executing on their PC.   When the user saves in thier application, I need to update information in another application supported by a 3rd party.     To do this, they (the 3rd party) want me to write a file to a common drive on our server so they can pick it up and update their information.    My application doesn't provide a way for me to make the file name unique, so I need some type of executable I can run to move it from the user's harddrive to the server.    does that make sense?  
Who is Participating?
VBRocksConnect With a Mentor Commented:
Here's how you do it in VB.NET:

my.Computer.FileSystem.MoveFile(sourceFile, destinationFile)

Here's VB6:

        Dim fso As Object
        Set fso = CreateObject("Scripting.FileSystemObject")
        fso.MoveFile "sourceFile", "destinationFile"

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.