hi !
i want to to know how i sent the Name of the file and the Path of the File that i want to save with the common Dialog box !
10x !
Printable View
hi !
i want to to know how i sent the Name of the file and the Path of the File that i want to save with the common Dialog box !
10x !
I don't know exactly what you're trying to do.
dlg.showsave
strDir = dlg.filename
strFile = mid(strDir,instrrev(strdir,"\")+1,len(strDir))
strPath=mid(strfilename,1,instrrev(strfile,"\"))
The FileName property of the common dialog object returns the path and file name while the FileTitle property only returns the file name and not the path.