Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Old dog eyeing new tricks...
#2
(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.
Reply


Messages In This Thread
Old dog eyeing new tricks... - by Pete - 10-27-2024, 12:10 AM
RE: Old dog eyeing new tricks... - by ahenry3068 - 10-27-2024, 12:33 AM
RE: Old dog eyeing new tricks... - by Pete - 10-27-2024, 12:54 AM
RE: Old dog eyeing new tricks... - by ahenry3068 - 10-27-2024, 01:31 AM
RE: Old dog eyeing new tricks... - by ahenry3068 - 10-27-2024, 01:44 AM
RE: Old dog eyeing new tricks... - by Pete - 10-27-2024, 01:57 AM



Users browsing this thread: 1 Guest(s)