Re: Auto Read another apps form contents
- From: "jerry_ys" <jerryys@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 17:49:01 -0800
thanks mr. unreliable. here are the details. the app that needs to obtain
text content/
images is a windows pgm that will be written in vb6 using XP os. The donor
pgm.
has sotware installed on the desktop, but links up to a server using the
internet.
i'm not entirely sure if the donor pgm uses the browser, but i assume it would
use the browser to some extent. The key is i would be limited to obtaining
this info
only from what is available on my computer. Say can i read aqn image of their
window and make out the text content on it, etc. By the way if a solution
exists
i understand vb will probably have to use api. i'm more looking for pseudo
code
with a few comments. thanks again.
"mr_unreliable" wrote:
> hi Jerry,
>
> If you are a novice programmer, this could get a bit tricky.
>
> 1. If "over the internet" means that you are reading the results in a
> browser, expecially Internet Explorer, then that would be the easiest
> case. You either start an instance (CreateObject) or "latch-on" to an
> instance (GetObject) of IE. Then you can get to the internals of the
> page you are viewing, via the "document object model". That is, you
> can read the contents of any item (tag) via the DOM.
>
> 2. If you are viewing the information via a normal windows app, that
> can be more tricky. If the information is appearing in "old" windows
> controls (static or textbox, for example) then there api calls that
> allow you to read the contents (like wm_gettext).
>
> 3. If you are viewing the information in a windows app, which is using
> "newer" controls (i.e., the "Chicago" controls introduced in win95) then
> there are no api's that will read the information in those controls,
> across process boundaries. There are some (very) sophisticated
> techniques for this, (such as "shared-memory" or "code injection") but
> this stuff is not for the "faint-of-heart".
>
> Your best bet may be to pay some "middle-ware" contractor to write an
> interface for you.
>
> cheers, jw
>
> jerry_ys wrote:
> > Perhaps someone can show me the technology required to perform the following
> > using vb6 as the core language.
> > I 'm using an application that largely resides on my computer, but
> > communicates
> > over the internet with it's own server. I know nothing about the internals
> > of this
> > app, but simply use it as a user. My problem is that I would like to
> > automatically read all fields from this window whenever they are updated by
> > the server by
> > my own program that runs simultaneously. I only want to auto extract the data
> > from this window with a pgm instead of reading manually the data from the apps
> > window. I would really be thankful for any constructive advice.
> > thanks !!!!
> >
> >
> >
>
.
- Follow-Ups:
- Re: Auto Read another apps form contents
- From: mr_unreliable
- Re: Auto Read another apps form contents
- References:
- Re: Auto Read another apps form contents
- From: mr_unreliable
- Re: Auto Read another apps form contents
- Prev by Date: Re: How to set mail client programmatically?
- Next by Date: In Excel macro how to rerun a sub ?
- Previous by thread: Re: Auto Read another apps form contents
- Next by thread: Re: Auto Read another apps form contents
- Index(es):
Relevant Pages
|