Sign in to follow this  
Followers 0
ending

Save/Open Dialog Boxes

3 posts in this topic

Possible to use the Window's API file save/open dialog boxes and just use it to store the filepath to a variable? So you could then take that path variable and use FileWrite or whatever.

Share this post


Link to post
Share on other sites



straight from help

$var = FileOpenDialog("Choose a file", "C:\Windows\", "Images (*.jpg;*.bmp)", 1 + 4 )

If @error Then
    MsgBox(4096,"","No File(s) chosen")
Else
    $var = StringReplace($var, "|", @CRLF)
    MsgBox(4096,"","You chose " & $var)
EndIf

then you can use fileopen() to read or write

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Doh! I was looking in the Messages and Dialogs tree. Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0