473,320 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 call the function?

Here's the sample code with the 'ADD' and 'REMOVE' arrows.


</td>
<td class="title" align="center">

<nobr>ADD <a title="Add selected recipient(s)" onclick="javascript:LT_Transfer('_ctl1__ctl0_Main_ Main_SelectRecipients1_ListBoxPhoneBook','_ctl1__c tl0_Main_Main_SelectRecipients1_ListBoxRecipients' , true, true, false, false); return false;" href="javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate()) __doPostBack('_ctl1$_ctl0$Main$Main$SelectRecipien ts1$_ctl3','')} "><img src="images/buttonRight.gif" style="vertical-align: middle;" border="0"/></a></nobr><br />
<nobr><a title="Remove selected recipient(s)" onclick="javascript:LT_Transfer('_ctl1__ctl0_Main_ Main_SelectRecipients1_ListBoxRecipients','_ctl1__ ctl0_Main_Main_SelectRecipients1_ListBoxPhoneBook' , true, false, true, false); return false;" href="javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate()) __doPostBack('_ctl1$_ctl0$Main$Main$SelectRecipien ts1$_ctl4','')} "><img src="images/buttonLeft.gif" style="vertical-align: middle;" border="0"/></a> REMOVE</nobr>

</td>
<td valign="top">
<select name="_ctl1:_ctl0:Main:Main:SelectRecipients1:List BoxRecipients" size="8" multiple="multiple" id="_ctl1__ctl0_Main_Main_SelectRecipients1_ListBo xRecipients" class="recipientList">

Please help! Thanks!
Mar 27 '07 #1
0 887

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: export | last post by:
Does anyone know how to lanch a webbrowser ( from Python) without menu and toolbars? Thanks for help Lad
1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
9
by: ASP .NET Newbie | last post by:
How can I run a WebBrowser control using ASP.NET/VB.NET? I know I can use the WebClient to get the page data, but I need to be able to use the WebBrowser (AxWebBrowser)? Thanks, Chad
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
0
by: bacsumu | last post by:
In my c# program ive got a WebBrowser control in which a certain website is called. This website gives for some reason a javascript errors (message box) from time to time. Is there a way to build...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
4
by: David A. Beck | last post by:
I need to enter data on a web page. I have been able to navigate using the VB.NET WebBrowser control and see the contents of each page. What I need to do now is to fill in the controls on the page...
11
by: Frank Rizzo | last post by:
I have a WebBrowser control on a .net 2.0 winforms app. I load up a page and want to get the selected entry of a dropdown. I can get the element: HtmlElement stationList =...
0
by: Deepesh | last post by:
Hi all, I'm using the InvokeScript functionality in one of my projects. But it seems like it will invoke the script mentioned only once. For eg.. I'm doing this in my VB.Net code ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.