Hi,
I am NOW doing a short application that installs a program, without the program being embedded into the application.
I have found myself at a loss for code, now that I cannont figure out how I can COPY the entire contents of a folder to a new folder, WITHOUT 'deleting' the contents of the original folder.
So far, I have used variables and environmentpaths to create the folder connection, however, I still cnnot do any thing without the code.
Anybody out there have any ideas?
RedexProGamma
0
Newbie Poster
Recommended Answers
Jump to PostSee if this helps.
1 ButtonPublic Class Form1 Private sTemp1, sTemp2 As String Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click sTemp1 = "" : sTemp2 = "" Dim fbd As New FolderBrowserDialog With fbd .Description = "Select a folder to copy the content FROM..." …
Jump to PostMaybe that is what your are looking for:
my.Computer.FileSystem.CopyDirectory("sourceDir", "destinationDir",false)
Jump to Postwhat do you mean with "it doesn't show up"?
The "My" namespace should be in express available as well.
All 9 Replies
codeorder
197
Nearly a Posting Virtuoso
RedexProGamma
0
Newbie Poster
GeekByChoiCe
152
Practically a Master Poster
Featured Poster
RedexProGamma
0
Newbie Poster
GeekByChoiCe
152
Practically a Master Poster
Featured Poster
RedexProGamma
0
Newbie Poster
GeekByChoiCe
152
Practically a Master Poster
Featured Poster
RedexProGamma
0
Newbie Poster
codeorder
197
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.