Non-web scraping?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to scrape text off of a form. I can find tons of info on web page
scraping, but barely anything about scraping off of winforms. Is there a
tutorial out there about scraping forms via the windows API?
 
Hopefully you get an answer from someone that knows this better, but in
essence you have to fund the handle of the main window, then get the list of
child controls, then look at each one, make sure it has the info you want,
and get the info. The devil is in the details of course, specially since
this is all C-based code, you probably would be better off writing a C/C++
routine in a dll to do this and then calling your routine from C#, rather
than making all those calls with C#, you will spend a lot of time worrying
whether or not you are calling the API correctly in addition to what you are
trying to accomplish.
 
Thanks for the reply. I know I'll be p/invoking my ass off; I'm hoping to
get some details on the functions I'll need to call...
 
Back
Top