Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Help needed with oshell.FindFiles...

Help needed with oshell.FindFiles...

Scheduled Pinned Locked Moved Visual Basic
questionhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Invincer
    wrote on last edited by
    #1

    I am relatively new to VB, using VB6; and working on a project that needs to be able to allow someone to type into a text box a name and then click a button to have it search through a certain drive's folders for Excel or Word files that have that the name somewhere in the file. I have found some codes on the net that can do close to that, BUT I need the people using this application to be able to double-click on the file from the list of ones returned and be able to have that file open up in either Excel or Word depending on the extension. Using oshell.FindFiles seems to get me the closest to accomplishing what I want by just pulling up the Window's Serch box; but how can I make the "containing text" box stand out, or tell it to look at .xls and .doc files, and OLNLY from certain directories in a certain drive? Is oshell.FindFast what I should be trying to do this on or is there another way? Thanks for any help anyone can offer; it is mucho appreciated! CP

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups