@# 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 8



Comments:

<0> did you look into OnCreatePostStream ?#
<0> you can ***ign the stream there.
<1> Ah. No.
<0> in other case it's nil and indy makes a TStringStream
<0> now ... let's see what event is trigged when posting is complete
<1> But the stream will still have the ****ty boundries
<1> and I'll still have to edit them out in the same way
<1> It's the editing, not event triggering that's the problem
<1> I mean, it transfers Images / Text beautifully.. but EXEs get "corrupted"
<0> yes OnCommandGet is correct event
<1> I could have told you that :P
<1> I know I get the right PostData
<1> :P
<0> I don't see why you having problems at all
<1> Let me post my code
<1> ? paste



<2> Pastebin: http://www.vkarlsen.no/pastebin
<1> http://www.vkarlsen.no/pastebin/default.asp?id=7372
<3> How would I quickly insert a 10x10 black block within my html text?
<1> And http://www.vkarlsen.no/pastebin/default.asp?id=7371 is an example of the format I get it in
<0> can you also post what are UnparsedParams
<0> ok
<1> UnparsedParams = Text form of PostData basically
<1> ki9a: Table?
<4> a 1 pixel black .gif stretched to the size you want?
<4> the ways are many
<1> <table width="10" height="10" color="black"><tr><td></td></tr></table>
<3> zingbats: seems I can do it with a <div> too
<1> DIVs are nasty
<1> For anything other than JS
<5> er why do you say that
<3> indeed
<0> are you sure there aren't indy components to handle mime?
<5> div makes perfect sense with css
<0> I think it has a lot of units to parse that **** zingbats
<3> <span> doesn't seem to work
<3> and <div> requires a new line
<5> no, div is display: block, span is display: inline
<5> :P
<3> well how would I get two squares of say 10x10 one black, one green
<3> next to eachother
<3> do I really have to resort to pixesl?
<1> TByte: I said earlier how it just does it with emails.. OR adding files only
<5> you could use css and 2 span's
<0> zingbats indy supports parsing that
<1> So it works fine to ADD files to a stream TO post... and it works fine to decode email ****
<3> how?
<5> or 2 divs and css display: inline :p
<0> so is it multipart mime?
<1> I think so, yes.
<0> well, let me see
<0> indy has it already
<1> Yes, but try getting it to do what I want! I look through all the components listed RE: MIME in Indy Misc category
<3> ootje: Well it seems it's one or the other
<0> Tidmimebondary etc. looking for other compos
<0> Tidmimetable
<0> erm :P wait
<5> <div cl***="green" /><div cl***="blue" /> and css .blue, .green { display: inline; border-style: none; border-width: 0px; padding: 0px; width: 10px; height: 10px; } .green { background-color: green; } .blue {background-color: blue}
<5> etc
<3> then don't seem to show up then
<1> iddecodermime is the closest, and that just has a decode function, with NO indication of what the hell to do with the output
<5> ki9a: hm right. *thinks*
<0> yaeh it seems it's just base64 decoder
<1> Back to Square 1
<0> hmm the IdMessage ***embles multipart nicely
<3> <table border=0 cellpadding=0 cellspacing=0><tr height=3><td width=10 bgcolor="#00ccff"></td><td width=5 bgcolor="#0000ff"></td></tr></table>
<3> closest I can get
<3> but tables are ugly.
<0> with attachments, and boundaries. I wonder why a decode is not present (or I don't see it)
<1> It's Indy
<1> I mean, in theory, my code should not cause any problems at all.
<0> your parsing techniques need working on btw
<1> BWAH!
<1> Fixed it
<0> the tstringlist and all the ***ignings look bad
<1> I used a trim() at the end
<1> UGH



<0> eek
<0> trimmage
<1> Problem solved.
<1> Who needs indy, when you can do it yourself :P
<1> If I dynamically load a DLL, which contains a function that has a TStringStream as a result, will I be able to get the app to use this stream, or won't it work
<3> only if you use packages in both.
<1> Ugh.
<1> And how do I convert a stream to a str?
<6> are you still screwing with the PostStream?
<1> Nope.
<1> Now trying to work out a way to get stream data from DLL to App without nasty packages :)
<1> So I'm going to have a fiddle.
<0> guys, direct mail works from office :/ not from here.
<0> didn't even go straight to junk :/
<5> ki9a: meh gave up .. its something about empty divs collapsing or something.. try asking in #javascript :)
<5> ki9a: they usually know these things hehe
<5> it works if you have display: block, but inline screws up
<5> works as in size is correct, but breaks
<3> hehe
<3> yeah
<3> I know
<3> table works
<3> I'llh ave to use that for now.
<7> http://www.americanbean.org/HealthNutrition/Cardiovascular%20Release.htm
<5> ki9a: i'm quite sure it will work with div's also, but i think you'll have to do some other tricks which end up pretty much like a table would anyhow
<8> yo
<7> hey Vibes
<6> ki9a: whatcha trying to do?
<3> I was trying to show two squares
<3> next to eachother.
<6> any specific params of those squares?
<3> width, height, color
<3> :)
<1> SO How do I convert a stream to a string without using TStringStream
<6> ki9a: how many ways do you want to be able to do it? :P
<3> the easiest.
<6> <div style="width: 50px; height: 50px; background-color: black; display: inline;"></div>
<6> <div style="position: absolute; width: 50px; height: 50px; background-color: green;"></div>
<3> so if you use absolute
<6> just move it into some cl*** names
<3> but don't actually give a position
<3> it works ?
<6> well it works for me :P
<6> you might want to clear: right on the second div
<3> cool. I'll try this.
<6> or you could just do this
<6> <div style="float: left; width: 50px; height: 50px; background-color: green;"></div>
<6> <div style="float: left; width: 50px; height: 50px; background-color: black;"></div>
<5> that doesnt work inline with other stuff
<5> for some reason
<6> sure it does
<5> or well; because of float
<6> you just put some clears in the wrong spot
<5> ya clear ight to it
<6> put a <div style="clear:none"> around it
<5> yeah but that sort of puts it back at table levels :)
<6> people rely on clear too much these days, it screws up siblings too much
<6> i am planning a trip around europe near the end of the year, does anyone have any suggestions on which places are a must to go?
<3> In December?
<3> Nothing much.
<3> expect rain
<3> Amsterdam is always nice to see, if it's not raining or cold, but it will probably be like than then.
<3> Rome is nice too
<3> Paris maybe, if you like the Eifeltower, and the french.
<5> northern europe is all cold and snow and ****, so avoid that unless you want that crap
<1> Whats the best component to use if I want to store "Name" (string) and a respective "value" (string)
<1> (non VCL)
<5> a hash?
<5> theres a few hash implementations..
<1> Hash = array?
<3> what about TstringList name/value pairs?
<5> hash is an "***ociative array"
<5> like some sort of key instead of a sequential index
<6> i have heard rome is a must


Name:

Comments:

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






Return to #delphi
or
Go to some related logs:

soepeana gonzales
#computers
Task Manager is disabled by administrator
geekbox htpc os
#politics
#cph
#computers
cccccombo breaker!
#stocks
indy quakenet pascal



Home  |  disclaimer  |  contact  |  submit quotes