Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / September 2003



Tip: Looking for answers? Try searching our database.

Can somebody give me some code chunk to emulate SPY++ like activity ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FarriJ - 27 Sep 2003 15:43 GMT
Can somebody give me some code chunk to emulate SPY++ like activity ? I need
to hookup all application windows that are running in the windows terminal
environment and log all the errors that are raised by those windows. So that
i can seperate the error logging code from the rest of the application code
and also making it generalized and seperate.

Any comments are appreciated.

FarriJ

Thanks
Klaus H. Probst - 28 Sep 2003 19:53 GMT
That's not something you can do with VB if I'm understanding your question
correctly. Also, define "errors raised by those windows". What is an "error"
to you in the context of a window procedure? There's no such thing as
"raising an error" there.

Signature

____________________
Klaus H. Probst, MVP
  http://www.vbbox.com/

Please post/reply to the newsgroup(s)

> Can somebody give me some code chunk to emulate SPY++ like activity ? I
> need
[quoted text clipped - 10 lines]
>
> Thanks
FarriJ - 30 Sep 2003 07:02 GMT
well what i have understand is that on the same pc, any exe can get a handle
to any window that is exisiting in the same domain. And the PeekMessage API
can give us the messages passing to that window 's handle. So is there any
way to identify the errors and log them with the seperatly running instance
of the application without directly / explicitly telling some dll /component
to do so in the actual source code.

This will create a highly decoupled error logging soultion, if possiable.

Thanks
FarriJ

> That's not something you can do with VB if I'm understanding your question
> correctly. Also, define "errors raised by those windows". What is an "error"
[quoted text clipped - 15 lines]
> >
> > Thanks
Martin Wildam - 29 Sep 2003 21:52 GMT
Not sure if this answers your question and not sure if there is some common
function used that I forgot to include - but maybe helps.

Greetings, Martin Wildam.

> Can somebody give me some code chunk to emulate SPY++ like activity ? I need
> to hookup all application windows that are running in the windows terminal
[quoted text clipped - 7 lines]
>
> Thanks
FarriJ - 30 Sep 2003 06:58 GMT
so sorry i am, can't download the classfiles, these files are filtered by my
firewall. Can u plz do me a favor ... copy paste the file's content / zip
and attach it again ...

A big thanks.
FarriJ

> Not sure if this answers your question and not sure if there is some common
> function used that I forgot to include - but maybe helps.
[quoted text clipped - 15 lines]
> >
> > Thanks
Martin Wildam - 29 Sep 2003 21:55 GMT
Sorry forgotten the API declarations...

> Can somebody give me some code chunk to emulate SPY++ like activity ? I need
> to hookup all application windows that are running in the windows terminal
[quoted text clipped - 7 lines]
>
> Thanks
Martin Wildam - 30 Sep 2003 20:59 GMT
Here it is again. I cannot send binaries myself, so trying as .txt. HTH.

> Sorry forgotten the API declarations...
>
[quoted text clipped - 12 lines]
> >
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.