Click here to Skip to main content
16,012,468 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do I merge 2 WAV files ? Pin
Benny_Lava16-Oct-07 1:14
Benny_Lava16-Oct-07 1:14 
QuestionCopy files from one folder to another Pin
VB.Net Developer15-Oct-07 2:57
VB.Net Developer15-Oct-07 2:57 
AnswerRe: Copy files from one folder to another Pin
Tamimi - Code15-Oct-07 3:33
Tamimi - Code15-Oct-07 3:33 
AnswerRe: Copy files from one folder to another Pin
Eric Georgiades15-Oct-07 3:36
Eric Georgiades15-Oct-07 3:36 
GeneralRe: Copy files from one folder to another Pin
VB.Net Developer15-Oct-07 3:40
VB.Net Developer15-Oct-07 3:40 
GeneralRe: Copy files from one folder to another Pin
Eric Georgiades15-Oct-07 3:50
Eric Georgiades15-Oct-07 3:50 
GeneralRe: Copy files from one folder to another Pin
VB.Net Developer15-Oct-07 3:53
VB.Net Developer15-Oct-07 3:53 
AnswerRe: Copy files from one folder to another Pin
Abhijit Jana15-Oct-07 4:25
professionalAbhijit Jana15-Oct-07 4:25 
This Function can do for u !!!! Laugh | :laugh: Laugh | :laugh:

Imports System.IO
Public Sub CopyDir(ByVal strSrc As String, ByVal strDest As String)
Dim dirInfo As New DirectoryInfo(strSrc)
Dim fsInfo As FileSystemInfo
If Not Directory.Exists(strDest) Then
Directory.CreateDirectory(strDest)
End If
For Each fsInfo In dirInfo.GetFileSystemInfos
Dim strDestFileName As String = Path.Combine(strDest, fsInfo.Name)
If TypeOf fsInfo Is FileInfo Then
File.Copy(fsInfo.FullName, strDestFileName, True)
'This will overwrite files that already exist
Else
CopyDir(fsInfo.FullName, strDestFileName)
End If
Next
End Sub

While Copying , if the source dir content large file your GUI will be hanged,,,, so u can use Background worker along with that methods

Happy Programming
-----
Abhijit

GeneralRe: Copy files from one folder to another Pin
VB.Net Developer16-Oct-07 1:42
VB.Net Developer16-Oct-07 1:42 
QuestionDownload Attachment from Email using VB,NET [modified] Pin
VB.Net Developer15-Oct-07 2:56
VB.Net Developer15-Oct-07 2:56 
AnswerRe: Download Attachment from Email using VB,NET Pin
DigiOz Multimedia15-Oct-07 10:12
DigiOz Multimedia15-Oct-07 10:12 
QuestionWeird memory problem Pin
Skippy II15-Oct-07 2:47
Skippy II15-Oct-07 2:47 
AnswerRe: Weird memory problem [modified] Pin
Dave Kreskowiak15-Oct-07 6:08
mveDave Kreskowiak15-Oct-07 6:08 
GeneralRe: Weird memory problem Pin
Skippy II15-Oct-07 6:52
Skippy II15-Oct-07 6:52 
GeneralRe: Weird memory problem Pin
Dave Kreskowiak15-Oct-07 8:06
mveDave Kreskowiak15-Oct-07 8:06 
GeneralRe: Weird memory problem Pin
Skippy II15-Oct-07 9:03
Skippy II15-Oct-07 9:03 
GeneralRe: Weird memory problem Pin
Luc Pattyn15-Oct-07 9:27
sitebuilderLuc Pattyn15-Oct-07 9:27 
GeneralRe: Weird memory problem Pin
Skippy II15-Oct-07 10:26
Skippy II15-Oct-07 10:26 
GeneralRe: Weird memory problem Pin
Luc Pattyn15-Oct-07 10:55
sitebuilderLuc Pattyn15-Oct-07 10:55 
GeneralRe: Weird memory problem Pin
Skippy II15-Oct-07 11:22
Skippy II15-Oct-07 11:22 
GeneralRe: Weird memory problem Pin
Dave Kreskowiak15-Oct-07 12:15
mveDave Kreskowiak15-Oct-07 12:15 
Questionfind motherboard id using system.win32 class in vb.net Pin
jayesh l lolariya15-Oct-07 1:26
professionaljayesh l lolariya15-Oct-07 1:26 
AnswerRe: find motherboard id using system.win32 class in vb.net Pin
vidya11015-Oct-07 1:34
vidya11015-Oct-07 1:34 
GeneralRe: find motherboard id using system.win32 class in vb.net Pin
jayesh l lolariya15-Oct-07 21:11
professionaljayesh l lolariya15-Oct-07 21:11 
GeneralRe: find motherboard id using system.win32 class in vb.net Pin
vidya11015-Oct-07 22:59
vidya11015-Oct-07 22:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.