Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
GeneralRe: Deleting Folder...... Please Help! Pin
Rajdeep.NET is BACK1-Apr-09 23:21
Rajdeep.NET is BACK1-Apr-09 23:21 
GeneralRe: Deleting Folder...... Please Help! Pin
MumbleB2-Apr-09 0:04
MumbleB2-Apr-09 0:04 
GeneralRe: Deleting Folder...... Please Help! Pin
Pete O'Hanlon2-Apr-09 1:32
mvePete O'Hanlon2-Apr-09 1:32 
AnswerRe: Deleting Folder...... Please Help! Pin
0x3c02-Apr-09 6:03
0x3c02-Apr-09 6:03 
Questionfiles created by process Pin
shefa' isied1-Apr-09 22:41
shefa' isied1-Apr-09 22:41 
AnswerRe: files created by process Pin
musefan1-Apr-09 22:58
musefan1-Apr-09 22:58 
GeneralRe: files created by process Pin
shefa' isied1-Apr-09 23:08
shefa' isied1-Apr-09 23:08 
GeneralRe: files created by process Pin
musefan1-Apr-09 23:19
musefan1-Apr-09 23:19 
well as applications like winword.exe can create multiple file types the best option would be to find what file types has winword.exe as its default application.

so you should try looping all registered file types and if there default application is the one you want (i.e. winword) then you add that to the list. maybe you can adapt this [^]code to help you.

of course you will need to get the actaully filepath of the process to test for a match.


then once you have you list of file types you can perform a search for those filetypes.

though you code just hard code you process -> filetype list and then just do the search part which is prob closer to want you were hoping for (i.e. not having to do much)

Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: files created by process Pin
Eddy Vluggen1-Apr-09 23:38
professionalEddy Vluggen1-Apr-09 23:38 
GeneralRe: files created by process Pin
musefan1-Apr-09 23:55
musefan1-Apr-09 23:55 
QuestionHow to Create Component in c#? Pin
crrajaguru1-Apr-09 21:14
crrajaguru1-Apr-09 21:14 
AnswerRe: How to Create Component in c#? PinPopular
musefan1-Apr-09 21:55
musefan1-Apr-09 21:55 
GeneralRe: How to Create Component in c#? Pin
crrajaguru1-Apr-09 23:47
crrajaguru1-Apr-09 23:47 
RantRe: How to Create Component in c#? Pin
musefan1-Apr-09 23:07
musefan1-Apr-09 23:07 
GeneralRe: How to Create Component in c#? Pin
Tom Deketelaere1-Apr-09 23:44
professionalTom Deketelaere1-Apr-09 23:44 
GeneralRe: How to Create Component in c#? Pin
musefan1-Apr-09 23:55
musefan1-Apr-09 23:55 
GeneralRe: How to Create Component in c#? Pin
Henry Minute2-Apr-09 1:37
Henry Minute2-Apr-09 1:37 
QuestionHi Pin
Denver Thomas1-Apr-09 20:56
Denver Thomas1-Apr-09 20:56 
AnswerRe: Hi Pin
N a v a n e e t h1-Apr-09 21:44
N a v a n e e t h1-Apr-09 21:44 
AnswerRe: Hi Pin
Eddy Vluggen1-Apr-09 21:48
professionalEddy Vluggen1-Apr-09 21:48 
QuestionProblem in DataGrid Control Pin
saksp1-Apr-09 20:53
saksp1-Apr-09 20:53 
AnswerRe: Problem in DataGrid Control Pin
Michael Bookatz1-Apr-09 22:38
Michael Bookatz1-Apr-09 22:38 
QuestionHelp(Tapi) Pin
sreeraj.a.171-Apr-09 20:40
sreeraj.a.171-Apr-09 20:40 
AnswerRe: Help(Tapi) Pin
N a v a n e e t h1-Apr-09 21:43
N a v a n e e t h1-Apr-09 21:43 
Questionplease help me Pin
sreeraj.a.171-Apr-09 20:39
sreeraj.a.171-Apr-09 20:39 

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.