| View previous topic :: View next topic |
| Author |
Message |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Sep 04, 2003 9:26 pm Post subject: MSIE control through VDS |
|
|
I am looking for a way to sort of remote-control an Internet Explorer window with VDS. The
MSIE window holds an HTML frameset, and in one of the frames there's an input box that I want
my VDS proggie to fill in and then submit the contents to the Web server.
I've seen other programs, you know those AutoComplete-web-forms utils, do this so it's possible
- but is it possible with VDS?
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Sep 04, 2003 10:43 pm Post subject: |
|
|
You could try using WINDOW SEND, or look into WINDOW SETTEXT.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Fri Sep 05, 2003 3:30 am Post subject: |
|
|
The way most of these programs submit to forms they are using Browser Helper Objects. This allows direct access to Internet Explorer, such as capturing when new windows open (popups), search/replace text within content, fill in forms/read forms, capture downloads and redirect to another program (getright type programs). This requires you to write a dll which hooks into Internet Explorer though and I don't think it's likely possible within VDS, the only other way would be to send keystrokes  |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Fri Sep 05, 2003 5:20 am Post subject: |
|
|
I don't think it is directly possible in VDS as it is not a object oriented language. As prakash said you can probably interface a generic 32 dll having all these functionality and if need be it will make it a relay between a active-x dll BHO and your vds exe. Lots of work. I don't think anyone has worked in this direction
If it done it will be real cool you can make cool bars and deskbands like the one of windows media player and so on.
Regards _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Sep 05, 2003 2:29 pm Post subject: |
|
|
Thanks guys!
I have tried using WINDOW SEND etc., of course. But I'm not in control of which browser element
(there are quite of lot on the actual page) has focus.
I can identify the browser window but I cannot identify the input box through VDS so I cannot shift
focus to that specific one. Sending tabs will of course move around the focus but I have no idea which
element has focus at the particular time, so sending a fixed number of tabs will not make sure that I
get the right one.
I'll have a look at BHOs and see if that'll get me further.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|