Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting path with common dialog control

Status
Not open for further replies.

49er

Programmer
Aug 24, 2000
38
0
0
US
Does anyone have a bit of code that modifies what is returned with the filename property of the common dialog control? It is so close to the weekend and I am having trouble concentrating!!! :)

For ex:
control returns "c:\ice\cold\beer\rats.txt" and I want "c:\ice\cold\beer"

Thanks a lot !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top