-=Visual Basic 5 Win95/98=-
I am using CommonDialog to save a file and this is not a problem at all. What I wish to do is get the name of the file prior to it going to commonDialog.filename. This gives the path of where the file will be stored. Once this filename is recieved it will be displayed in a message box which is also not a problem. Basically, I wish to have the name of the file and not the path of the file stored in a variable so it may be used later in the program.