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.

Author
Message
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 13th Jul 2010 22:08
Hey, I've never made a file explorer before, I'm running into problems with it. When I run this code, and click on a directory, I get a "could not find path at line 20" even though I do a check the line before to see if the directory exists :S.

Help me please?



Rawwrr. Sig Fail.
Newcastle is awesome
Hawkblood
15
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 13th Jul 2010 22:26
I've sucessfully done it before. I'll take a look at the code I use and give you some help when I get home.

The fastest code is the code never written.
Hawkblood
15
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 13th Jul 2010 22:55
I don't have a lot of time, so here's an example of how to do it.


The fastest code is the code never written.
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 13th Jul 2010 23:01 Edited at: 13th Jul 2010 23:12
Thanks alot I'll see if i can get my head round that

EDIT: got it, i wasn't aware that "path exist" returns true for files too.

Rawwrr. Sig Fail.
Newcastle is awesome
Hawkblood
15
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 14th Jul 2010 03:16
Yea... I had that same problem too when I was making the converter. It was my first DBP file interface.

The fastest code is the code never written.

Login to post a reply

Server time is: 2025-06-02 14:03:40
Your offset time is: 2025-06-02 14:03:40