Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 file browser
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
r0ssar00




PostPosted: 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]
Sponsor
Sponsor
Sponsor
sponsor
r0ssar00




PostPosted: Sat Oct 01, 2005 8:20 am   Post subject: (No subject)

bad copy, reposting
r0ssar00




PostPosted: Sat Oct 01, 2005 8:39 am   Post subject: (No subject)

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




PostPosted: Sat Oct 01, 2005 8:40 am   Post subject: (No subject)

bad code, not fully posting
r0ssar00




PostPosted: Sat Oct 01, 2005 8:44 am   Post subject: (No 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
Cervantes




PostPosted: Sat Oct 01, 2005 9:28 am   Post subject: (No 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.
beard0




PostPosted: Sat Oct 01, 2005 10:40 am   Post subject: (No 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!
r0ssar00




PostPosted: Sun Oct 02, 2005 3:44 pm   Post subject: (No 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
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Mon Oct 03, 2005 8:34 am   Post subject: (No 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.
r0ssar00




PostPosted: Mon Oct 03, 2005 2:08 pm   Post subject: (No 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



return__name.zip
 Description:
this is the program/lib

Download
 Filename:  return__name.zip
 Filesize:  126.77 KB
 Downloaded:  189 Time(s)

Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: