Results 1 to 7 of 7

Thread: Comparing Texts

  1. #1

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Comparing Texts

    Dear All,
    I have two text boxes.I want to compare these contents in a speeder way.The compare method should check for the spaces also.Which is the best and speedy method.

  2. #2
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Comparing Texts

    is there any prob with strcomp?
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  3. #3
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Comparing Texts

    VB Code:
    1. If StrComp("hey", "hey", vbBinaryCompare) = 0 Then MsgBox "Same String", vbInformation

  4. #4

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Comparing Texts

    Is it posible to compare a text with a capacity of 1 mb thorugh RTB

  5. #5

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Comparing Texts

    Any suggestions?

  6. #6
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Comparing Texts

    Um... If RichText1.Text = RichText2.Text?

  7. #7

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Comparing Texts

    How to highlight the mismatch charcter in the second rich text box

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width