Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need help with translation from VB.Net Pin
royg775-May-05 1:02
royg775-May-05 1:02 
QuestionCrystal Report throw and exception?? Pin
MJay4-May-05 18:55
MJay4-May-05 18:55 
AnswerRe: Crystal Report throw and exception?? Pin
MBGeorge4-May-05 19:13
MBGeorge4-May-05 19:13 
GeneralC# ArrayList Pin
Mitchell McCollum4-May-05 18:00
Mitchell McCollum4-May-05 18:00 
GeneralRe: C# ArrayList Pin
Mathew Hall4-May-05 18:38
Mathew Hall4-May-05 18:38 
GeneralSVG DOM Pin
Victor Boctor4-May-05 16:28
Victor Boctor4-May-05 16:28 
GeneralScreen Scraping Pin
Anonymous4-May-05 16:26
Anonymous4-May-05 16:26 
GeneralRe: Screen Scraping Pin
keith maddox5-May-05 5:42
keith maddox5-May-05 5:42 
This is a perticularly troublesome issue since you are dealing with a windows application you want to scrape the data from. You can get the window handle! It is kind of involved but you can get it from it's location, or, you can get it from the module handle but you'll need to use windows API which involves some interop. In the end, you might not even be able to get the information depending on if standard windows controls are used or not. Assuming you have the window handle and that the data you are getting is in a standard list box, you can get at it. You mentioned picures though and I know of no non-convoluted way to scrape that. You can get a binary image right off the screen but the window will need to be made topmost, but what if another window overlaps between the time you bring it to the top and you start scraping? Screen scraping is generally reserved for application where data is in text that is rendered to a destination that supports reading it back as text. In the GUI world you'll need to rely on asking some control for that information and that may or may not be possible, depending on the control which rendered it.

If possible, I'd look at getting at the data in some other way, perhaps its storage medium?

Probably not much help but...

Generalplay movi file by c# Pin
abugalib4-May-05 15:22
abugalib4-May-05 15:22 
GeneralRe: play movi file by c# Pin
MoustafaS5-May-05 0:55
MoustafaS5-May-05 0:55 
Generalmultiple same taskbarnotifier in C# Pin
dwark1064-May-05 14:57
dwark1064-May-05 14:57 
GeneralAdding HTML Files to Solution Pin
C.S.4-May-05 14:38
C.S.4-May-05 14:38 
GeneralHelp with class hierarchy Pin
ICustomTypeDescriptor4-May-05 14:07
ICustomTypeDescriptor4-May-05 14:07 
GeneralRe: Help with class hierarchy Pin
Marc Clifton4-May-05 14:52
mvaMarc Clifton4-May-05 14:52 
GeneralRe: Help with class hierarchy Pin
Claudio Grazioli4-May-05 21:39
Claudio Grazioli4-May-05 21:39 
GeneralRe: Help with class hierarchy Pin
ICustomTypeDescriptor4-May-05 22:39
ICustomTypeDescriptor4-May-05 22:39 
GeneralStop Word Application programmatically Pin
rikpak4-May-05 12:54
rikpak4-May-05 12:54 
GeneralRe: Stop Word Application programmatically Pin
Fernando Soto4-May-05 14:51
Fernando Soto4-May-05 14:51 
Generaldropdown controls Pin
leesamanth4-May-05 11:26
leesamanth4-May-05 11:26 
GeneralRe: dropdown controls Pin
MoustafaS4-May-05 13:01
MoustafaS4-May-05 13:01 
GeneralRe: dropdown controls Pin
leesamanth4-May-05 19:26
leesamanth4-May-05 19:26 
GeneralRe: dropdown controls Pin
MoustafaS5-May-05 1:21
MoustafaS5-May-05 1:21 
GeneralRe: dropdown controls Pin
leesamanth5-May-05 7:43
leesamanth5-May-05 7:43 
GeneralC# IDE question Pin
hongheo764-May-05 11:11
hongheo764-May-05 11:11 
GeneralRe: C# IDE question Pin
MoustafaS4-May-05 13:54
MoustafaS4-May-05 13:54 

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.