VB6 File "Save As" routine
Posted on 2007-10-17
I know how to do a File -> Save... and I have code to do File -> Save As and prompt user for file name and location....
But in most applications, if you do a "save as" the result is that the version you were in is closed and you are not "working in the new save as file"... My program is not set up that way.... My program just saves a copy of the eixsting file off to the filename and location specifed from the dialog... it then does not "switch to that file" which has caused some confusion...
Can anyone provide any pointers in this area? I have searched EE and Google and not found anything on:
- the correct expected procedure
- coding hints to implement that
Some type of work flow in general plus code tips is what I need... My "brute force" thought is just:
- user working in File 1
- does Save As to File2
- date from File 1 is copied and saved into File 2 on the hard drive
- File 1 is then "closed"
- File 2 is then "opened"
Thoughts? Help? Suggestions?