Search within vb.net


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Search within vb.net

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    12

    Search within vb.net

    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 vb.net.

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

  2. #2
    Join Date
    Feb 2004
    Location
    Longueuil, Québec
    Posts
    577
    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
    JBFI
    http://www3.sympatico.ca/jbfi/homeus.htm

Similar Threads

  1. Replies: 6
    Last Post: 07-08-2006, 11:48 PM
  2. From VB.net to C#
    By Thomas Eyde in forum .NET
    Replies: 195
    Last Post: 04-12-2002, 05:51 PM
  3. A moderate view.
    By Paul Mc in forum .NET
    Replies: 214
    Last Post: 06-01-2001, 08: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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