Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Compare types in a plugin API Pin
led mike25-Oct-06 8:55
led mike25-Oct-06 8:55 
GeneralRe: Compare types in a plugin API Pin
Jost Pedro26-Oct-06 0:00
Jost Pedro26-Oct-06 0:00 
Questionhow to deploy my app (vs2005) with crystalreport XI ? Pin
hdv21225-Oct-06 7:07
hdv21225-Oct-06 7:07 
AnswerRe: how to deploy my app (vs2005) with crystalreport XI ? Pin
bearfx25-Oct-06 8:33
bearfx25-Oct-06 8:33 
QuestionHow to debug when I'm developing an outlook add-in using COM? [modified] Pin
OctopusThu25-Oct-06 6:42
OctopusThu25-Oct-06 6:42 
QuestionHowTo make a dll, which can be called by VBA Pin
Ariadne25-Oct-06 6:29
Ariadne25-Oct-06 6:29 
AnswerRe: HowTo make a dll, which can be called by VBA Pin
bearfx25-Oct-06 8:35
bearfx25-Oct-06 8:35 
QuestionArray List Pin
iamnew2C#25-Oct-06 6:15
iamnew2C#25-Oct-06 6:15 
How would I return the below in an array list object I started to stub it out but I confused myself. Any advice, help.

public void Execute() {
string strRoot = ConfigurationSettings.AppSettings["Root"];
DirectoryInfo dir = new DirectoryInfo(strRoot);
//Pass the Directory for displaying the contents
getDirsFiles(dir);

}


public void getDirsFiles(DirectoryInfo d)
{
//create my array of files using FileInfo object
FileInfo [] files;
//This will passed in or set to find zip files
//get all files for the current directory
string strFileType = ConfigurationSettings.AppSettings["FileType"];
files = d.GetFiles(strFileType);

//iterate through the directory and print the files
foreach (FileInfo file in files)
{
//get details of each file using file object
String fileName = file.FullName;
String fileSize = file.Length.ToString();
String fileExtension =file.Extension;
String fileCreated = file.LastWriteTime.ToString();

}

//get sub-folders for the current directory
DirectoryInfo [] dirs = d.GetDirectories("*.*");
foreach (DirectoryInfo dir in dirs)
if (dirs.Length > 0)
{
{

getDirsFiles(dir);
}
}
}


public ArrayList GetGrantFileInfo(NameValueCollection psRootDirs, string psFileType, string psIncludeFilter, string psExcludeFilter, ArrayList oFolder, CriteriaType oCriteriaType)
{
//Impliment GetGrantFileInfo()

// How do I take the code above and put it in here???? HELP.

ArrayList arrGrantInfo = new ArrayList();
GrantFileInfo oGrantFileInfo = new GrantFileInfo()
arrGrantInfo.Add(oGrantFileInfo);

return arrGrantInfo;

}
QuestionMS Web Browser control Pin
CoolASL25-Oct-06 5:42
CoolASL25-Oct-06 5:42 
AnswerRe: MS Web Browser control Pin
Judah Gabriel Himango25-Oct-06 5:48
sponsorJudah Gabriel Himango25-Oct-06 5:48 
GeneralRe: MS Web Browser control Pin
CoolASL25-Oct-06 6:13
CoolASL25-Oct-06 6:13 
AnswerRe: MS Web Browser control Pin
Martin2325-Oct-06 6:15
Martin2325-Oct-06 6:15 
QuestionLINQ (C# 3.0) Pin
Alvaro Mendez25-Oct-06 5:02
Alvaro Mendez25-Oct-06 5:02 
AnswerRe: LINQ (C# 3.0) Pin
Judah Gabriel Himango25-Oct-06 5:31
sponsorJudah Gabriel Himango25-Oct-06 5:31 
GeneralRe: LINQ (C# 3.0) Pin
Alvaro Mendez25-Oct-06 6:21
Alvaro Mendez25-Oct-06 6:21 
GeneralRe: LINQ (C# 3.0) Pin
Judah Gabriel Himango25-Oct-06 17:06
sponsorJudah Gabriel Himango25-Oct-06 17:06 
QuestionExcel and Windows Services Pin
gantww25-Oct-06 4:50
gantww25-Oct-06 4:50 
AnswerRe: Excel and Windows Services Pin
seee sharp25-Oct-06 21:48
seee sharp25-Oct-06 21:48 
Questionhow to change values of Crystal Reports in vc# 2005? Pin
hdv21225-Oct-06 4:42
hdv21225-Oct-06 4:42 
AnswerRe: how to change values of Crystal Reports in vc# 2005? Pin
bearfx25-Oct-06 8:28
bearfx25-Oct-06 8:28 
QuestionFooter in Datagridview Pin
hekim1325-Oct-06 4:29
hekim1325-Oct-06 4:29 
AnswerRe: Footer in Datagridview Pin
sam#25-Oct-06 7:58
sam#25-Oct-06 7:58 
QuestionProper way to handle single instance application and multithreading Pin
Dan Neely25-Oct-06 3:47
Dan Neely25-Oct-06 3:47 
AnswerRe: Proper way to handle single instance application and multithreading Pin
ejuanpp25-Oct-06 4:23
ejuanpp25-Oct-06 4:23 
GeneralRe: Proper way to handle single instance application and multithreading Pin
Dan Neely25-Oct-06 4:56
Dan Neely25-Oct-06 4:56 

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.