Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading file
#4
Another really easy and flexible option is now:

files$ = _OPENFILEDIALOG$("Open File", "", "*.PNT", "Map files", -1)
IF file$ = "" THEN END 'user hit cancel and didn't enter a pnt file.
OPEN file$ FOR RANDOM AS #1

Like this, you can navigate and choose which file you'd like to open and use, rather than just hardcoding the name and path into your program.
Reply


Messages In This Thread
Reading file - by emfril - 02-13-2024, 01:55 PM
RE: Reading file - by MasterGy - 02-13-2024, 02:22 PM
RE: Reading file - by emfril - 02-18-2024, 04:17 AM
RE: Reading file - by Ikerkaz - 02-13-2024, 02:32 PM
RE: Reading file - by emfril - 02-18-2024, 04:34 AM
RE: Reading file - by SMcNeill - 02-13-2024, 02:58 PM
RE: Reading file - by bplus - 02-13-2024, 03:23 PM
RE: Reading file - by SMcNeill - 02-18-2024, 04:43 AM
RE: Reading file - by bplus - 02-18-2024, 10:50 AM
RE: Reading file - by emfril - 02-18-2024, 06:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  reading multitouch touchscreen input madscijr 3 827 03-12-2025, 04:36 AM
Last Post: madscijr
Question reading multiple mice absolute position, keyboard with raw input api ? madscijr 1 752 05-29-2024, 05:38 PM
Last Post: madscijr
Question reading multiple mice from QB64PE, latest kludgey proof of concept, mostly works! madscijr 5 1,360 05-23-2024, 10:41 PM
Last Post: madscijr
  kind of works? reading multiple mice: any c programmers want to look at this? madscijr 82 17,398 05-21-2024, 01:15 PM
Last Post: madscijr

Forum Jump:


Users browsing this thread: 1 Guest(s)