Another fix for running GUI Forms Designer out of different Folders.
I already had been saving project path under global curPath$ in BI and set when OpenWindow, it fits in nicely for compiling and running the GUI_Preview.bas file:
My code mods that work from different folders without hardcoding path:
Man it sucks tracking changes in 2 sets of folders, one set does it with BI and BM unpacked all in one code file in case I have to change something in those, and another set runs with BI and BM just for a check.
I will post an updated, "stable" version of forms designer after I get more apps coded and changes settle down or there are so many fixes.
I already had been saving project path under global curPath$ in BI and set when OpenWindow, it fits in nicely for compiling and running the GUI_Preview.bas file:
My code mods that work from different folders without hardcoding path:
Code: (Select All)
' It worked!!! IDE Run Menu: "Output EXE to Source Folder" bulleted
Shell "C:\Users\marka\Downloads\qb64_win-x64-0.8.2\qb64\qb64.exe -c " + _
Chr$(34) + curpath$+ "\GUI_Preview.bas" + Chr$(34)
_Delay 3
Shell Chr$(34) + curPath$ + "\GUI_Preview.exe" + Chr$(34)
'................ Of course you will need to fix this for your system setup ..............................
Man it sucks tracking changes in 2 sets of folders, one set does it with BI and BM unpacked all in one code file in case I have to change something in those, and another set runs with BI and BM just for a check.
I will post an updated, "stable" version of forms designer after I get more apps coded and changes settle down or there are so many fixes.
b = b + ...