TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ashokan Elumalai
NA
4
0
Trigger the process events using Process Id
Mar 19 2008 1:28 AM
Hi..
I am able to get the process (as object) running in the sysetm through process id. I need to trigger the event that corresponds to the process (object) i got. Note that the Process object i get is not started by me or started in separate application.
In my application, i need to get the object and the trigger of the process events - like process.Exited.
code snippet,
AddHandler gService.toolProc.Exited, AddressOf IsProcessCompleted
gService.toolProc = Process.GetProcessById(processID)
gService.toolProc.EnableRaisingEvents = True
Thanks in advance,
Regards,
Ashokan
Reply
Answers (
0
)
Organize a list in Crescent/Decrescent mode
Schedulers