Computer Science Canada

file browser

Author:  r0ssar00 [ Sat Oct 01, 2005 8:20 am ]
Post subject:  file browser

the original code for this file browser origianlly came from beard0, so the credit for the program goes to beard0. its fricken awsome this code. its a filebrowser that can also recognize drives, and it uses s_engine which is pretty cool, but it uses a modified version, so u need beard0's, which is included in the zip. i implemented a new function in return name.t that will filter by extension, not just give the whole listing unfiltered, i spent 50 mins figuring out why filtering wasnt workin right, and figured out i had to put four chars in my code. i kicked myself for that one.
two more very important things:
1) it must be extracted into c:\turing\s_engine or
2) feeling brave, you can go into ./guiclass/ and open
widgetglobals.tu and change the picFolder var to the
location u extracted it to, plus /pics/ note trailing slash
if u dont have 1 of these done, it will _not_ work, by default its set to c:/program files/turing/s_engine/pics/
here goes
btw i cant attach this for some reason, its uuencoded, and its in the reply

just copy and paste into notepad, then save as return_name.uue and open with winzip/winrar
[edit]
i changed another existing function, you can change the search extension by changin the extension in the text box and hitting enter, then dble clickin .\ at the top of the browser box
[/edit]

Author:  r0ssar00 [ Sat Oct 01, 2005 8:20 am ]
Post subject: 

bad copy, reposting

Author:  r0ssar00 [ Sat Oct 01, 2005 8:39 am ]
Post subject: 

son of a bitch, why will this thing not post
admin, check config for attachments

Author:  r0ssar00 [ Sat Oct 01, 2005 8:40 am ]
Post subject: 

bad code, not fully posting

Author:  r0ssar00 [ Sat Oct 01, 2005 8:44 am ]
Post subject: 

ne1 know why it wont let my ul it
for now, pm me, and well set up a bit of p2p here so once some1 else gets it, then pm me and them, and then some1 pm you, and then ppl pm everybody who has it, and then they get it, get it?, and it should get 2 everybody that wants it

Author:  Cervantes [ Sat Oct 01, 2005 9:28 am ]
Post subject: 

What kind of file is it? Is it over 2mb?

And 5 posts in a row was not necessary. Just edit your first post.

Author:  beard0 [ Sat Oct 01, 2005 10:40 am ]
Post subject: 

Actually, one of the commands I added to the S_Engine was

code:
GUI.SetPicFolder (dir:string)


All you need to do is make a copy of the S_Engine pictures in a subdirectory of that which your program is in - you can even change them to suit your taste!

Author:  r0ssar00 [ Sun Oct 02, 2005 3:44 pm ]
Post subject: 

well, the reason for 5 posts was bcause i had posted the uuencoded file in code tags, and the whole file didnt post, so i just edited out the pages and pages of data. there were no delete x's. the file is 128 kb, not even close to 2mb
thanks for the picfolder tip

Author:  Tony [ Mon Oct 03, 2005 8:34 am ]
Post subject: 

if you're having trouble uploading a file, chances are that it's ether

a) over your upload limit (not currently the case)
b) file of the same name has already been uploaded -- try renaming

otherwise post the error message(s) you get.

Author:  r0ssar00 [ Mon Oct 03, 2005 2:08 pm ]
Post subject: 

i dont get an error message, i click "add an attachment", then once ive filled in all the info, i click "add attachment" and then the page reloads and theres nothin in the filename field, i l8tr figured out there was a file with the same name, but why did the system not tell me this?
ill ul it asap, editing this post


: