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#
  4. CopyFile

CopyFile

Scheduled Pinned Locked Moved C#
csharpquestion
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.
  • T Offline
    T Offline
    toto_2010
    wrote on last edited by
    #1

    I working in solution vb.net for convert to C#. my question about this " CopyFile(My.Application.Info.DirectoryPath & "\Ids", "Z:\ID", 1)". wath the function for this and how do that in C#? . thnks

    R L 3 Replies Last reply
    0
    • T toto_2010

      I working in solution vb.net for convert to C#. my question about this " CopyFile(My.Application.Info.DirectoryPath & "\Ids", "Z:\ID", 1)". wath the function for this and how do that in C#? . thnks

      R Offline
      R Offline
      Rajesh Anuhya
      wrote on last edited by
      #2

      Use System.IO Name Space System.IO.File.Copy (SourceFilename,TragetFilename); Cheers

      Rajesh B --> A Poor Workman Blames His Tools <--

      1 Reply Last reply
      0
      • T toto_2010

        I working in solution vb.net for convert to C#. my question about this " CopyFile(My.Application.Info.DirectoryPath & "\Ids", "Z:\ID", 1)". wath the function for this and how do that in C#? . thnks

        R Offline
        R Offline
        Rajesh Anuhya
        wrote on last edited by
        #3

        Search in GOOGLE before posting question ., See how sweet is this... :-O :-O File Cpy in C#[^] Cheers :thumbsup::thumbsup:

        Rajesh B --> A Poor Workman Blames His Tools <--

        1 Reply Last reply
        0
        • T toto_2010

          I working in solution vb.net for convert to C#. my question about this " CopyFile(My.Application.Info.DirectoryPath & "\Ids", "Z:\ID", 1)". wath the function for this and how do that in C#? . thnks

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

          You could probably just put it in a VB.net/C# converter..

          T 1 Reply Last reply
          0
          • L Lost User

            You could probably just put it in a VB.net/C# converter..

            T Offline
            T Offline
            toto_2010
            wrote on last edited by
            #5

            I do that but no tchinge

            L 1 Reply Last reply
            0
            • T toto_2010

              I do that but no tchinge

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

              I'm not sure what that means

              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