Thread: launching a search with parameters

  1. #1
    Registered User
    Join Date
    Jan 2002

    Question launching a search with parameters

    Does anyone know how to launch a search with paramters from within a program?

    for example :
    LaunchSearch( ALL_DRIVES, " *.cpp " );

    The result would be a windows search launched without further user input.

    Thx, I'd appreciate it.

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer
    Look at the thread, someone has done most of it for you.

    Some code using FindFirstFile()

    a * is any number of characters

    a ? is one character
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Jan 2002


    Yes, I might be able to do that with the FindFirstFile and what not... but the problem is that I need the actual 'windows search' dialog box to come up and start searching without any questions.

    I know it seems a little odd, but I merely want to act as a router that takes in input and then starts the 'windows search' to finish the job.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Allowing my search function to search sub directories!
    By Queatrix in forum Windows Programming
    Replies: 10
    Last Post: 09-30-2005, 04:54 PM
  2. Search Engine - Binary Search Tree
    By Gecko2099 in forum C Programming
    Replies: 9
    Last Post: 04-17-2005, 02:56 PM
  3. Question 39: Quicksort vs Linear Search
    By Kleid-0 in forum A Brief History of
    Replies: 2
    Last Post: 04-17-2005, 11:03 AM
  4. Bible program - search functionality
    By ChadJohnson in forum A Brief History of
    Replies: 8
    Last Post: 04-15-2005, 11:33 PM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM