Author |
Topic: Problem saving... (Read 887 times) |
|
James
New Member
member is offline


Posts: 42
|
 |
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... Maybe I have a hardware issue?
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
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.
|
|
Logged
|
|
|
|
James
New Member
member is offline


Posts: 42
|
 |
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!
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
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.
|
|
Logged
|
|
|
|
James
New Member
member is offline


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