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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Spellcheck code

Spellcheck code

Scheduled Pinned Locked Moved ASP.NET
csharp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rockram
    wrote on last edited by
    #1

    Provide me Spellcheck code in C# for web Applications(VS2005) Immediately

    C 1 Reply Last reply
    0
    • R rockram

      Provide me Spellcheck code in C# for web Applications(VS2005) Immediately

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      rockram wrote:

      Provide me Spellcheck code in C# for web Applications(VS2005) Immediately

      I can only assume this is a joke.

      Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

      E R 2 Replies Last reply
      0
      • C Christian Graus

        rockram wrote:

        Provide me Spellcheck code in C# for web Applications(VS2005) Immediately

        I can only assume this is a joke.

        Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

        E Offline
        E Offline
        eyeseetee
        wrote on last edited by
        #3

        I dont think this is a joke, sounds like the normal way outsourced coders ask questions on this forum :-D

        We are not a Code Charity

        C 1 Reply Last reply
        0
        • E eyeseetee

          I dont think this is a joke, sounds like the normal way outsourced coders ask questions on this forum :-D

          We are not a Code Charity

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          First post from this user, it seemed more extreme than usual, I think it was someone trolling.

          Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

          1 Reply Last reply
          0
          • C Christian Graus

            rockram wrote:

            Provide me Spellcheck code in C# for web Applications(VS2005) Immediately

            I can only assume this is a joke.

            Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

            R Offline
            R Offline
            rockram
            wrote on last edited by
            #5

            Thank you for your reply i do have a C# code on Spellcheck can u help me to get rid of errors: The Code follow below: using System; using System.IO; using System.Data; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; partial class Default2 : System.Web.UI.Page { private string[] strDictArray; private bool boolDictionaryLoaded = false; private int intErrors = 0; protected void Page_Load(object sender, System.EventArgs e) { int iCurrentCount = 0; string[] arrWords; string strCompleteOriginal = ""; int iWordCount = 0; string strAlternative = ""; int i = 0; if (Strings.Trim(Request.QueryString("txtContent")) == "") { return; // TODO: might not be correct. Was : Exit Sub } else { strCompleteOriginal = Strings.Trim(Request.QueryString("txtContent")); } if (!IsPostBack) { iCurrentCount = 0; iWordCount = 0; intErrors = 0; hfOriginalString.Value = strCompleteOriginal; hfCurrentCount.Value = "0"; arrWords = Strings.Split(strCompleteOriginal, " "); iWordCount = arrWords.Length; hfWordCount.Value = iWordCount; hfErrors.Value = "0"; } else { arrWords = Strings.Split(hfOriginalString.Value, " "); iCurrentCount = hfCurrentCount.Value; intErrors = int.Parse(hfErrors.Value); } txtCurrent.Value = arrWords(iCurrentCount); if (Request.Form("cmdCancel") == "Stop") { arrWords = Strings.Split(hfOriginalString.Value, " "); iWordCount = hfWordCount.Value; string strReplace = hfFinal.Value; int j = 0; for (j = iCurrentCount; j <= iWordCount - 1; j++) { strReplace += arrWords(j) + " "; } intErrors -= 1; stopChecking("frmSpellCheck", "txtContent", strReplace); return; // TODO: might not be correct. Was : Exit Sub } if (Request.Form("cmdNext") == "Next") { arrWords = Strings.Split(hfOriginalString.Value, " "); iWordCount = hfWordCount.Value; if (txtManual.Value == "") { arrWords(iCurrentCount) = lbSuggestions.SelectedValue; hfFinal.Value += lbSuggestions.SelectedVal

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

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