🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #550

Re: Radio buttons and drop down lists

#550
From: Remy Lebeau (TeamB)
Date: Fri, 17 Mar 2006 18:11
21 lines
1741 bytes
"Milline" <wmilline@earthlink.net> wrote in message
news:441ae9f9$1@newsgroups.borland.com...

> I am writing a program that fills out information on a web based
> form in internet explorer.  I was wondering how to select values
> for radio buttons and drop down lists.  Could someone point me
> in the right direction?

You need to access the browser's DOM interfaces.  Assuming that you are
using TCppWebBrowser, then start by calling QueryInterface() on the
browser's Document propety to get an IHTMLDocument2 interface, and then
drill down from there.  Read the MSDN documentation on which interfaces are
available from the browser:

    Interfaces and Scripting Objects

http://msdn.microsoft.com/workshop/browser/mshtml/reference/ifaces/interface.asp


Gambit
Technical Details
Message-ID: <441afbd0$4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <441ae9f9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,a6829b4e3368a8c4
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <441ae9f9$1@newsgroups.borland.com>
Subject: Re: Radio buttons and drop down lists
Date: Fri, 17 Mar 2006 10:11:10 -0800
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <441afbd0$4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142619088 68.69.17.41 (17 Mar 2006 10:11:28 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail