QB64 Phoenix Edition
file.. open dialog window - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: file.. open dialog window (/showthread.php?tid=3898)



file.. open dialog window - pmackay - 08-31-2025

hey guys.... sorry to drive you bonkers. I have fixed the file stuff.
I have a question...I can select a file to load with no problem using the code below but how do I do the opposite to save a file..select and create a file the same way with the professional window..

Code: (Select All)
READONCE$ = _OPENFILEDIALOG$("Select a file to Load", _CWD$ + "./font/all_64c/", "*.64c|*.rom|*.bin|*.x88", "CharRom File", 0)
      OPEN READONCE$ FOR BINARY AS #1

[Image: SELECT-ROM2025-08-31-10-34-32.png]

I want to be able to see the list as above and click create new file.


RE: file.. open dialog window - SMcNeill - 08-31-2025

_SaveFileDialog$
https://qb64phoenix.com/qb64wiki/index.php/WRITEFILE

Those two keywords are what you're looking for, I think.


RE: file.. open dialog window - pmackay - 08-31-2025

it is.... EXACTLY WHAT I WAS LOOKING FOR.. 


Thank you for Qb64 P.E. it is just an awesome piece of software....