Code won't work if it is saved....

Post your coding questions such as 'how to' here.
Post Reply
Ryanmo97
Newcomer
Posts: 2
Joined: Thu Jul 10, 2008 5:19 am

Code won't work if it is saved....

Post by Ryanmo97 »

I'm haveing a major problem with CoolBasic...

My programs work just fine when they are in a new panel. But whenever I save it or create a .exe, the program refuses to load any sort of outside media.

Please help me.... I really like CB and I would like to be able to share my programs with my friends.
Koodiapina
Forum Veteran
Posts: 2396
Joined: Tue Aug 28, 2007 4:20 pm

Re: Code won't work if it is saved....

Post by Koodiapina »

Dude, when u save, the working directory changes. And as u save in directory mygame/ 4 example, it will look 4 ur graphics from mygame/media/. U have 2 move all the stuff into you'r new directory.
Ryanmo97
Newcomer
Posts: 2
Joined: Thu Jul 10, 2008 5:19 am

Re: Code won't work if it is saved....

Post by Ryanmo97 »

:oops: Thank you... I never even thought of that...
Post Reply