|
-
Aug 19th, 2006, 05:46 PM
#1
Thread Starter
PowerPoster
Filling in forms in webbrowser
Any chance that someone could give me the 101 on "navigating" webbrowser form objects?
Let me explain what I intend to do...I want to upload a file using http://mihd.net/ (and other similar sites like www.yousendit.com and such) but mihd.net uses an iframe in the main page, and I don't know how to navigate to that...also, I don't know how to do the same thing with www.yousendit.com (which is just a simple page with a load of boxes to be filled in...no iframes)
Possible ways I see of doing what I need to do:
1) Document.write putting the modified form back into the page and then somehow clicking the upload button...however I don't know how to set the focus to the iframe, as webbrowser.document.body.innerhtml will get the main page and not the iframe's HTML
2) Using elements (as in getelementbyid)...but I am HOPELESS at this and need help with understanding it :-)
3) Using cURL to handle the transmission...this is a long-winded way to do it, and I would rather not have to resort to having extra EXEs being included with the program I am writing (although it possibly will already have extra EXEs, I want as few as possible :-))...also, I would have to do a lot of messing about to find out what data to send using cURL for it to successfully upload the file
Help would be appreciated :-)
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
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
|