ListBox saving to and Loading from file

For questions about using Classic.

Post » Thu Dec 04, 2008 12:07 am

Could someone post an example of how to save a file with the contents of the listbox and how to load those contents back up on start? No matter what I do I keep getting this error: "Disk full while accessing C:\Documents and Settings\Tom Foolery\Desktop\cheese.txt."
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Sat Dec 06, 2008 7:32 pm

Can you post a .cap file that does this?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,590

Post » Sat Dec 06, 2008 9:32 pm

Surely. Here you go.

The error only happens if the txt file already exists. When it doesn't exist no file is created from the program.
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Sun Dec 07, 2008 4:05 pm

Oops, it was a bug. Fixed in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,590

Post » Sun Dec 07, 2008 6:57 pm

Thanks Ashley! :D
B
2
S
2
G
4
Posts: 136
Reputation: 1,722


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: GameOverBeast and 1 guest