New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Invalide filename pased to FileOpen" message trying to browse for FDB file [ODBC18] #20
Comments
Modified by: Vladimir Tsvigun (praktik)status: Open [ 1 ] => In Progress [ 3 ] |
Commented by: Vladimir Tsvigun (praktik) Hi Jorge, I have only one the simple decision: from help the OPENFILENAME structure :lpstrInitialDir If lpstrInitalDir is NULL and the current directory contains any files of the specified filter types, the initial directory is the current directory. If lpstrInitalDir is NULL and the current directory does not contain any files of the specified filter types, the initial directory is the personal files directory of the current user. To specify the current user's personal files directory as the initial directory, set lpstrInitialDir to the path returned by calling theSHGetSpecialFolderLocation function with the CSIDL_PERSONAL flag. Earlier versions of Windows and Windows NT: If lpstrInitalDir is NULL, the initial directory is the current directory.It is good variant? |
Commented by: Vladimir Tsvigun (praktik) Hi Jorge,
|
Modified by: Vladimir Tsvigun (praktik)status: In Progress [ 3 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] |
Commented by: Vladimir Tsvigun (praktik) CVS changed |
Modified by: Vladimir Tsvigun (praktik)status: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Jorge Andres Brugger (jbrugger)
Assigned to: Vladimir Tsvigun (praktik)
Configure a DSN to use a remote server alias. Now try to change Database
parameter clicking "Browse" button. You will get a "Invalide filename
pased to FileOpen" error and therefore cannot browse for fdb file. Maybe
that validation should be done at "OK Button" event, but only when not
using aliases. Error is also not descriptive (end user maybe don't know
about what?s happening ... internal function names shouldn't be used in
message boxes).
Default folder for looking for Firebird client should be system, isn't
right? (I don't know how driver chooses the folder to browse). In this
case (Firebird Client), if the "Invalide filename pased to FileOpen"
error occurs, open file dialog should be opened without notice, because
there is not thing such aliases involved.
The text was updated successfully, but these errors were encountered: