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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to search for a file..

How to search for a file..

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestionlearning
22 Posts 5 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.
  • S Shah Satish

    Hi!!! thanks for your reply..One more question please.. I have dialogue box and it contain name of the section and path of the section..like.. " Webdocu section " " Path of the section " DEMO70E D:\Progsample\ProdV70E\ProdMast\ DEMO70D C:\project\webdoku\ SAMPLE D:\Prog. sample\ProdV70E\WebDoku\ DEMO80D E:\blabla\webdoku\ DEMO60E D:\Progsample\WebDoku\ WT1 \\rekafs\Projekte_USB\myfolder\9_WebDoku\ WT2 \\rekafs\Projekte_USB\myfolder\9_WebDoku\ Each section having own "wg_ll.txt" file.. for exapmple...If i will seclect DEMO70E then it will open WG_LL.txt file of that section (DEMO70E)... Can u tell me how i can find WG_LL.txt file??..I know its somewhere D:\Progsample\ProdV70E\ProdMast\ in this path but dont know exact location.I also want path of that file. So how can i find wg_LL.txt file with path for selected section..?? Shah Satish

    H Offline
    H Offline
    Hamid Taebi
    wrote on last edited by
    #21

    You can use of CFileDialogfor see a file is your purpose?


    WhiteSky


    1 Reply Last reply
    0
    • S Shah Satish

      Hi!! I think my question is not clear..Ok looks once again.. I have dialogue box and it contain name of the section and path of the section..like.. Webdocu section Path of the section DEMO70E D:\Progsample\ProdV70E\ProdMast\ DEMO70D C:\project\webdoku\ SAMPLE D:\Prog. sample\ProdV70E\WebDoku\ DEMO80D E:\blabla\webdoku\ DEMO60E D:\Progsample\WebDoku\ WT1 \\rekafs\Projekte_USB\myfolder\9_WebDoku\ WT2 \\rekafs\Projekte_USB\myfolder\9_WebDoku\ Each section having own "wg_ll.txt" file.. for exapmple...If i will seclect DEMO70E then it will open WG_LL.txt file of that section (DEMO70E)... Can u tell me how i can find WG_LL.txt file??..I know its somewhere D:\Progsample\ProdV70E\ProdMast\ in this path but dont know exact location.I also want path of that file. So how can i find wg_LL.txt file with path for selected section..?? Shah Satish

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #22

      I'm usually pretty good at deciphering, but you're still not making any sense. On more than one occasion, you stated things like, "I know the file ZZZ is in the XXX folder. I want to search that folder for file ZZZ." Why? If you already know that a file exists in a given folder, there's nothing to search, and no need to check if the file exists. Do you see why this is so confusing? You are asking for something that is completely unnecessary, or you are not asking for what you really want. In any case, we know nothing of things like "dialogue box and it contain name of the section and path of the section," "Webdocu section Path of the section," and "DEMO70E." Those are relevant only to you.


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      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