Click here to Skip to main content
15,907,001 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralThanks Corrina but,,, Pin
Het21098-Jan-04 0:12
Het21098-Jan-04 0:12 
GeneralRe: Thanks Corrina but,,, Pin
Corinna John8-Jan-04 0:53
Corinna John8-Jan-04 0:53 
GeneralRe: Thanks Corrina but,,, Pin
Ian Darling8-Jan-04 0:59
Ian Darling8-Jan-04 0:59 
GeneralBut about groupbox... Pin
Het21098-Jan-04 2:55
Het21098-Jan-04 2:55 
GeneralRe: But about groupbox... Pin
Ian Darling8-Jan-04 3:07
Ian Darling8-Jan-04 3:07 
GeneralActiveX Dll project in Visual Basic.net Pin
iluha7-Jan-04 10:21
iluha7-Jan-04 10:21 
GeneralRe: ActiveX Dll project in Visual Basic.net Pin
iluha7-Jan-04 12:17
iluha7-Jan-04 12:17 
GeneralI Need Help Copying Files Pin
BrianReeve7-Jan-04 8:49
BrianReeve7-Jan-04 8:49 
I've been assigned the task of creating a batch file to copy a set of files from one directory to another every night. It needs to be over a windows network.

My source files are organized like this:

\\server\clients\smith\network_diagram\diagram.htm
\\server\clients\brown\network_diagram\diagram.htm
\\server\clients\johnson\network_diagram\diagram.htm
\\server\clients\doe\network_diagram\diagram.htm

Destination needs to be like this:

\\server\network_diagram\smith\diagram.htm
\\server\network_diagram\brown\diagram.htm
\\server\network_diagram\johnson\diagram.htm
\\server\network_diagram\doe\diagram.htm

I need to avoid hard coding each directory in the batch file in case we gain new clients. My problem is creating a loop in a Windows Command Batch file so I'm thinking a small VB app is the way to go. I'm not too experienced in VB at all so I would appreciate help doing a loop like the following:

For all client folders in "\\server\clients\" copy "\\server\clients\client name\diagram.htm" to "\\server\network_diagram\client name\diagram.htm"
GeneralRe: I Need Help Copying Files Pin
iluha7-Jan-04 9:40
iluha7-Jan-04 9:40 
GeneralRe: I Need Help Copying Files Pin
BrianReeve7-Jan-04 10:06
BrianReeve7-Jan-04 10:06 
GeneralShell Or Other command to open a file. Pin
jlizardo7-Jan-04 3:55
jlizardo7-Jan-04 3:55 
GeneralRe: Shell Or Other command to open a file. Pin
jlizardo7-Jan-04 4:04
jlizardo7-Jan-04 4:04 
GeneralRe: Shell Or Other command to open a file. Pin
Niels Penneman8-Jan-04 7:34
Niels Penneman8-Jan-04 7:34 
GeneralRe: Shell Or Other command to open a file. Pin
jlizardo8-Jan-04 8:25
jlizardo8-Jan-04 8:25 
GeneralRe: Shell Or Other command to open a file. Pin
Niels Penneman8-Jan-04 10:27
Niels Penneman8-Jan-04 10:27 
GeneralRe: Shell Or Other command to open a file. Pin
jlizardo9-Jan-04 3:10
jlizardo9-Jan-04 3:10 
GeneralVB.NET Database connections Pin
marclaz6-Jan-04 23:51
marclaz6-Jan-04 23:51 
GeneralRe: VB.NET Database connections Pin
Marcie Jones7-Jan-04 9:44
Marcie Jones7-Jan-04 9:44 
Generalwat is the code for matrix function(math) Pin
vnistelrooy6-Jan-04 22:30
vnistelrooy6-Jan-04 22:30 
GeneralListView repainting problem Pin
Niels Penneman6-Jan-04 11:03
Niels Penneman6-Jan-04 11:03 
QuestionHow to install kbd hook in VB Pin
Vivek Jain6-Jan-04 7:41
Vivek Jain6-Jan-04 7:41 
GeneralMulti level binding with Datagrid Pin
DC@Home6-Jan-04 6:05
DC@Home6-Jan-04 6:05 
QuestionIs the Screensaver running? Pin
Roidzo6-Jan-04 4:20
Roidzo6-Jan-04 4:20 
AnswerRe: Is the Screensaver running? Pin
Dave Kreskowiak6-Jan-04 9:40
mveDave Kreskowiak6-Jan-04 9:40 
GeneralRe: Is the Screensaver running? Pin
Roidzo6-Jan-04 17:47
Roidzo6-Jan-04 17:47 

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.