forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


MSIE control through VDS

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Sep 04, 2003 9:26 pm    Post subject: MSIE control through VDS Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Sep 04, 2003 10:43 pm    Post subject: Reply with quote

You could try using WINDOW SEND, or look into WINDOW SETTEXT. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Fri Sep 05, 2003 3:30 am    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Sep 05, 2003 5:20 am    Post subject: Reply with quote

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 Sad
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
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Sep 05, 2003 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Sep 05, 2003 2:56 pm    Post subject: Reply with quote

Maybe you can use something like this: Rolling Eyes

Code:
window send,#ComboBoxEx32,javascript:window.alert('Hello')

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group