Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Re: asp.net and Flash and .htmlText

Cow Forums : Adobe Flash
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: asp.net and Flash and .htmlText
by luthervondude on Mar 16, 2007 at 6:41:13 pm

In case anyone else would find this useful... here is the asp.net solution to writing .htmlText to a text file.


Request.Form("formID") = "eventNews" Then
Dim objWriter As StreamWriter
objWriter = File.CreateText(Server.MapPath("/textFiles/event-news.txt"))
Dim strTest As String = Server.HtmlEncode(Request.Form("eventNews_txt")) <--------- Server.HtmlEncode is the important part
strTest = "events=" & strTest
objWriter.Write(strTest)
objWriter.Close()


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:
  • asp.net and Flash and .htmlText by luthervondude on Mar 16, 2007 at 12:27:16 pm
    • Re: asp.net and Flash and .htmlText by luthervondude on Mar 16, 2007 at 6:41:13 pm




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]