Home All Groups Group Topic Archive Search About

How do I get just the file name rather than the entire path

Author
22 Mar 2006 5:04 AM
Joy2006
If I use commondialog1.FileName, I get the entire path along with the
file name. How do I get just the file name?

Author
22 Mar 2006 5:14 AM
Joy2006
Never mind..Figured it out
Author
22 Mar 2006 9:12 AM
Jan Hyde
"Joy2006" <shubh***@gmail.com>'s wild thoughts were released
on 21 Mar 2006 21:14:41 -0800 bearing the following fruit:

>Never mind..Figured it out

And for those reading this the OP probably realised that

CommonDialog1.FileTitle

solved the problem.



Jan Hyde (VB MVP)

--
Rich foods are like destiny. They, too, shape our ends. (Art. Moger)