Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error in DBconnection Pin
N a v a n e e t h3-Feb-08 19:47
N a v a n e e t h3-Feb-08 19:47 
QuestionDateTime problem??? Pin
Neo Andreson3-Feb-08 18:17
Neo Andreson3-Feb-08 18:17 
AnswerRe: DateTime problem??? Pin
xString3-Feb-08 19:47
xString3-Feb-08 19:47 
General[Message Deleted] Pin
Neo Andreson3-Feb-08 17:33
Neo Andreson3-Feb-08 17:33 
GeneralRe: How to convert string to DateTime??? Pin
Expert Coming3-Feb-08 17:41
Expert Coming3-Feb-08 17:41 
GeneralRichtextbox color change dinamically Pin
gericooper3-Feb-08 17:12
gericooper3-Feb-08 17:12 
GeneralRe: Richtextbox color change dinamically Pin
gericooper4-Feb-08 6:07
gericooper4-Feb-08 6:07 
GeneralRe: Richtextbox color change dinamically Pin
gericooper4-Feb-08 7:03
gericooper4-Feb-08 7:03 
found the thing:

for all who is interested:
the Remove method caused the whole thing to be colored out with the same color the right code is:

<br />
                    richTextBox1.Focus();<br />
                    richTextBox1.Select(richTextBox1.Text.Length, 0);<br />
                    //richTextBox1.AppendText(s);<br />
<br />
                    richTextBox1.SelectionStart = richTextBox1.Text.Length - 2;<br />
                    richTextBox1.SelectionLength = 2;<br />
<br />
                    richTextBox1.SelectionColor = Color.Red;<br />
                    richTextBox1.SelectedText = s;<br />
                    richTextBox1.DeselectAll();<br />
                    richTextBox1.Select(richTextBox1.Text.Length, 0);<br />

GeneralA better way for DBNull Pin
Jacob Dixon3-Feb-08 15:45
Jacob Dixon3-Feb-08 15:45 
GeneralRe: A better way for DBNull Pin
Guffa3-Feb-08 16:46
Guffa3-Feb-08 16:46 
GeneralRe: A better way for DBNull Pin
PIEBALDconsult3-Feb-08 16:52
mvePIEBALDconsult3-Feb-08 16:52 
GeneralRe: A better way for DBNull Pin
Jacob Dixon3-Feb-08 17:13
Jacob Dixon3-Feb-08 17:13 
GeneralRe: A better way for DBNull Pin
Jacob Dixon3-Feb-08 16:54
Jacob Dixon3-Feb-08 16:54 
GeneralRe: A better way for DBNull Pin
Jacob Dixon3-Feb-08 16:57
Jacob Dixon3-Feb-08 16:57 
GeneralRe: A better way for DBNull Pin
Vikram A Punathambekar3-Feb-08 17:02
Vikram A Punathambekar3-Feb-08 17:02 
GeneralRe: A better way for DBNull Pin
Jacob Dixon3-Feb-08 17:05
Jacob Dixon3-Feb-08 17:05 
General[Message Deleted] Pin
Jacob Dixon3-Feb-08 17:07
Jacob Dixon3-Feb-08 17:07 
GeneralRe: A better way for DBNull Pin
Expert Coming3-Feb-08 17:39
Expert Coming3-Feb-08 17:39 
GeneralRe: A better way for DBNull Pin
Jacob Dixon3-Feb-08 18:50
Jacob Dixon3-Feb-08 18:50 
GeneralRe: A better way for DBNull Pin
Vikram A Punathambekar4-Feb-08 5:45
Vikram A Punathambekar4-Feb-08 5:45 
GeneralRe: A better way for DBNull Pin
Jacob Dixon4-Feb-08 13:40
Jacob Dixon4-Feb-08 13:40 
QuestionHow do i upload files to my ftp using C# ( Windows Application, NOT ASP) Pin
luisgrimaldo3-Feb-08 15:30
luisgrimaldo3-Feb-08 15:30 
AnswerRe: How do i upload files to my ftp using C# ( Windows Application, NOT ASP) Pin
Vikram A Punathambekar3-Feb-08 15:52
Vikram A Punathambekar3-Feb-08 15:52 
AnswerRe: How do i upload files to my ftp using C# ( Windows Application, NOT ASP) Pin
Patrick Etc.3-Feb-08 15:52
Patrick Etc.3-Feb-08 15:52 
AnswerRe: How do i upload files to my ftp using C# ( Windows Application, NOT ASP) Pin
Hamed Musavi3-Feb-08 15:53
Hamed Musavi3-Feb-08 15:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.