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. Other Discussions
  3. IT & Infrastructure
  4. call file in computers net

call file in computers net

Scheduled Pinned Locked Moved IT & Infrastructure
questiontutorial
5 Posts 2 Posters 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    How can I in my code open a file that exist in the net???? It is not enough to call for example: f:/*.*:confused: miri

    L M 2 Replies Last reply
    0
    • L Lost User

      How can I in my code open a file that exist in the net???? It is not enough to call for example: f:/*.*:confused: miri

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      :((

      1 Reply Last reply
      0
      • L Lost User

        How can I in my code open a file that exist in the net???? It is not enough to call for example: f:/*.*:confused: miri

        M Offline
        M Offline
        Mukkie
        wrote on last edited by
        #3

        OK, here is the answer. To open the file over the mapped network drive, or any other drive You can use for example functions/classes like: CreateFile CFile (class) fopen If You want to list files, take a closer look at: FindFirstFile FindNextFile FindClose

        L 1 Reply Last reply
        0
        • M Mukkie

          OK, here is the answer. To open the file over the mapped network drive, or any other drive You can use for example functions/classes like: CreateFile CFile (class) fopen If You want to list files, take a closer look at: FindFirstFile FindNextFile FindClose

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Thank you very much !!!;) ;) I'm workink in c++. can you write me how I do it exactly if I want for example to open the file : f:/data/test.data :confused:

          M 1 Reply Last reply
          0
          • L Lost User

            Thank you very much !!!;) ;) I'm workink in c++. can you write me how I do it exactly if I want for example to open the file : f:/data/test.data :confused:

            M Offline
            M Offline
            Mukkie
            wrote on last edited by
            #5

            //to open file for write: CFile file; CFileException e; if (!file.Open(strPathName, CFile::modeCreate | CFile::modeWrite , &e)) {} Search in help for more samples. Simply enter CFile/CreateFile in search tab, and look for cpp files. There will be sample for sure.

            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