Click here to Skip to main content
15,897,704 members
Home / Discussions / ASP.NET
   

ASP.NET

 
JokeRe: My Teacher Pin
Not Active2-Sep-09 11:25
mentorNot Active2-Sep-09 11:25 
GeneralRe: My Teacher Pin
Christian Graus2-Sep-09 11:42
protectorChristian Graus2-Sep-09 11:42 
GeneralConflicting Thought Pin
Abdulhafeezo2-Sep-09 10:49
Abdulhafeezo2-Sep-09 10:49 
GeneralRe: Conflicting Thought Pin
Abhijit Jana2-Sep-09 19:53
professionalAbhijit Jana2-Sep-09 19:53 
QuestionCopy file from from one folder to another folder with rename Pin
Hemant_ec482-Sep-09 10:23
Hemant_ec482-Sep-09 10:23 
AnswerRe: Copy file from from one folder to another folder with rename Pin
Christian Graus2-Sep-09 11:12
protectorChristian Graus2-Sep-09 11:12 
AnswerRe: Copy file from from one folder to another folder with rename Pin
Abhishek Sur2-Sep-09 11:15
professionalAbhishek Sur2-Sep-09 11:15 
AnswerRe: Copy file from from one folder to another folder with rename Pin
Abhijit Jana2-Sep-09 18:51
professionalAbhijit Jana2-Sep-09 18:51 
Hemant_ec48 wrote:
how can achive this task in vb.net....

Here is the way.
using 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


But,as CG suggested this has nothing to with ASP.NET. You should always ask the question in proper fourm to get the better answer.

Thanks !

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.

Questionhow to keep the text in a textbox shown? Pin
Seraph_summer2-Sep-09 9:55
Seraph_summer2-Sep-09 9:55 
AnswerRe: how to keep the text in a textbox shown? Pin
Abhishek Sur2-Sep-09 11:07
professionalAbhishek Sur2-Sep-09 11:07 
QuestionAJAX - Return multiple message from hidden file ( ASP or PHP ) Pin
bijan.8k2-Sep-09 9:33
bijan.8k2-Sep-09 9:33 
AnswerRe: AJAX - Return multiple message from hidden file ( ASP or PHP ) Pin
Abhishek Sur2-Sep-09 11:27
professionalAbhishek Sur2-Sep-09 11:27 
Question[Message Deleted] Pin
iserbrain2-Sep-09 4:19
iserbrain2-Sep-09 4:19 
AnswerRe: How to using webcam for live video on asp.net website ? Pin
Abhijit Jana2-Sep-09 4:29
professionalAbhijit Jana2-Sep-09 4:29 
AnswerRe: [Message Deleted] Pin
Abhijit Jana2-Sep-09 7:53
professionalAbhijit Jana2-Sep-09 7:53 
QuestionSaving the Uploaded File to the Web Server!! Pin
Sr...Frank2-Sep-09 3:44
Sr...Frank2-Sep-09 3:44 
AnswerRe: Saving the Uploaded File to the Web Server!! Pin
Blikkies2-Sep-09 4:19
professionalBlikkies2-Sep-09 4:19 
GeneralRe: Saving the Uploaded File to the Web Server!! Pin
Sr...Frank2-Sep-09 4:29
Sr...Frank2-Sep-09 4:29 
GeneralRe: Saving the Uploaded File to the Web Server!! Pin
Abhijit Jana2-Sep-09 4:33
professionalAbhijit Jana2-Sep-09 4:33 
GeneralRe: Saving the Uploaded File to the Web Server!! Pin
Blikkies2-Sep-09 4:36
professionalBlikkies2-Sep-09 4:36 
GeneralRe: Saving the Uploaded File to the Web Server!! Pin
Abhijit Jana2-Sep-09 4:42
professionalAbhijit Jana2-Sep-09 4:42 
AnswerRe: Saving the Uploaded File to the Web Server!! Pin
Abhijit Jana2-Sep-09 4:32
professionalAbhijit Jana2-Sep-09 4:32 
Questionhow to set property for a user control from cs file Pin
ansriharsha2-Sep-09 1:24
ansriharsha2-Sep-09 1:24 
AnswerRe: how to set property for a user control from cs file Pin
Not Active2-Sep-09 2:33
mentorNot Active2-Sep-09 2:33 
AnswerRe: how to set property for a user control from cs file [modified] Pin
r a m e s h2-Sep-09 2:59
r a m e s h2-Sep-09 2: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.