LB Booster
« Problem saving... »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:32am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Problem saving...  (Read 879 times)
James
New Member
Image


member is offline

Avatar




PM


Posts: 42
xx Problem saving...
« Thread started on: Apr 8th, 2015, 06:04am »

Hi, smiley

Thanks so much for LBB!!! cool And also the code you've made for me, Richard!

For some reason I'm having a challenge saving my program, It crashes with an internal error 189? I think that's what it said.

But before, when I've been coding in VIM and compiling like this:

Press colon,

!LBB -c-a-m %

It was working fine...

huh
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Problem saving...
« Reply #1 on: Apr 8th, 2015, 12:00pm »

on Apr 8th, 2015, 06:04am, James wrote:
For some reason I'm having a challenge saving my program, It crashes with an internal error 189?

That's 'Access denied'. It means you are trying to save to a place where you don't have write access, or there's an existing file with the same name which is read-only or locked. If it's an EXE, check in Task Manager that there's not a copy still running 'invisibly'.

Richard.
« Last Edit: Apr 8th, 2015, 12:03pm by Richard Russell » User IP Logged

James
New Member
Image


member is offline

Avatar




PM


Posts: 42
xx Re: Problem saving...
« Reply #2 on: Apr 8th, 2015, 1:45pm »

Thanks for helping me out with that error code meaning. smiley

One more thing, I was having trouble embedding a temporary file in the exe... You know, the option to include a file at the last minute... cool
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Problem saving...
« Reply #3 on: Apr 10th, 2015, 08:29am »

on Apr 8th, 2015, 1:45pm, James wrote:
I was having trouble embedding a temporary file in the exe...

Are you still having a problem? It works for me.

Richard.
User IP Logged

James
New Member
Image


member is offline

Avatar




PM


Posts: 42
xx Re: Problem saving...
« Reply #4 on: Apr 10th, 2015, 3:18pm »

Yes sir, for some reason when I add temp file, it doesn't show up in the list or upon running executable... huh Maybe I have a hardware issue?
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Problem saving...
« Reply #5 on: Apr 10th, 2015, 4:55pm »

on Apr 10th, 2015, 3:18pm, James wrote:
for some reason when I add temp file, it doesn't show up in the list or upon running executable

I think you have probably misunderstood how this facility works. In order to successfully embed a temporary file it must already be in the Temp folder, or in a subdirectory of the Temp folder. You cannot navigate to a different place in the file system and select a file there.

So you must first copy the file into the Temp folder, or a subdirectory (you will need to do that anyway in order to test your program in the IDE, of course) and then, when you compile your program, select that file to be embedded.

Is that what you are doing?

Because the file must already be there when the program is compiled, to check that the embedding worked correctly you must either delete it before running the EXE, or run the EXE on a different PC.

Richard.
User IP Logged

James
New Member
Image


member is offline

Avatar




PM


Posts: 42
xx Re: Problem saving...
« Reply #6 on: Apr 11th, 2015, 05:51am »

Thank you, sir, for your support!

Actually, I was just putting it right beside the .bas file! So now I understand! I can put it in the system temp folder, and then it'll embed.

Great! grin
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Problem saving...
« Reply #7 on: Apr 11th, 2015, 07:16am »

on Apr 11th, 2015, 05:51am, James wrote:
Actually, I was just putting it right beside the .bas file!

Of course you can embed a file there too - that's what the Add (rather than Add Temp) button does! But when you run the program the file is extracted to the same folder as the EXE, not the Temp folder.

When you click on Add or Add Temp the file selector opens in the appropriate place. You may need to navigate into a subdirectory to select the resource file(s), but not anywhere else.

Richard.
User IP Logged

James
New Member
Image


member is offline

Avatar




PM


Posts: 42
xx Re: Problem saving...
« Reply #8 on: Apr 13th, 2015, 1:39pm »

Thank you smiley
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls