getting complete file path
-
i m trying to get the complete file path on pressing a browse button....i know abt a method GetFilePath but it does not work
Show us the code inside the browse button handler.
It is a crappy thing, but it's life -^ Carlo Pallini
-
i m trying to get the complete file path on pressing a browse button....i know abt a method GetFilePath but it does not work
If you are using
CFileDialog
class you can use theCFileDialog::GetPathName
.«_Superman_» I love work. It gives me something to do between weekends.
-
Show us the code inside the browse button handler.
It is a crappy thing, but it's life -^ Carlo Pallini
-
If you are using
CFileDialog
class you can use theCFileDialog::GetPathName
.«_Superman_» I love work. It gives me something to do between weekends.
-
ooh yes...sorry i have used getPathName method instead...it was the typing mistake.... i havnt got the result by using GetPathName method
MahaKh wrote:
i have used getPathName
If that doesn't work then you may try
GetFolderPath
along withGetFileName
ofCFileDialog
.
Do not trust a computer... Always check what computer is doing regards, Divyang Mithaiwala Software Engineer