@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> gm
<1> y.
<2> hey, does anybody happened to know the equivalent method call for a set property, to be p***ed into a delegate?
<2> like cl***.a is aproperty and i want to call the seting of a to a delegate
<1> you want to put a property setter in a delegatE?
<2> yeah
<1> new MyDelegate(mycl***.set_PropertyName)



<2> sweet thanks
<3> if i have a byte[] of some text in a given encoding, whats the easiest way of converting it to a String ?
<1> Encoding.UTF8.GetString?
<3> hmm *looks*
<3> ah sweet, let's try that
<4> hehe
<3> sweet
<3> i'm probably re-inventing the wheel again, but are there any cl***es to read info from .ttf files already?
<4> what kinda info?
<3> well, the string table etc
<5> hi ppl
<3> i've almost written it myself from scratch now anyhow..
<1> doubtful
<3> just need to get this char decoding right
<5> I have one thread that needs to be delayed before next process is run..but sleep stopes the UI from updating..making everything happen at once..even the stuff before the sleep
<5> how do i implement a timer?
<4> you use Thread.Sleep() to sleep your thread for an amout of time
<4> and yes, it blocks, hence why you dont use it in ui threads ;)
<5> :/
<4> try BackgroundWorker, that's a fairly nice implementation of a worker thread
<5> can i paste a few lines of code to show how i implement a timer...i cant get it to work
<4> which has events of interacting with an ui thread
<5> 10 lines
<4> www.rafb.net/paste
<5> ty
<5> http://www.rafb.net/paste/results/vQ3J6w20.html



<6> I am trying to remove white spaces from a string. why is not working: String columnName = rdr.GetName(c).Trim();
<5> becaus u have to specify what cgar it has to remove..i think
<1> trim removes the spaces from the left and the right
<1> not the middle?
<6> yes from start and end of the string
<5> use IndexOf(' ')
<5> then stringbuilder to remove that space and make new string
<6> can i avaid using stringbuilder? i do not make any other changes to a string
<5> brb
<1> try p***ing to trim which chars you want to be removed
<1> like '\t' and ' '
<5> or
<5> create lop that checkes every char..and add to new string...newS=+ oldS[place]..and if u get to the ' ' just do nothing
<5> *loop
<6> thanks for the options for trimming a string
<6> i just do not get why it is so complex compared with PHP :p
<5> there is prob a way..i just cant think of it now
<5> easy 1
<6> i tried this method and i didn't worked for me: http://msdn2.microsoft.com/en-us/library/d4tt83f9(VS.80).aspx
<1> what chars did you p*** it
<1> and are you 100% sure the string starts and ends with tat?
<6> i tried this: String delim = "\n\t ";
<6> String columnName = rdr.GetName(c).Trim(delim.ToCharArray());
<1> what's in ColumnName now ?
<6> the string were unchanged
<1> zzz time.
<6> another quick question, how would i print on screen string "?>"?
<6> this ain't working: Response.Write("?>");
<6> nevermind, going to sleep
<6> gn


Name:

Comments:

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






Return to #csharp
or
Go to some related logs:

#linuxhelp
#beginner
#bsd
carter thermoquad dodge 360
#netbsd
#beginner
wireless pseudopseudohypoparathyroidism
passes toplist darkstar
#politics
#beginner



Home  |  disclaimer  |  contact  |  submit quotes