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. C / C++ / MFC
  4. VC and SharedFolder on Lan

VC and SharedFolder on Lan

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
6 Posts 3 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.
  • U Offline
    U Offline
    Usman Tasleem Akshaf
    wrote on last edited by
    #1

    Hello can anyone tell me how to access shared folders on Lan for copying something in them. Be FaithFull To Your Work.

    D 1 Reply Last reply
    0
    • U Usman Tasleem Akshaf

      Hello can anyone tell me how to access shared folders on Lan for copying something in them. Be FaithFull To Your Work.

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

      Use the \\server\share convention, also known as UNC.


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      U 1 Reply Last reply
      0
      • D David Crow

        Use the \\server\share convention, also known as UNC.


        "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

        U Offline
        U Offline
        Usman Tasleem Akshaf
        wrote on last edited by
        #3

        Which class of VC6 is used for the above job , i mean getting the list of shared folders on LAN and then copying something(Daily schedule for every employee) in it.I want to do this job programmatically. Please Help. Be FaithFull To Your Work.

        D 1 Reply Last reply
        0
        • U Usman Tasleem Akshaf

          Which class of VC6 is used for the above job , i mean getting the list of shared folders on LAN and then copying something(Daily schedule for every employee) in it.I want to do this job programmatically. Please Help. Be FaithFull To Your Work.

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

          Usman Tasleem Akshaf wrote: Which class of VC6 is used for the above job Any function or method that can handle UNC will work. Usman Tasleem Akshaf wrote: i mean getting the list of shared folders on LAN... Use the WNetOpenEnum() and WNetEnumResource() pair. Usman Tasleem Akshaf wrote: ...and then copying something(Daily schedule for every employee) in it. Use CopyFile() or SHFileOperation(). Usman Tasleem Akshaf wrote: Be FaithFull To Your Work. BTW, there's only one 'l' in faithful, assuming it's not meant to be misspelled. :)


          "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

          _ 1 Reply Last reply
          0
          • D David Crow

            Usman Tasleem Akshaf wrote: Which class of VC6 is used for the above job Any function or method that can handle UNC will work. Usman Tasleem Akshaf wrote: i mean getting the list of shared folders on LAN... Use the WNetOpenEnum() and WNetEnumResource() pair. Usman Tasleem Akshaf wrote: ...and then copying something(Daily schedule for every employee) in it. Use CopyFile() or SHFileOperation(). Usman Tasleem Akshaf wrote: Be FaithFull To Your Work. BTW, there's only one 'l' in faithful, assuming it's not meant to be misspelled. :)


            "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

            _ Offline
            _ Offline
            _tasleem
            wrote on last edited by
            #5

            do we need the ip adress or need to connect to the particualar computer and then access the shares folder or only use the above functions ddd

            D 1 Reply Last reply
            0
            • _ _tasleem

              do we need the ip adress or need to connect to the particualar computer and then access the shares folder or only use the above functions ddd

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

              Have you read the documentation and the examples for the functions I mentioned?


              "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

              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