Simple Drive Display
#21
I think Fellippe showed you can use DIREXISTS in a loop to check all valid letter drives.
Ask me about Windows API and maybe some Linux stuff
Reply
#22
(12-13-2022, 03:00 PM)Spriggsy Wrote: I think Fellippe showed you can use DIREXISTS in a loop to check all valid letter drives.

Didn't look Fells routine up, but it sounds like...

Code: (Select All)
FOR i = 1 TO 26
    IF _DIREXISTS(CHR$(i + 64) + ":") THEN
        PRINT CHR$(i + 64); " Exists."
    END IF
NEXT

Which is fine but won't detect the optical drive or it's status. Did Fell add anything else to what I coded, above, for that?

Pete
Reply
#23
I honestly don't remember. I just remember I didn't prefer his routine since I was all about WinAPI anyways
Ask me about Windows API and maybe some Linux stuff
Reply
#24
I think there's a flight leaving from Indiana to Brazil today. Be a good soul, fly down there, and ask. I'm too lazy too search .rip.


I miss Fell. Hope he returns one day.

Pete
Reply
#25
(12-13-2022, 04:33 PM)Pete Wrote: I miss Fell. Hope he returns one day.

He's on the "QB64 Official" Discord. I don't know if he's active, though. I do know that he has talked to a few people in there.
Ask me about Windows API and maybe some Linux stuff
Reply
#26
Steve got on my case big time for visiting QB64 "Official"

Oh, he didn't mind me visiting the site...

I just forgot to wipe my feet before I returned, and got cricket juice all over his new Phoenix Forum carpet.

Pete
Reply
#27
damn, poor crickets (I mean the ones left behind)
Reply
#28
Big Grin Big Grin Big Grin
Big Grin Big Grin Big Grin
If eggs are brain food, Biden takes his scrambled.
Reply




Users browsing this thread: 1 Guest(s)