10-27-2024, 12:33 AM
(10-27-2024, 12:10 AM)Pete Wrote: _OpenFileDialog$()
So let's say I use this beat new addition to qb. It opens my local directory (c:\QB64pe), but now I use that dialog box to go to a different folder: c:\Pete's Tremendous-Steve's-Just-Amazing and I open a file from that location. So what do I query to get that non-local directory into a string variable like dir$ in my code?
Pete
Pete the string$ returned from OpenFileDialog$ is the entire Pathname of the file chosen. You just snip off the 'Name' part of the string to get the full path.