|
-
May 9th, 2002, 07:01 AM
#1
Thread Starter
Frenzied Member
System.Diagnostics.Process..?
In the old days when I could use APi and not have to worry this would be easy... but anyway
Does anyone know of a way to use .net to subclass the events of certian modules loaded into a process.I don't know a hook or something.. damn i'm tired....
Magiaus
If I helped give me some points.
-
May 9th, 2002, 10:25 AM
#2
Addicted Member
I wanted to subclass a Form with my user control to get mouse events, and here is what I did to get around the issue.
I declared a Form object withevents, set it to the form I wanted and then used its event handlers within my usercontrol object.
Maybe something like this can work for you , too.
That which does not kill us, only makes us stronger. 
-
May 9th, 2002, 01:23 PM
#3
Thread Starter
Frenzied Member
i wish it were that easy
what i am after is an outside process, I can attach to it with the system.diagnostics.Process but I can't do anything except close it and monitor it's events and make logs. I actually need to filter its incoming and outgoing tcp/ip packets and be able to modify them if need be in an event. I am working on doing it in vb6 now but i wanted to do it in .net.
thx
---------------------------------------------------------------------------
man i need to proof read this stuff i had some major errors
---------------------------------------------------------------------------
Last edited by Magiaus; May 9th, 2002 at 04:47 PM.
Magiaus
If I helped give me some points.
-
May 9th, 2002, 04:42 PM
#4
Addicted Member
Like you said... in the old days this would have been easy.
Good luck!
That which does not kill us, only makes us stronger. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|