Search found 30 matches
- Sat Jul 12, 2025 3:33 pm
- Forum: Coding Questions
- Topic: File Shredder
- Replies: 5
- Views: 278
Re: File Shredder
Gotcha. I was a bit doubtful myself but was curious. Thank you for your response.
- Sat Jul 12, 2025 3:48 am
- Forum: Coding Questions
- Topic: File Shredder
- Replies: 5
- Views: 278
File Shredder
Just a quick question about file handling. Let's say I have a file that is exactly 5 MB long. If I open this file with Purebasic, but overwrite the file with random 1's and 0's exactly 5 MB long, is it overwriting the file in the exact same place on the drive? Or, does the OS delete the first file ...
- Thu May 15, 2025 7:32 pm
- Forum: Coding Questions
- Topic: Masked Input() in Console
- Replies: 3
- Views: 614
Re: Masked Input() in Console
That is EXACTLY what I need. Perfect. Thank you so much, mk-soft.
- Thu May 15, 2025 6:06 pm
- Forum: Coding Questions
- Topic: Masked Input() in Console
- Replies: 3
- Views: 614
Masked Input() in Console
Does anyone know of a way to mask an Input() response in the console? Like in a string or input requestor where you can designate a mask (like all "*") to conceal a password?
- Sat May 10, 2025 2:22 pm
- Forum: Coding Questions
- Topic: Recursively packing folders
- Replies: 8
- Views: 605
Re: Recursively packing folders
Not recursive, but also adds folders. The notion of recursiveness is not meant by calling a procedure from the procedure itself, but by going through all the folders. You can also use folder depth and filter-mask for file extension. Here you first get a list of files and then add them to the ...
- Fri May 09, 2025 8:42 pm
- Forum: Coding Questions
- Topic: Recursively packing folders
- Replies: 8
- Views: 605
Re: Recursively packing folders
I see in my anxiousness that I overlooked re-numbering the directory number when recursively calling the procedure. That makes sense now as it would fall into an endless loop of searching the same folder over and over again. And I always forget about #PB_Any, which is incredibly handy for ...
- Thu May 08, 2025 4:14 pm
- Forum: Coding Questions
- Topic: Recursively packing folders
- Replies: 8
- Views: 605
Recursively packing folders
I'm coding up a simple little routine that will pack a given folder into a ZIP file. The ZIP file will have to faithfully recreate the entire folder when unzipped, including empty directories. The best I could do was to have a procedure recursively walk through the folder and record everything it ...
- Wed May 07, 2025 6:15 pm
- Forum: Bugs - Windows
- Topic: [Done] IsPack()
- Replies: 11
- Views: 1021
Re: IsPack()
Quin,
Sorry about that. I misread your post. Thank you for confirming.
- Wed May 07, 2025 6:13 pm
- Forum: Bugs - Windows
- Topic: [Done] IsPack()
- Replies: 11
- Views: 1021
Re: IsPack()
Aha. Thank you, Miso. I'm NOT crazy, then! Well, at least on this subject 

- Wed May 07, 2025 5:50 pm
- Forum: Bugs - Windows
- Topic: [Done] IsPack()
- Replies: 11
- Views: 1021
Re: IsPack()
Thank you for confirming.
Quin,
Tried that line in a blank file in the editor and I still get the error. It must be in my install.
Quin,
Tried that line in a blank file in the editor and I still get the error. It must be in my install.
- Wed May 07, 2025 5:24 pm
- Forum: Bugs - Windows
- Topic: [Done] IsPack()
- Replies: 11
- Views: 1021
[Done] IsPack()
Forgive me if this is in the wrong forum. I've searched the bug lists and I'm not sure if this is a bug or if I'm not using it right. But the debugger keeps telling me IsPack() is not a function. I have 6.21 Beta 9 installed. Anybody else having trouble with this?
- Thu Jan 16, 2025 11:35 am
- Forum: Coding Questions
- Topic: WindowedScreen question
- Replies: 8
- Views: 734
Re: WindowedScreen question
That worked. Thank you so much, miso.
- Thu Jan 16, 2025 12:55 am
- Forum: Coding Questions
- Topic: WindowedScreen question
- Replies: 8
- Views: 734
Re: WindowedScreen question
I may have spoken too soon. ShowCursor_(0) does not seem to work. I've tried ShowCursor_(-1), ShowCursor_(#FALSE). I've even tried SetCursor_(#NULL). Is it not possible to disable the mouse pointer in Windows?
- Wed Jan 15, 2025 11:04 pm
- Forum: Coding Questions
- Topic: WindowedScreen question
- Replies: 8
- Views: 734
Re: WindowedScreen question
firace - In my haste I overlooked this part in the manual. Is it because the events pile up and eventually crash the program?
infratec - Worked like a charm.
AnC - That definitely helped. I'm used to a regular full graphic screen where the cursor automatically goes away.
Thank you to all for your ...
infratec - Worked like a charm.
AnC - That definitely helped. I'm used to a regular full graphic screen where the cursor automatically goes away.
Thank you to all for your ...
- Wed Jan 15, 2025 4:15 pm
- Forum: Coding Questions
- Topic: WindowedScreen question
- Replies: 8
- Views: 734
WindowedScreen question
So, the basic idea for this program is to open a borderless window to the dimensions of the current desktop. This is so I don't have to deal with changing resolutions with a full graphic screen. Then, at some point in the bigger program I would like to have a procedure that I could call that creates ...