Microsoft find / replace dialog control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paulers

    #1

    Microsoft find / replace dialog control

    Hello,

    I downloaded the Microsoft find and replace sample control for vb.net
    and I am struggling with getting it to work. I do not know anything
    about event handling (yet) and I believe that is why it is not working.
    I have a main menu set up in my application and I can launch the
    control but the find and replace functions are not working. Does anyone
    know of a good online resource or website that has a good toutorial
    that can explain events and how to handle them? I am looking to figure
    out how to write this on my own I just need a nudge in the right
    direction. Thanks for your time.

  • Herfried K. Wagner [MVP]

    #2
    Re: Microsoft find / replace dialog control

    "Paulers" <SuperGh0d@gmai l.com> schrieb:[color=blue]
    > I downloaded the Microsoft find and replace sample control for vb.net[/color]

    Could you post the link where you downloaded the sample?

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Paulers

      #3
      Re: Microsoft find / replace dialog control

      Sure it's



      Comment

      • Jim In Valley Stream

        #4
        Re: Microsoft find / replace dialog control


        While testing the VB.NET application it failed with the following
        message:

        An unhandled exception of type 'System.Argumen tException' occurred in
        findreplace.dll

        Additional information: '-1' is not a valid value for 'start'.


        This was caused when I tried to find text while going "UP" in the text
        box and the text was not found.

        The fix is easy. Change line 702 in the file FindReplaceDial og.vb

        The code originally reads as: If foundLocation >= 0 Then

        Change it to: If foundLocation > 0 Then


        --
        Jim In Valley Stream
        ------------------------------------------------------------------------
        Jim In Valley Stream's Profile: http://www.hightechtalks.com/m151
        View this thread: http://www.hightechtalks.com/t2193652

        Comment

        Working...