how to call a standard Find and replace dialog box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ahmed Yasser
    New Member
    • Feb 2007
    • 12

    how to call a standard Find and replace dialog box

    Hi everybody,
    Can anyone tell how to call a standard "Find and Replace dialog box" while my application is at run time. Is there any embeded somewhere ?? or do i have to design one !!



    Thanks in advance.
  • SammyB
    Recognized Expert Contributor
    • Mar 2007
    • 807

    #2
    Originally posted by Ahmed Yasser
    Hi everybody,
    Can anyone tell how to call a standard "Find and Replace dialog box" while my application is at run time. Is there any embeded somewhere ?? or do i have to design one !!
    Thanks in advance.
    What application? In Excel you can use Application.Dia logs(xlDialogFo rmulaReplace), but I don't know about other apps.
    Again in Excel, the argument list for xlDialogFormula Replace is find_text, replace_text, look_at, look_by, active_cell, match_case, match_byte. HTH --Sam

    Comment

    • Ahmed Yasser
      New Member
      • Feb 2007
      • 12

      #3
      i am having a win application that i have created myself on VB.net. This application includes a treeview with lots of data, the problem is, i would like the user to call a standard Find dialog box (Ctrl+F) to jump to a specific line in the treeview for ease in searching and selection. My question is, is it possible to call such a dialog box ? i know it is , but HOW ??

      thanks for your reply anyway. :)






      Originally posted by SammyB
      What application? In Excel you can use Application.Dia logs(xlDialogFo rmulaReplace), but I don't know about other apps.
      Again in Excel, the argument list for xlDialogFormula Replace is find_text, replace_text, look_at, look_by, active_cell, match_case, match_byte. HTH --Sam

      Comment

      • SammyB
        Recognized Expert Contributor
        • Mar 2007
        • 807

        #4
        Originally posted by Ahmed Yasser
        i am having a win application that i have created myself on VB.net. This application includes a treeview with lots of data, the problem is, i would like the user to call a standard Find dialog box (Ctrl+F) to jump to a specific line in the treeview for ease in searching and selection. My question is, is it possible to call such a dialog box ? i know it is , but HOW ??

        thanks for your reply anyway. :)
        Sorry, too many VB's. I think what you want is at http://windowsforms.net/Default.aspx...dex=4&tabid=49. There is a link about 3/4 down the page for "Find/Replace Dialog Component". Yours sounds like a nice project! --Sam

        Comment

        Working...