CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: VB search

  1. #1
    Join Date
    Nov 1999
    Posts
    10

    VB search

    Can anyone give me an idea of how to use VB to search a computer for a particular file, and to save the path to a string?

    Thanks.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: VB search

    you can use VB's Dir function to (recursively) scan the directories for a file
    or
    use the FindFirstFile/FindNextFile APIs
    or
    use the SearchPath API (if you search for executables)
    there are probably numerous other methods...


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured