Jump to content

Dialog Box Select file


YuChan
 Share

Recommended Posts

Hello,

I want create one dialog box, in my Dialog box i want add button Search File but i not found input button open file.

I have already try with this code :

local Const $sMessage = "Sélectionnez le fichier .txt.
Local $sFileOpenDialog = FileOpenDialog($sMessage, @WindowsDir & "\", "All (*.*)", $FD_FILEMUSTEXIST)

But it's not what i want.

Can you help me to create a button OPEN FILE ?

 

THX

Link to comment
Share on other sites

  • Moderators

Well, there are several things fundamentally wrong with your code, not the least of which is you didn't close your quotes on the first line. And you are trying to use a parameter in the FileOpenDialog call without including the UDF for it. 

Are you using the full SciTE install? It will point out these simple little errors right away.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...