Discussion:
commondialog.showsave
(too old to reply)
Zero
2003-10-06 13:45:37 UTC
Permalink
Is there anyway to have VB plug in a 'default' name into the filename
field when opening the Showsave? I would like to give users the OPTION
to change the filename, but also have the Defaul filename in there
before they start.


TIA - Zero
Dr Hangman
2003-10-06 20:26:21 UTC
Permalink
Assuming that the Dialog control is named commondialog and the default
filename you wish is newFile.txt ...

commondialog.FileName = "newFile.txt"
commondialog.ShowSave

That is all there is to it...
by selecting the filename first, then showing it, it has the original plus
they can change it...

Dr Hangman
Post by Zero
Is there anyway to have VB plug in a 'default' name into the filename
field when opening the Showsave? I would like to give users the OPTION
to change the filename, but also have the Defaul filename in there
before they start.
TIA - Zero
Continue reading on narkive:
Loading...