Click here to Skip to main content
12,828,639 members (55,604 online)


QuestionC# select part of file name Pin
classy_dog7-Oct-12 17:00
memberclassy_dog7-Oct-12 17:00 
AnswerRe: C# select part of file name Pin
Abhinav S7-Oct-12 18:47
mvpAbhinav S7-Oct-12 18:47 
AnswerRe: C# select part of file name Pin
Pete O'Hanlon7-Oct-12 21:17
protectorPete O'Hanlon7-Oct-12 21:17 
QuestionC# search for specific folder in directory Pin
classy_dog7-Oct-12 11:19
memberclassy_dog7-Oct-12 11:19 
In a C# 2008 /2010 application, I need to write code to acomplish the following tasks:

1. Will search a file directory path to locate a specified folder. The specfic folder name will look like: Company name1(trannumber). Basically the folder structure name is the company name, with paraenthesis with a transction number.

2. Within the selected folder, I need to pick the excel files where the names look like the following:



Basically I need to pick the summ.xlsx part of the file name. I do not want the company name. I do not want to pick the *.xlsx only since there will be other .xlsx files in the directory that I do not need to work with.

Thus can you tell me how to accomplish my goal and/or point me to a reference I can use to help me accomplish this task?
AnswerRe: C# search for specific folder in directory Pin
Ravi Bhavnani7-Oct-12 16:36
memberRavi Bhavnani7-Oct-12 16:36 
Questioninvoke DoubleClick event Pin
jrahma7-Oct-12 10:03
memberjrahma7-Oct-12 10:03 
AnswerRe: invoke DoubleClick event Pin
JF20157-Oct-12 10:12
memberJF20157-Oct-12 10:12 
GeneralRe: invoke DoubleClick event Pin
BobJanova9-Oct-12 1:07
memberBobJanova9-Oct-12 1:07 
QuestionC# linq with 3 tables Pin
sc steinhayse7-Oct-12 8:56
membersc steinhayse7-Oct-12 8:56 
AnswerRe: C# linq with 3 tables Pin
Aasif Chanandin8-Oct-12 6:11
memberAasif Chanandin8-Oct-12 6:11 

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.

Advertise | Privacy | Mobile
Web01 | 2.8.170326.1 | Last Updated 29 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid