1
Vote

Copy with a different file name

description

Hi,

I tryed to use the UI_copyFilesExtension in vb.net 2010 as a user control form the toolbox.

Making a copy with the FolderDestination containing a directory =>ok.
Making a copy with the FolderDestination containing a directory and filename=>nothing happennned...

Perhap's I misunderstood?

Here's a sample of what did:

Dim srceFile As New FileInfo("C:\MTCE\TESTH264rewrap.mov")
        Dim destDir As New FileInfo("C:\MTCE" & "\TESTH264rewrap2.mov")
        Me.UI_FileCopyExtensions1.FileSource = srceFile
        Me.UI_FileCopyExtensions1.FolderDestination = destDir
        Me.UI_FileCopyExtensions1.runCopy(FileCopyExtensions.CopyFileOptions.All)
Thank's for help.

comments