12-17-2009 06:01 AM
Yet another really simple question from me, as I've been away from DIAdem for too long.
I have a program which, in part of it, needs the user to select the path that they want a set of a few hundred files to be saved in. I've tried using FileNameGet, but this requires me to select a file in the directory i want to save into to record the path. I just want the user to have to select the folder once.
I've tried this:
'===============
dim newfilepath
If (FileNameGet("ANY",,,,,,"Select the directory to save the new files into:") = "IDOk") Then
newfilepath=FileDlgDir
else
End If
'===============
Can I select a directory instead of a file?
Solved! Go to Solution.
12-17-2009 06:25 AM
Hello Tom!
Yes, with the PathNameGet() command.
Matthias
| Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |