Dear forum,

I am a totally new in programming with visual basic 6. I must made a program and I have a question. In my program in main form I have a button to save a file with the data that the user has entered. When the save button pushed /clicked a new form shows and guide the user to find where the file must be saved. But when I try to do that the rest of the code for the saving is executed and the files always goes to the root directory app.path.
How I could stop the code to run and continue after the user has selects the path which the file must be saved?
Thanks in advance for your time.