GetFileOpenName possible bug
- New
- Issue
-
Simone Olianti
- PowerBuilder
- Tuesday, 9 June 2026 02:30 PM UTC
hello everyone, i would like to report a possible bug on PowerBuilder 2025 R2 Build 6430
and the workaround in case someone else having the same issue
Window 11 Home
26200.8524
when i use GetFileOpenName this way, it doesn't work. Not showing the system's Open File dialog box:li_rtn = GetFileOpenName("Select File", docpath, docname)
this happens only from the compiled .exe, because from the pb IDE still working without issues
when i specify the remaining optional parameters it works as usual:li_rtn = GetFileOpenName("Select File",docpath, docname, " ","All Files (*.*), *.*","C:\Program Files\Appeon")
Adding to this, it looks like that the return variable is always 0 whether the user clicked "cancel" or chose a file.
This strange behavior has never happened to me before the latest release
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.