|
-
June 23rd, 2001, 08:19 AM
#1
Fill a form in browser from a VP app
Thanks to other posts on this board, I now know how to get the html source of a page that's open in IE. Thanks. Now I want my VB app to fill in form fields in IE -- that is, in a running instance of IE, not in a VB webbrowser control.
I'm a couple whiffs short of a scent, however, and don't even know where I should be looking. Is this a DDE thing? DHTML? Something else? While I know how to get the html page's url and contents, I don't know how to get it as an object I can manipulate from within VB.
So, if you know how to use a VB app to fill in fields in a page displayed in an existing instance of IE, could you please talk v-e-r-y slowly?
Thank you!
-
June 25th, 2001, 06:55 PM
#2
Re: Fill a form in browser from a VP app
Try this. It is a VB application that fills in webforms in a broswer instance programatically, and submits it.
http://www.planet-source-code.com/xq...s/ShowCode.htm
HTH Jas.
-
June 26th, 2001, 08:31 AM
#3
Re: Fill a form in browser from a VP app
Thanks, but this isn't what I'm looking for. It doesn't look inside a Web page and fill in a form there. Instead, it constructs the right parameterized URL to submit a Web page to a search engine. For example, at its heart the program you pointed me to uses code such as this:
Web.Navigate http://www.lycos.com/cgi-bin/spider_...=http%3A%2F%2F" _
& frmMain.txtURL.Text & "&email=" _
& frmMain.txtMail.Text
I'm instead looking for something that will let a VB app automatically fill in my name, address and credit card number at, say, amazon.com's shopping cart page. The user will then be able to edit the form in his or her browser and then choose to press the Submit button. In short, I'm trying to do what Gator does, but without the privacy issues and the banner ads.
Thanks for the pointer though. It looks like a very nice app from which I can learn stuff.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|