Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / File Problem

Author
Message
tubeular cube face
19
Years of Service
User Offline
Joined: 14th Jul 2005
Location:
Posted: 25th Sep 2006 21:03
I need to create a file for my game to save screenshots in but my code is not working why?



Tubeularcubeface
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 25th Sep 2006 21:11
You mean you want to make a FOLDER, not a file.

Look at help for

PATH EXIST
MAKE DIRECTORY

Boo!
tubeular cube face
19
Years of Service
User Offline
Joined: 14th Jul 2005
Location:
Posted: 26th Sep 2006 15:27
Thanks but I Changed it and it still dosent work



Tubeularcubeface
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 26th Sep 2006 17:28 Edited at: 26th Sep 2006 17:30
If the 'Maze' folder does not exist you can't just create a subfolder within in. So you need to first test for 'Maze' folder and then for the 'Screenshots' folder.



Ideally though, you should not just go and create folders in program files directory as different pcs have different setups. What if program installed in different folder, etc.

Normally you would just have a screenshots folder in same folder where game EXE is.



Boo!
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 27th Sep 2006 10:28 Edited at: 27th Sep 2006 10:30


Try this?

If you have X-ray vision, can you see through your own eyelids?
tubeular cube face
19
Years of Service
User Offline
Joined: 14th Jul 2005
Location:
Posted: 27th Sep 2006 16:37
Ok thanks spooky that was the problem

Tubeularcubeface

Login to post a reply

Server time is: 2024-11-26 09:33:55
Your offset time is: 2024-11-26 09:33:55