Results 1 to 7 of 7
  1. #1
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need to use other search method (Word 2000)

    I have an application that also runs on a server and due to security requirements the search fails to find text in a word document.

    With Application.FileSearch
    .NewSearch
    .LookIn = file_path ' file_path contains the path to the files
    .SearchSubFolders = False
    .TextOrProperty = "Some text"
    .MatchTextExactly = False
    .fileName = "*." & "a File extension"

    If .Execute > 0 Then ' Here it just returns 0 because of the disable search feature has been enabled as a group policy


    So is there somethign else I can use in place of Word's search feature?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Need to use other search method (Word 2000)

    I'm not sure I understand why the search is failing. Do you get a specific error message?

    (I can't think of any other way to search the contents of files using the built-in features of VBA/Word/Office.)

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Need to use other search method (Word 2000)

    Do you really have files named with a suffix of '.a file extension' or are you protecting us from seeing this secure information?
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #4
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Need to use other search method (Word 2000)

    Are these all Word docs you're wanting to search? Are you looking for an alternative application to do the search?

    Alan

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Need to use other search method (Word 2000)

    Hi Jim:
    Take a look on the Software Board at <post#=20,401>post 20,401</post: >. Wilbur is extremely fast & will find text in all files.

  6. #6
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Need to use other search method (Word 2000)

    Sorry guys I don't know what I was thinking when I wrote " a file extension", these are word docs (.doc). The Wilbur suggestion I am looking at but this application is a commerical product so I don't think it could be used.

  7. #7
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Need to use other search method (Word 2000)

    I can think of a few <img src=/S/free.gif border=0 alt=free width=30 height=15>ware applications, but I'm not sure how they'd deal with the .DOC format. Try them and see, I guess.

    Agent Ransack is a free tool for finding files and information on your hard drive fast and efficiently. When searching the contents of files Agent Ransack displays the text found so you can quickly browse the results without having to separately open each file!

    For your intended usage:
    Tip 4: You can specify the initial values for Agent Ransack through command line parameters. There is even an option to switch off the GUI (Graphical User Interface) and save the results directly to a file, useful when integrating Agent Ransack with other applications. To see a list of valid command line parameters run:
    AgentRansack.exe -h

    Others of possible interest:
    ReplaceEm
    InfoRapid Search & Replace
    Search & Replace 98

    Alan

Posting Permissions

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