Click here to Skip to main content
15,894,106 members
Home / Discussions / C#
   

C#

 
QuestionCut,Copy ,Paste Problem... Pin
Rahul DSG12-Aug-09 3:00
Rahul DSG12-Aug-09 3:00 
AnswerRe: Cut,Copy ,Paste Problem... Pin
ricmil4212-Aug-09 3:46
ricmil4212-Aug-09 3:46 
GeneralRe: Cut,Copy ,Paste Problem... Pin
Rahul DSG12-Aug-09 18:38
Rahul DSG12-Aug-09 18:38 
GeneralRe: Cut,Copy ,Paste Problem... Pin
ricmil4213-Aug-09 3:26
ricmil4213-Aug-09 3:26 
GeneralRe: Cut,Copy ,Paste Problem... Pin
Rahul DSG22-Aug-09 3:11
Rahul DSG22-Aug-09 3:11 
GeneralRe: Cut,Copy ,Paste Problem... Pin
ricmil4224-Aug-09 3:19
ricmil4224-Aug-09 3:19 
GeneralRe: Cut,Copy ,Paste Problem... Pin
Rahul DSG30-Aug-09 18:55
Rahul DSG30-Aug-09 18:55 
AnswerRe: Cut,Copy ,Paste Problem... Pin
Andrew Rissing12-Aug-09 3:47
Andrew Rissing12-Aug-09 3:47 
QuestionConnectionString Problem with MSACCESS Pin
M Riaz Bashir12-Aug-09 2:19
M Riaz Bashir12-Aug-09 2:19 
AnswerRe: ConnectionString Problem with MSACCESS Pin
Mike Ellison12-Aug-09 2:43
Mike Ellison12-Aug-09 2:43 
AnswerRe: ConnectionString Problem with MSACCESS Pin
Luc Pattyn12-Aug-09 2:54
sitebuilderLuc Pattyn12-Aug-09 2:54 
QuestionLimit checkedListBox for maximum values [modified] Pin
bonzaiholding12-Aug-09 2:08
bonzaiholding12-Aug-09 2:08 
AnswerRe: Limit checkedListBox for maximum values Pin
Ashfield12-Aug-09 2:09
Ashfield12-Aug-09 2:09 
GeneralRe: Limit checkedListBox for maximum values Pin
bonzaiholding12-Aug-09 2:11
bonzaiholding12-Aug-09 2:11 
AnswerRe: Limit checkedListBox for maximum values Pin
Alan N12-Aug-09 2:34
Alan N12-Aug-09 2:34 
GeneralRe: Limit checkedListBox for maximum values Pin
bonzaiholding12-Aug-09 2:39
bonzaiholding12-Aug-09 2:39 
Questionbrowse my computer Pin
Vivek Vijayan12-Aug-09 2:02
Vivek Vijayan12-Aug-09 2:02 
AnswerRe: browse my computer Pin
musefan12-Aug-09 2:09
musefan12-Aug-09 2:09 
QuestionUnable To Serialize TabControl . Pin
shaktisinh12-Aug-09 1:50
shaktisinh12-Aug-09 1:50 
AnswerRe: Unable To Serialize TabControl . Pin
Mike Ellison12-Aug-09 2:46
Mike Ellison12-Aug-09 2:46 
AnswerRe: Unable To Serialize TabControl . Pin
Hristo-Bojilov12-Aug-09 5:16
Hristo-Bojilov12-Aug-09 5:16 
GeneralRe: Unable To Serialize TabControl . Pin
shaktisinh13-Aug-09 0:32
shaktisinh13-Aug-09 0:32 
GeneralRe: Unable To Serialize TabControl . [modified] Pin
Hristo-Bojilov14-Aug-09 0:35
Hristo-Bojilov14-Aug-09 0:35 
QuestionHow to get the File Path using WMI Pin
Jacobb Michael12-Aug-09 1:28
Jacobb Michael12-Aug-09 1:28 
Hi all !

When the file is closed, i just want to know the file path.

I am using as bellow :

ManagementEventWatcher mngWatch;
WqlEventQuery wqlEQ;
wqlEQ = new WqlEventQuery("SELECT * FROM Win32_ProcessStartTrace");
wqlEQ.EventClassName = "Win32_ProcessStartTrace";
mngWatch = new ManagementEventWatcher(wqlEQ);
mngWatch.EventArrived += new EventArrivedEventHandler(mngWatch_EventArrived);
mngWatch.Start();

from this event creator i can get an Exe path not a File path :

1) in the Process.MainModule name contains the Exe path of the notepad
rather i want the real path from where the file is opened
2) For more clarity if i open a file form D:\\test.txt then i when the file is closed, i want to get that FILE PATH


can some one help me how to do that.


thanks a lot

Regards
.....Jack

AnswerRe: How to get the File Path using WMI Pin
Dave Kreskowiak12-Aug-09 4:51
mveDave Kreskowiak12-Aug-09 4:51 

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.