Click here to Skip to main content
15,895,667 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Refactor! Add-in Pin
Joshua Quick16-Feb-06 14:33
Joshua Quick16-Feb-06 14:33 
GeneralRe: Refactor! Add-in Pin
Al Ortega16-Feb-06 15:02
Al Ortega16-Feb-06 15:02 
GeneralRe: Refactor! Add-in Pin
Kevin McFarlane17-Feb-06 8:37
Kevin McFarlane17-Feb-06 8:37 
GeneralRe: Refactor! Add-in Pin
Joshua Quick17-Feb-06 9:01
Joshua Quick17-Feb-06 9:01 
QuestionRun a crystal report via VB.Net Pin
directred16-Feb-06 8:31
directred16-Feb-06 8:31 
AnswerRe: Run a crystal report via VB.Net Pin
alien viper16-Feb-06 15:51
alien viper16-Feb-06 15:51 
AnswerRe: Run a crystal report via VB.Net Pin
KreativeKai17-Feb-06 2:44
professionalKreativeKai17-Feb-06 2:44 
QuestionHow do i manipulate Windows file system in VB.NET? Pin
Slow Learner16-Feb-06 7:44
Slow Learner16-Feb-06 7:44 
Hi,
I am trying to move a bunch of Folders, subfolders and files in the sub folders to a different location on the server for maintainance purpose. And my code should check if the folder exists and if not it should create one.

here is my code

Imports System.IO

Dim OriginalImagesSource As String() = Directory.GetDirectories("C:\Inetpub\wwwroot\images\")
Dim SourceDirectory as string() = Directory.GetDirectories("C:\Images\")

For Each directory in Directory.Getdirectory
For each file in Director
... check if folder exists in SourceDirectory else create the folder
and move the files...
next
Next
But not sure how to proceed from this point.

could some one please help me here?

Thanks
-L

AnswerRe: How do i manipulate Windows file system in VB.NET? Pin
KaptinKrunch16-Feb-06 15:22
KaptinKrunch16-Feb-06 15:22 
QuestionProxy for VB.NET 2005 Pin
Devraj Raut16-Feb-06 3:37
Devraj Raut16-Feb-06 3:37 
QuestionReset the current directory to AppPath on exit Pin
DJLarZ16-Feb-06 2:40
DJLarZ16-Feb-06 2:40 
AnswerRe: Reset the current directory to AppPath on exit Pin
malharone16-Feb-06 7:27
malharone16-Feb-06 7:27 
AnswerRe: Reset the current directory to AppPath on exit Pin
Joshua Quick16-Feb-06 7:43
Joshua Quick16-Feb-06 7:43 
AnswerRe: Reset the current directory to AppPath on exit Pin
Dave Kreskowiak16-Feb-06 10:31
mveDave Kreskowiak16-Feb-06 10:31 
AnswerRe: Reset the current directory to AppPath on exit Pin
DJLarZ16-Feb-06 21:07
DJLarZ16-Feb-06 21:07 
Questionvb.net 3003 draw tool Pin
yorickthefirst15-Feb-06 23:43
yorickthefirst15-Feb-06 23:43 
AnswerRe: vb.net 3003 draw tool Pin
Dave Kreskowiak16-Feb-06 1:30
mveDave Kreskowiak16-Feb-06 1:30 
QuestionHow to get path to the CD drive Pin
Chatura Dilan15-Feb-06 23:17
Chatura Dilan15-Feb-06 23:17 
AnswerRe: How to get path to the CD drive Pin
alien viper15-Feb-06 23:42
alien viper15-Feb-06 23:42 
GeneralRe: How to get path to the CD drive Pin
Chatura Dilan16-Feb-06 15:33
Chatura Dilan16-Feb-06 15:33 
GeneralRe: How to get path to the CD drive Pin
alien viper16-Feb-06 16:14
alien viper16-Feb-06 16:14 
QuestionCrystal Reports Pin
microuser_200015-Feb-06 22:29
microuser_200015-Feb-06 22:29 
QuestionDatagrid > DataTable > Excel Pin
RichardBerry15-Feb-06 22:02
RichardBerry15-Feb-06 22:02 
AnswerRe: Datagrid > DataTable > Excel Pin
KreativeKai17-Feb-06 4:08
professionalKreativeKai17-Feb-06 4:08 
AnswerRe: Datagrid > DataTable > Excel Pin
Dean_SF17-Feb-06 7:44
Dean_SF17-Feb-06 7:44 

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.