@# Quotes DB     useful, funny, interesting





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


Comments:

<0> hello everybody, is it wise to start learning csharp without more than basic knowledge of c++ or should I study c++ first then move to csharp ?
<1> start with csharp
<1> it's great.
<0> any good manual to start with ?
<2> is there a way to prevent AppendText from displaying the text right away? I'm dumping few thousand lines to it and it's displaying them extremly slow
<2> I'm talking about RichTextBox



<3> in asp.net 2.0 i have a few directories (dir1, dir2). i need dir1 to use login.aspx as the default when someone goes to /dir1/ and dir2 to have print.aspx when someone goes to /dir2/. how can i do this without using response.redirect?
<4> hey guys
<5> I'm reading icq log file and dumping it to RichTextBox with some parts being colorized and bold. I'm using AppendText and it's way too slow, it takes 14 seconds to draw a few thousand line file
<1> yeah RichEdit isn't all that good :)
<1> do you use BeginUpdate?
<5> I tried hiding the control prior to drawing and that made it better, it was done in 6, but that's still very slow compared to 0.02 seconds it takes me to load the log and parse it. how could I speed it up?
<5> ki9a I don't see BeginUpdate in RichTextBox
<1> that's lame
<1> yeah you are right
<6> transparency 32 bit, is there a workaround?
<7> is it possible to set a custom controls opacity?
<7> I learned last night not to use the e.x,e.y in drageventargs to get the mouse position. use base.PointToClient(control.mouseposition)
<1> e.x and x.y work too
<1> but you'd have to find the caller control and use PointToClient too
<7> ya this was when draging a custom control around on a form
<7> the event args e.x,e.y where way off but im still not sure why
<7> were
<1> you need to find the caller control
<1> they're relative to the caller
<1> not "Base"
<7> ah
<4> hey guys, im writting an app, and everything was fine except i was using a while(true) loop and it was hogging resources, so i changed it to a timer, but now, the timer/function it called quits randomly, seems to happen when I call SendKeys.Send
<8> sounds like you're doing something wrong ;)



<4> lol like?
<8> no clue, never used SendKeys, and not many timers
<8> bt id stard with commenting out the SendKeys call, if thats your main suspect
<4> i did and it fixes it
<4> but i use sendkeys in other places and it works fine
<8> could be it doesnt like beeing called from another thread (if i remember correctly the timer is threaded)
<4> hmm
<7> are you using a system.forms.timer? or a system.timer cl***?
<7> create a system timer and handle the elapsed event put your send keys there maybe
<4> i think i fixed it by synchronizing it with form thread
<9> is there a built-in control that moves files that comes with a gui?
<9> second question, how can I expose additional cursors?
<9> or at least a inputbox that is built-in?
<4> how do i remove a reference from a .net project?
<1> del ?
<4> i added it by going to Project -> Add Reference
<1> expand the "References" node
<1> in the solution explorer
<1> select the one you want to delete
<4> ahh
<4> why the **** dont they have it listed under the projects properties
<1> because it's a reference
<1> files aren't listed there either
<4> c++ lists dlls there
<1> because it has no other options
<1> :)


Name:

Comments:

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






Return to #csharp
or
Go to some related logs:

voodoo bantu
#politics
Iraq General Sadar
#computers
#firebird
#beginner
arsouf
#computers
#networking
#politics



Home  |  disclaimer  |  contact  |  submit quotes