User Profile

Collapse

Profile Sidebar

Collapse
oystgoymp
oystgoymp
Last Activity: Mar 14 '11, 12:41 PM
Joined: Feb 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • oystgoymp
    started a topic Why does threading lock in different classes?

    Why does threading lock in different classes?

    Ok first I must preface this question with a disclaimer, I'm really new to threading so this may be a 'newbie' question but I searched google and couldn't find an answer. As I understand it a critical section is code that can only be accessed by one thread, the danger being one thread will overwrite a value before the other is finished and vice versa. What can you do about changes made outside of your class for example, I have a line monitoring program:...
    See more | Go to post

  • oystgoymp
    started a topic Textbox Formating c#
    in C

    Textbox Formating c#

    I am trying to make a program that emails the text of a RichTextBox. The problem is that when I send the email, the text is unformatted i.e. no line breaks, no font specifications, etc.

    I tried using the Rtf property of the RichTextBox but the email sent contains the actual rtf code and not the formatted text.

    ...
    aMessage.Body = richTextBox1.Te xt;
    smtp.Send(aMess age);

    Thanks in advance....
    See more | Go to post
No activity results to display
Show More
Working...