Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Can't save program!" message
#1
I'm getting a message "Can't save program" when I try to save a new program. I tried closing the prog and opening an existing one; the existing one opens ok and runs, but when I try to re-save it I get the same message. It has Error Code 26306-12305, whatever that means! It's only just started happening (or at least, I've only just had it happen). Maybe I have used up all my allocated space? (I have plenty of space on my drive). Any Ideas please?  Huh
Reply
#2
Would you happen to be trying to save near the Root of C: the hard disk. This area is pretty much owned by Windows. As user you are only allowed to save on Desktop, DownLoads, Pictures... all places pathed after .../User/Name
eg /user/name/Desktop

In other words try to do your saving on the Desktop or Documents or Downloads. Still have a problem?

Did you save QB64 down in the Programs section of Hard drive?
b = b + ...
Reply
#3
I'm saving to C:/Programs (x86)/QB64PE ( a directory where I have all my QB stuff, including QB64.exe etc. I've always used it, and can still open progs there.
Reply
#4
Well I know for sometime Windows gets pretty touchy about doing stuff in that area of disk.

I just load all my QB64 updates into Downloads or DeskTop Folder.

Windows has some crappy proto-call that Just Basic tries to follow and they do program data stuff in a section called Roaming Data or some such non sense that the Windows Navigator can't even access unless you manually type name, sheesh!

[Image: image-2022-08-04-230102338.png]
Go ahead try to find it! LOL
b = b + ...
Reply
#5
Sounds like a permission issue. Honestly, you'd be better served to either move QB64 simply to drive C:, or to your User folder. If you absolutely have to have it in Programs (x86), then set permission manually:

You could try the following on the folder that you have created under the Program Files (X86):

1) Go to your folder under C:\Program Files(x86).

2) Right click your folder and click on Properties.

3) Click on the Security tab. Then click on Advanced.

4) Under Permissions, click on Change permissions.

5) Click on Add and then on Select a Principal.

6) Under "Enter the object name to select (examples)", type Everyone and press Ok.

7) Under Basic permissions, click on Full control and then select Ok.

8) Press Apply and Ok. In your folder's properties window, click on Edit.

9) Click on Add and then enter Everyone.

10) Select Everyone in the list and then select Full control and press Ok.
Reply
#6
(08-05-2022, 03:11 AM)SMcNeill Wrote: Sounds like a permission issue.  Honestly, you'd be better served to either move QB64 simply to drive C:, or to your User folder.  If you absolutely have to have it in Programs (x86), then set permission manually:

You could try the following on the folder that you have created under the Program Files (X86):

1) Go to your folder under C:\Program Files(x86).

2) Right click your folder and click on Properties.

3) Click on the Security tab. Then click on Advanced.

4) Under Permissions, click on Change permissions.

5) Click on Add and then on Select a Principal.

6) Under "Enter the object name to select (examples)", type Everyone and press Ok.

7) Under Basic permissions, click on Full control and then select Ok.

8) Press Apply and Ok. In your folder's properties window, click on Edit.

9) Click on Add and then enter Everyone.

10) Select Everyone in the list and then select Full control and press Ok.
I've moved the folder to now become C:/QB64PE and everything still works as before - links etc were intact - but still says Cannot save file. The settings had become Read Only again, and I've removed that, but no change.
Reply
#7
Can you save a file to the desktop?
b = b + ...
Reply
#8
Yes, I can save to C:/users/(mydirectory)Desktop.
I just wrote a 3-line test file and got a message from AVG (my virus scanner) that it had removed it because it was infected with Win64:wormX-gen [wrm]
Reply
#9
Sounds like you need to whitelist the folder in your antivirus. Similar to: https://wiki.nus.edu.sg/display/DA/Add+f...Virus+Free
Reply
#10
Quote:I just wrote a 3-line test file and got a message from AVG (my virus scanner) that it had removed it because it was infected with Win64:wormX-gen [wrm]

Saw the above after typing the rest of this entry. The OP should "whitelist" the entire QB64 directory as it says on first run of the IDE. But I don't know how to do that.

Soon M$ won't allow anybody to save anything to the user's directory neither! It's been almost 20 years of Vista+ that once in a while somebody throws a tantrum because there still exists installers that must put everything into "Program Files" even though that name has a space and even though M$ wants to take over a good portion of the home disk.

I came to dislike Windows7 intensely moments after I purchased some cheap Sony laptop about ten years back. Decided to save all my data files, and folders all children of one folder which was a child of "C:\Users\Documents". The "Library" trash from File Explorer was a great influence on me, really desired to use something else to copy, rename, delete etc. regular files.

Some people are writhe to put EXE and DLL files in areas other than "Program Files" which is the reason why they cry foul about Windows. This is caused by installers for the most part, and some of them are a black box that one has to trust... even... a little bit... to see if there's an "Install" button in which it finally creates directories and forces the OS to add to its mile-long hideous text file even further. Heck I used to be somebody who religiously wanted to put music application plug-ins into one area of the hard disk because the plug-in standard owner said so. But eventually it became a giant mess even before I started operating on a different computer as I've revealed above.

Also have to love those "educators" that brag that programs and data files for Linux could be placed "anywhere in the system".  Yes except "/usr", "/etc", "/tmp", "/mnt" and places like that. Just try to install and use Wine as "root" user -- I'm not sure now but I think "winetricks" warns against doing it.

Once I had the same problem as the OP with Sound Forge audio editing program, the basic version. It refused to overwrite-save a wave file that was edited which had metadata because it didn't know what to do with that extra data. It angered me very much although I was able to save such a file under a different name.
Reply




Users browsing this thread: 1 Guest(s)