OK, I'm definitely a beginner at VB6, but nobody I've talked to can seem to help me with this...
My program is using Webbroswer to automatically fill out a webpage. I'm down to just one simple command that I don't know how to tell VB6 to do...
A simple 'add' button on the page is actually an embedded javascript function that tells the page to move a name from one list box to another.
The question: ...
User Profile
Collapse
-
Help! Need to activate a javascript function with VB6!
-
Calling a function on an webpage with VB6 Webrowser
Can some one help? I need to start a javascript function on a webpage in order to make my program work correctly, but I'm not sure how to do it. I'm trying the following:
webBrowser1.Doc ument.InvokeScr ipt("LT_Transfe r")
The function on the web page starts off like this:
function LT_Transfer( sourceID, destinationID, selectedOnly, add, remove, allowDuplicates ){
I can't tell... -
OK, I found the line of code that is responsible for the text in the FreeTextBox, but I can't understand why nothing is showing up with the code you gave me...
<div id="ctl1__ctl0_ Main_Main_Compo seMessage1_Free TextBoxMessage_ htmlEditorArea" style="clear:bo th;display:none ;padding-bottom:1px;">
<textarea id="ctl1__ctl0_ Main_Main_Compo seMessage1_Free TextBoxMessage" name="ctl1__ctl 0_Main_Main_Com poseMessage1_Fr eeTextBoxMessag e"... -
Thanks for the help! Unfortunately, I tried it and got the same result. The blinking cursor dissapears when the command is run. Makes me think that I've got the wrong ID for the textbox. I'll keep trying using your method.
If anyone has any more ideas, please let me know. Thanks!...Leave a comment:
-
Webbrowser and Javascript -- Please help!
OK, this is frustrating. I want my VB6 program to use Webbrowser to fill out info on a page. One of the things I need to do is click an arrow to transfer an item from one text box to another. I want to tell the program to click the arrow, but I can't find the ID or name! Instead, it's just a javascript function.
I'm clueless as to what to do! How do I tell the program to click the arrow like the user would. Can I make webbroswer... -
Typing text into FreeTextBox using Webbrowser. HELP!
Trying to have webbrowser in VB6 open up a web page and fill out information automatically for me.
Having trouble getting text into a FreeTextBox. My code is:
WebBrowser1.Doc ument.getelemen tByID("ctl1__ct l0_Main_Main_Co mposeMessa ge1_FreeTextBox Message").Inner Text = "It works!"
For some reason, it doesn't do anything. Can I put text into a FreeTextBox this way or am I coding it wrong?... -
Found the solution! Go to
http://www.cfdan.com/posts/Visual_Basic_6_ And_Internet_Ex plorer_7.cfm
look for 'Dagger' -- his solution on changing the registry values in Windows worked like a charm!
Thanks!...Leave a comment:
-
Selecting an HTML Option in List Box using Webbrowser...HELP!
I'm making a VB6 program that uses WebBrowser to enter data automatically for me on a particular website.
How do I tell the program to select (highlight or click) an option from a list box? I was trying this:
WebBrowser1.Doc ument.getelemen tByID("_ctl1:_c tl0:Main:Main:S electRecipients 1:ListBoxPhoneB ook").Option("G 10195").Click
But had no luck. I'm not even sure if I'm doing it right.... -
-
Runtime error '-1 (ffffffff)' HELP!
I'm trying to make a program that accesses a website through VB6 and the Webbroswer and fills in info automatically.
For some reason when the webpage comes up on the the webbroswer, I get the message "Runtime error '-1 (ffffffff)'".
I'm using IE7. I've heard that there may be some incompatibility with it and webbroswer. Is there anything that I can do, aside from uninstalling IE7 (since I work on the... -
Having VB6 fill in IE7 Text Boxes Using WebBroswer
OK, please bare in mind that I consider myself a beginner at VB6 at best, so I'm not even sure if what I'm trying to do is plausible...
We have a webpage at work that helps to send out severe weather bulletins to our clients. I want to make a VB6 program that can automatically pull up the internet web site in which we enter the information and have it fill out the details automatically.
I have created a program that...
No activity results to display
Show More
Leave a comment: