Click here to Skip to main content
15,887,585 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Dbms project on construction management Frontend vb and backend msaccess Pin
Member 1054825025-Jan-14 1:53
Member 1054825025-Jan-14 1:53 
GeneralRe: Dbms project on construction management Frontend vb and backend msaccess Pin
Dave Kreskowiak25-Jan-14 5:33
mveDave Kreskowiak25-Jan-14 5:33 
AnswerRe: Dbms project on construction management Frontend vb and backend msaccess Pin
Mycroft Holmes25-Jan-14 0:25
professionalMycroft Holmes25-Jan-14 0:25 
QuestionModules and Classes Pin
Biplob Singha Shee22-Jan-14 20:38
Biplob Singha Shee22-Jan-14 20:38 
AnswerRe: Modules and Classes Pin
Mycroft Holmes22-Jan-14 21:36
professionalMycroft Holmes22-Jan-14 21:36 
AnswerRe: Modules and Classes Pin
Bernhard Hiller23-Jan-14 22:08
Bernhard Hiller23-Jan-14 22:08 
QuestionFind and copy files Pin
big_D22-Jan-14 12:41
big_D22-Jan-14 12:41 
AnswerRe: Find and copy files Pin
Garth J Lancaster22-Jan-14 14:42
professionalGarth J Lancaster22-Jan-14 14:42 
not exactly sure what your issue is

Surely you are just going to use a combination of

FileSystem.GetDirectories() and/or
FileSystem.GetFiles()

So one approach may be
a) (Manually) export the ###### from your spreadsheet to a file, with one ###### per line
b) open and read the file from (a)
c) for every line read (trim it) and form two strings, one AB_..., one ABC_...
d) use GetDirectories() and each of the strings from (c)

or, depending on how many ####### variations you have, you could use a regex - get all directories from a root/start point and check if they match

(AB|ABC)_(#####1|#####2|#####3...)_businessname

using the regex

or - read the file of ###### into a list, get a matching list of 'AB*' directories, extract the '######' bit depending on wether its AB or ABC at the front of the string, and see if the ###### bit is in the list

there are multiple approaches - I'd probably use the last one, depending on how many ###### there are - if there are 'lots', I might not use a straight list, but something with a faster lookup time

'g'
AnswerRe: Find and copy files Pin
Eldar Zeynalov24-Jan-14 19:07
Eldar Zeynalov24-Jan-14 19:07 
QuestionCopy / Paste Multiple Textboxes Pin
10kbps22-Jan-14 5:02
10kbps22-Jan-14 5:02 
AnswerRe: Copy / Paste Multiple Textboxes Pin
Dave Kreskowiak22-Jan-14 6:02
mveDave Kreskowiak22-Jan-14 6:02 
AnswerRe: Copy / Paste Multiple Textboxes Pin
Richard MacCutchan22-Jan-14 6:03
mveRichard MacCutchan22-Jan-14 6:03 
AnswerRe: Copy / Paste Multiple Textboxes Pin
Eddy Vluggen22-Jan-14 8:34
professionalEddy Vluggen22-Jan-14 8:34 
GeneralRe: Copy / Paste Multiple Textboxes Pin
10kbps22-Jan-14 9:13
10kbps22-Jan-14 9:13 
AnswerRe: Copy / Paste Multiple Textboxes Pin
Eddy Vluggen23-Jan-14 7:50
professionalEddy Vluggen23-Jan-14 7:50 
Questionconvert visual basic 6.0 to visual basic 2010 Pin
kikyamelia18-Jan-14 18:48
kikyamelia18-Jan-14 18:48 
AnswerRe: convert visual basic 6.0 to visual basic 2010 Pin
Peter Leow18-Jan-14 19:11
professionalPeter Leow18-Jan-14 19:11 
GeneralRe: convert visual basic 6.0 to visual basic 2010 Pin
kikyamelia18-Jan-14 20:21
kikyamelia18-Jan-14 20:21 
GeneralRe: convert visual basic 6.0 to visual basic 2010 Pin
Peter Leow18-Jan-14 20:36
professionalPeter Leow18-Jan-14 20:36 
AnswerRe: convert visual basic 6.0 to visual basic 2010 Pin
Eldar Zeynalov24-Jan-14 19:03
Eldar Zeynalov24-Jan-14 19:03 
AnswerRe: convert visual basic 6.0 to visual basic 2010 Pin
TheComputerMan31-Jan-14 5:07
TheComputerMan31-Jan-14 5:07 
QuestionSub reports Pin
Tsunamipudip17-Jan-14 2:10
Tsunamipudip17-Jan-14 2:10 
QuestionDelegates & Pointers Pin
Synth_Boy16-Jan-14 2:14
Synth_Boy16-Jan-14 2:14 
AnswerRe: Delegates & Pointers Pin
Paulo Zemek16-Jan-14 3:17
mvaPaulo Zemek16-Jan-14 3:17 
GeneralRe: Delegates & Pointers Pin
Synth_Boy16-Jan-14 4:20
Synth_Boy16-Jan-14 4:20 

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.