@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> ? paste
<1> Pastebin: http://www.vkarlsen.no/pastebin
<2> yo
<2> Good luck!
<2> I've played the Rach 3. You'll need more than 4 mallets. :)
<2> When I played it, I used all 10 fingers.
<2> ..and both feet!
<3> how to put a hard drive to sleep or standby ?
<4> anyone know if office2003 documents still only supports 40bit encryption?
<4> ykram: programmatically?
<3> yeah programatically
<4> hmm - dd does it and its opensource for windows (written in delphi) google dd for windows
<4> well - it makes it unusable to anything else in windows for a while; i'm not sure what that entails.
<3> dd ?



<4> yeah - for forensic copying of hard drives and such
<4> bit by bit copy. not file copy.
<4> so if you have deleted data it will copy that too
<3> just googled and it thinks dd is a linux app
<3> shagged out .. zzz
<4> yeah - look up "dd for windows" it *is* a linux app
<5> anyone know how to figure out the text height in a tlabel?
<5> aka textheight*numberoflines
<5> a wrapped tlabel i should say
<5> with multiple lines
<6> yo
<7> hi
<8> opps i left a ping running
<6> better go catch it!
<8> Packets: Sent = 92624, Received = 92624, Lost = 0 (0% loss),
<9> what IDE you guys using?
<9> Borland developer 2006?
<9> Help for a newibe :)
<8> exit
<7> quit
<7> anyone know how to specify a file ***ociation so that if 8 files are right clicked on and "Opened", then the filenames will be given one after another as paramstr's?
<10> I don't believe that's done via file ***ociation
<10> you have to do some shell thingy for that
<7> any idea what I should look up in the help
<7> i've been looking at the SDk for an hour now
<10> nope :)
<11> folder options, file types
<12> its alive!!!!
<12> a tip for newbies... if lowercase(mystring) = 'SomeString' then <--- this line will NEVER be true!!!
<7> good lord
<12> 1600 lines of code just lit up like a christmas tree...
<7> russell: uhh..?
<12> cmf. I have code for that. want it?
<7> dayna: uhh.. for making the shell send multiple files as parameters instead of running seperate instances of my program? SURE! :)
<12> do you know how to make it open just one file?
<10> cmf, i think i remember what happens now
<12> my code is to make it open one file.
<10> explorer launches multiple copies of your app
<7> yes.. i know how to make it open one file
<10> you need to detect that your app was JUST opened, and send it a custom msg telling it to open another file
<7> goodge: ya i've done that before too
<12> I have code for that too.
<7> but say you had a program that copied files
<7> and you right click on 8 files
<7> do you think it runs your copy command 8 times?
<7> or runs the copy command with 8 parameters?
<12> one quick way to test it is to create a program that opens one file... register it...
<12> then open 8 files
<12> see if you get 8 apps.
<12> I've never researched how it opens 8 documents.
<12> or 2 for that matter.
<7> that's what i've done.. and it's opening 8 apps
<7> :(
<7> cant figure out how to make it open the program once with 8 paramstr's
<12> set a mutex and if its set... send a message with the parameters to current process
<12> then close the newly openning app before any windows are shown.
<7> that's what i've got
<7> i dont like it hehe
<7> the problem is
<7> i have to add up the size of all the files
<7> before i start the process



<7> so with the mutex method it wouldnt know how many files there would be
<12> well all the opening would happen within 1 second...
<7> what if there's 1000 files?
<12> *laugh* you do have a problem.
<12> if you've written an app that can open 1000 files then you are in trouble from the beginning.
<7> haha
<13> lol
<12> hmmm wonder how many file handles there are...
<7> doesnt open them all at the same time
<7> but it does add up their sizes
<12> you could write a program that simply catches all the parameters... and when it doesn't get any new ones after 2 seconds... it opens the main app p***ing a list of filenames with size...
<12> a "LAUNCHER"
<7> hehe
<7> i could
<7> but is that the best way you think?
<7> like.. when you click on "Send To:" on the windows context menu
<7> do you think it sends them each to a seperate instance of a program
<7> and it sorts them out?
<12> it could even display a splash screen... one moment please... X files totalling XXXX bytes
<7> or do you think all the files are sent to one process
<7> heh
<12> microsoft breaks its own rules by using undocumented features all the time.
<7> ya
<7> grr
<7> there must be a way
<7> the 2 second idea is the only way i can think of too
<7> but
<7> it's an ugly way
<7> i'm sure you agree
<7> hmm
<7> i'm going to see how Winamp enqueue's mp3's
<7> ****
<7> i dont have an mp3
<12> the windows bmp previewer will open multiple files I think...
<7> i'll check
<7> winamp was just one at a time with a /add param
<7> i wonder if there's a way to find out which files in a folder/explorer are selected
<12> there is.
<12> cmf: do you know comm?
<7> COM?
<7> ya
<7> i'm not a fan
<7> enumerating through the folder
<7> but
<12> IShell has a bunch of interfaces...
<7> i STILL think there's got to be a better way
<7> ok i'll check that out
<7> tnx
<12> there probably is...
<12> my experience with them approaches nil.
<7> heh
<7> aha.. for future reference.. it has to be a shell extending dll
<7> to do the multiple file thing
<12> there you go.
<12> and is there a template to go with your find?
<7> i donno
<7> looking now
<12> can you read c++ and translate it?
<12> http://www.codeproject.com/shell/shellextguide1.asp
<7> problem is i have the whole program coded already
<7> as an exe
<7> so..
<7> i think i'm just going to give up the Total Size feature of the program
<7> that solves it hehe
<7> i'll bookmark that link though thanks
<12> doesn't the shelldll just gather the names?
<12> send it to me too.
<12> better yet... submit it to me.
<12> http://delphi.programmer-goddess.com
<12> link at the bottom.
<7> send you w hat?
<12> that link you were bookmarking?
<12> oh that's my link...


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #delphi
or
Go to some related logs:

#beginner
#politics
remove public/pickup: Permission denied postfix
#politics
#computers
cforce and eromaxx
#worldcup
#nhl
#gentoo
#politics



Home  |  disclaimer  |  contact  |  submit quotes