Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: filling HTML fields by code

www.cryer.info
Managed Newsgroup Archive

Re: filling HTML fields by code

Subject:Re: filling HTML fields by code
Posted by:"Francois PIETTE [ICS - MidWare]" (francois.piet..@overbyte.be)
Date:Tue, 25 Apr 2006 18:16:24

> I want to fill, fom my application (D5ent), some fields in the current IE
> page (HTML). I found the code bellow which works right for a page with
> forms.
>
> But the page that I want to fill hasn't any form (the fields are included
> in
> a table) so this code doesn't work.
> How can iterate through any field and in any case ?

What is your page made of ? Is it an ActiveX or a Java applet ?
If it is an ActiveX, you may use standard win32 technics such as FindWindow
and PostMessage to do the trick. If it is a Java Applet, it could be more
difficult as the entire applet maybe have a single window, as seen from
Windows API, all screen gadget are implemented by the java virtual machine.

If you have Spy++ utility, you may have a look on which window - as seen for
Windows API - is there.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive