Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

gavin lane

@gavin lane
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is it possible to load a form in an outlook addin
    G gavin lane

    Have found the answer....yes

    C# design question

  • Is it possible to load a form in an outlook addin
    G gavin lane

    I want to call a form from an outlook addin....is it possible? if not what can I use as a custom ui in this application?

    C# design question

  • Textarea.Value Commit issue
    G gavin lane

    Hi I am trying to use a textarea control to load some text into. I am then asking the user to update the text and then finally save it to a file. The problem is that the text saved is always the loaded text and not the text updated by the user.... Load code TextReader tr = new StreamReader(textpath); textarea1.Value = tr.ReadToEnd(); tr.Close(); Save code string fullpath = string.Format("{0}RichTextFile{1}.doc", tempfile, dateTime.Now.ToFileTime().ToString()); string htmltext = textarea1.Value; htmltext = htmltext.Replace("<STRONG>", "<B>"); htmltext = htmltext.Replace("</STRONG>", "</B>"); htmltext = htmltext.Replace("<EM>", "<I>"); htmltext = htmltext.Replace("</EM>", "</I>"); StreamWriter sw = new StreamWriter(fullpath); sw.Write(htmltext); sw.WriteLine("</html>"); sw.Close(); Any idea why it is not saving the updated text? :confused:

    ASP.NET help html question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups