View Single Post
  #3 (permalink)  
Old 08-04-2008, 07:11 PM
specci48's Avatar
specci48 specci48 is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 672
Default

Quote:
Originally Posted by tcgoh View Post
I tried SaveDialog but the filename field is emty. I wanted filename field to be fill up w/o letting the user select.
To preselect a filename in the savedialog you have to define the file property of the savedialog before showing it, e.g.:
Code:
	SaveDialog1.File = AppPath & "\test.txt"
	SaveDialog1.Show
specci48


Edit: added a very simple copy sample...
Attached Files
File Type: sbp CopyFile.sbp (709 Bytes, 6 views)

Last edited by specci48 : 08-04-2008 at 07:19 PM.
Reply With Quote