DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Search within

  1. #1
    Join Date
    Apr 2010

    Search within

    I am trying to code a search function to find documents in my program documents folder. Not on my C drive.

    Want this search to be on part of a word or whole words but only within the visual studio 2005 programs documents folder. I'm using

    Once search result found " If multiple can go to the one you want and open the document"

  2. #2
    Join Date
    Feb 2004
    Longueuil, Québec
    The Directory and DirectoryInfo classes both have a GetFiles method that accepts search patterns and can be easily used for what you are trying to do.
    Jacques Bourgeois

Similar Threads

  1. Replies: 6
    Last Post: 07-08-2006, 10:48 PM
  2. From to C#
    By Thomas Eyde in forum .NET
    Replies: 195
    Last Post: 04-12-2002, 04:51 PM
  3. A moderate view.
    By Paul Mc in forum .NET
    Replies: 214
    Last Post: 06-01-2001, 07:27 AM
  4. Why I like VB.NET
    By Tom Cabanski in forum .NET
    Replies: 74
    Last Post: 03-14-2001, 04:30 PM
  5. VB.NET: 3 points of view
    By David Kroll in forum .NET
    Replies: 33
    Last Post: 02-13-2001, 11:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center