Click Buttons With The Webbrowser-component?
The form looks like this:
<input name="submit" type="submit" value="New" /> <input name="submit" type="submit" value="Load" /> <input name="submit" type="submit" value="Save" /> <input name="submit" type="submit" value="Open" />
As you can see all the buttons are named the same but with a different value. I can't just use: web.Document.All.submit.Click To click on the "Open"-button for example.
How should I do to send a click from the Open-button?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Click Buttons With The Webbrowser-component?
The form looks like this:
<input name="submit" type="submit" value="New" />
<input name="submit" type="submit" value="Load" />
<input name="submit" type="submit" value="Save" />
<input name="submit" type="submit" value="Open" />
As you can see all the buttons are named the same but with a different value.
I can't just use:
web.Document.All.submit.Click
To click on the "Open"-button for example.
How should I do to send a click from the Open-button?
Help With WEbBrowser Component And Multiple Submit Buttons
I am using the WebBrowser component trying to simulate click a button. I was trying to use
Code:
WebBrowser1.Document.Forms(0).Submit
which did not work after much searching I tried
Code:
WebBrowser1.Document.Forms(0).Item("north").Click
Neither of those worked. THe button I am attemting to press is a submit button north the html code where it is found is :
Code:
<form action="index.php?do=move" method="post">
<center>
<input name="north" type="submit" value="North" /><br />
<input name="west" type="submit" value="West" />
<input name="east" type="submit" value="East" /><br />
<input name="south" type="submit" value="South" />
</center>
</form>
any help would be apreciated
[VB 6.0] Click Buttons With Webbrowser
I'm trying to make a program to upload images at deviantart, but i ran into some problems with choosing the category. It is a button where it says "Choose...", which i have no problem clicking, but then it opens a javascript (i guess) menu where you can choose from different categories, and finish with "OK" button to get back to the upload site. Look at the attached images to get an idea of what it looks like.
This is the html code which is changed when choosing a category:
Code:
<input type="hidden" name="catDesc" value="Please choose a category" id="catDesc"/>
and its the value property which is changed to i.e.: value="3D & Fractal Art, Fractal Art".
I can by using this code: MsgBox (WebBrowser1.Document.Forms("Form1")("catDesc").Value) get the text in that "label" on the website in a msgbox, and also see the changed category when i choose a new one, but if I for instance make this code: WebBrowser1.Document.Forms("Form1")("catDesc").Value) = "test" then nothing happens, which of course is understandable because I don't have authority to change in the label.
So this means I have to do it the hard way by going through the javascript popup, and that way choose the the category, but how could I do this?
(I've also attached the html code if anyone would need to look at that).
Thx for any help
Click Radio Buttons With Webbrowser Control...
Ok, i looked in all of the forum for the answer to my question, but none seemed to be sufficent.Please excuse me if it was already answered or it's a stupid question.Thanks ...On a page that i opened in a webbrowser window, there are 2 radio buttons and a submit button.I need to check one of the radio buttons and then click the submit button by using the htmlevent.click ... I know how to click the submit button, i got that code from a post elsewhere on here, how do you click the radio button though?The code from the site is:
Code:<input type="radio" name="accept" value=1 CHECKED>Accept (+1 RAD)<br>
<input type="radio" name="accept" value=0>Decline<br><br> <-i need to check this radio button
<input type="submit" value="Submit">
</form>
The code i have so far is:
Code:For i = 1 To WebBrowser1.Document.All.Length
Set HTMLElement = WebBrowser1.Document.All.Item(i)
If Not (HTMLElement Is Nothing) Then
If StrComp(HTMLElement.tagName, "INPUT", vbTextCompare) = 0 Then
If StrComp(HTMLElement.Type, "radio", vbTextCompare) = 0 Then
htmlelement.value = 0
HTMLElement.Click
Exit For
End If
End If
End If
Next i
Can anyone help me with this?Thanks in advance.
Edited by - pr0phect on 6/13/2003 12:56:09 PM
Programatically "click" On A Combobox On A HTML Page In The MS Webbrowser Component?
I have a MS webbrowser component on a form. I navigate to a
HTML page that contains a combobox. When you change to
another option in the combobox it navigates to another page.
What I need to do is "click"(or something like that) on this
combobox, cause the combobox in question has an ONCHANGE
event in the HTML code. So merely selecting an option wont make anything happen.
The HTML code looks like this :
Code:
<SELECT NAME="systemID" ONCHANGE="location.href=new.asp?action=systemID=' + document.SystemID.[document.SystemID.selectedIndex].value;">
This will select an option in the combobox, but no click it.
Therefore it wil not change to the other page.
VB Code:
chosen = 1WebBrowser1.document.frames(3).document.Forms(0).elements("SystemID").Options(chosen).Selected = True
What I am doing now to make it work... :
VB Code:
chosen = 1'To move focus to the comboboxSendKeys "{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}"'To select the option that is above the option I wantWebBrowser1.document.frames(3).document.Forms(0).elements("SystemID").Options(chosen).Selected = True' Press the DOWN key to move to the option I really want' This triggers the ONCHANGE event and changes the pageSendKeys "{DOWN}"
Surely there MUST be an easier way of doing this? I really don't
like SENDKEYS and this seems to be highly unstable..... So ANY
help at all is greatly appreciated!
How To Foroce Click Another Component Before Click Ok
I have around 30 conponents in one form, mainly for setting shap properties
there is a picturebox for preview (put shapes inside of this picturebox)
a button for ok
What's the good way to force the user click preview before ok. they can do whatever they want in other conponents then click preview then ok.
Thanks
How Foroce Click Another Component Before Click Ok
I have around 30 conponents in one form, mainly for setting shap properties
there is a picturebox for preview (put shapes inside of this picturebox)
a button for ok
What's the good way to force the user click preview before ok. they can do whatever they want in other conponents then click preview then ok.
Thanks
Yaqi
WebBrowser Component
I'd like to traverse sites by reading the links and receiving the HTML page from the Server.
But link that uses JavaScript couldn't be read.
Is there a way to get them by using the WebBrowser Component ?
Webbrowser Component
I have a question about the webbrowser component. I want to make a program that when Iclick a button it would navigate 4 links,one after the other and I don't know how to do this. If I just write the the navigate commands (webbrowser1.navigate "url" etc.)the server doesn't get to validate the first link because it skips to the next and so on and eventually ending up with just the last link that got a response from the server. Can you please help? Thank you.
Webbrowser Component And Asp?
What exactly are you trying to achive?
I have looked at the code and it selects all the code from the web page.
Are you trying to select something specific out of the data or just trim each line??
G
Webbrowser Component
I really need some help. I have developing an app that ned to post it's data to a web page and then follow a sequence on the browser.
The way I have approached this was to build a static local HTML file and open it in the webbrowser component. This works fine and it keeps all my server side variables intact
The problem is that even though I have decalred the form a POST, it seems to be using a GET to transfer the data. This is OK until I get a really big post, then of course I run up against the GET methods character limit.
anyone know how I can get a POST to work? or do I have a lot of re-programming to do!!!
thanks in advance
Ftp With WebBrowser Component
Hello all,
Let me start by saying I'm new to VB and new to VBCity. What I'm trying to do is write a web browser but am having a problem with ftp. My little browser can access an ftp site but the problem occures when I try to drill down the directory tree. After the directories are displayed and I click on the directory that I want to go into a new window pops up. How do I get around this?
Thanks for the help, Yall.
Webbrowser Component
Hi, I am using the webbrowser component and i wanna know how to make the textbox url change when i click a link on the webbrowser, anyone got an answer?
WebBrowser Component
I'm trying to do the following:
I want to put a webbrowser control into my program, open certain page and be able to set the text of the text fields in the webpage from Visual Basic.
For example, I want to be able to set the text "hello" in a text field named "LastName" in the webpage the webbrowser is displaying. Is it possible?
Thanks a lot
Juan
Problems With The Webbrowser-component
I'm having problems with the webbrowser-component. I can't fill a text-field.
Here's the HTML-code from the site:
Code:
<br><br>
<label><b>Title:</b></label><br />
<input type="text" name="title" size="50"/>
<br>
<br>
<label>Please Description: </label>
<Br>
<input type="text" name="description" size="50"/>
<br>
<br>
<label>Optional Site name: </label>
<br>
<input type="text" name="site" size="50"/>
<br>
I can fill all fields except the description-field.
This is the VB code I'm using to fill the fields:
Code:
Web.Document.All.Title.Value = filen
Web.Document.All.site.Value = filen
Web.Document.All.Description.Value = filen
I get "Object doesn't support this property or method" on the description-field. Is there anything special with the name "Description" or what's wrong here?
Need An Experts Help On The WebBrowser Component
i know that to click a button on the page you have to do something like:
VB Code:
WebBrowser.Documents.Forms(0).Item(1).Click
and that would click Item1 (for.e.g, it could be a 'submit' button)
But, is there a way to click a button using that buttons 'name' or 'value' from the 'view source' file,.. for e.g:
Code:
<input type="submit" name="btnAdd" value="Add a quote" id="btnAddQ"
would something like this be valid then?
VB Code:
WebBrowser.Documents.Forms(0).btnAdd.Click
Im not entirely sure, hope someone can help me on this, thanks in advance
Webbrowser Component Refresh
Hi guys,
We are using a VB Webbrowser component to display a locally formated HTTP/XML page.
Quite frequently it comes back with broken links to some of the images...and comes up with the red box. If you hit F5 repeatedly in the component it eventially refreshes properly and displays the graphics links.
Any ideas? It just looks crap.. it would be nice to have it not fail on links that are clearly there, and worse, held locally on the PC it's operating on.
Alternatively, anyone know of any good webbrowser modules that someone has written that is more reliable?
Regards,
B
Retrieve HDC Of Image In Webbrowser Component
Is it possible to retrieve the hDC of an image in a webpage? I want to add a graph to a customly created page (i halt the beforenavigate event, and send my own HTML to it).
Is this possible?
Cheers,
Christopher
Find/Replace On A Webbrowser Component?
My program, written in VB6, needs to find and highlight the location of some text on a webpage which is in a webbrowser component within my program.
I have been using the {ctrl + F} (i.e. ' SendKeys "^f" ') find function. I can get this to work in isolation - but only by tabbing the focus to the command button and pressing [Enter]. When I try other way of activating this on my form, i.e. the alt + shortcut or clicking on the button with the mouse, the find dialogbox does not come up and so the function doesn't work. However, even the tabs + [enter] strategy fails when I add in the code for subsequent steps in the program. I have tried packaging the tabs + [enter] as a separate .exe and .dll but neither work.
I have 2 questions:
1) Does anyone know of any other way to search a webpage (not the HTML source code, the page as it appears in the browser), other than the in-built windows find/replace function?
2) If it is necessary to use the Windows in-built help function, is there any way to access this directly from my VB code, perhaps through an API call, rather than through {ctrl + F} or [edit]-[Find]? Any sample code which shows this?
Thanks,
DeGeneral
How To Select Checkboxes Like These With Webbrowser Component?
How do I select checkboxes like these with webbrowser component?
<INPUT type=checkbox name=chlist[] value=2>Videos<BR>
<INPUT type=checkbox name=chlist[] value=3>Pictures<BR>
They got the same name, but a different value. :/
How do I select "Videos" for example?
WebBrowser Component Image Placeholders
Is it possible to apply to the WebBrowser control the property that shows the image placeholders instead of downloading them? If yes, hoy?
Currently I've added the Ms HTML Object Library to access the browsers' Document property, that was inaccessible otherwise, and it allows to retrieve HTML code, etc. However I don't know if it can set WebBrowser properties such as the one I need with it.
Locating Form Objects With Webbrowser Component
Hi all,
This small problem has been annoying me for the past few weeks. I have a webbrowser object in a VB 6 program. I have it set so it will go to a particular page and fill out the form(s) on the page with information I give it. Right now I basically fill out text boxes and check checkboxes by the code:
test.Forms(0)(1).Value = "Data goes here"
test.Forms(0)(2).Checked = 1
However, on a particularly large site or one that is updated frequently, these form object positions (such as 0, 1) change frequently when new forms are added. For that reason, I am wondering if there is an easy way to search for text fields, buttons, etc. by name or value for instance? Right now I have to keep guessing until I get the form component correct, and it becomes a nightmare every time the site changes!
Thanks in advance!!!
Is There Any Way To Fill A File-field With The Webbrowser-component?
I'm having problems to fill a file-field (Htmlcode: <input type="file" name="file" />) with the webbrowser component. The solution I got now is to set focus on the file-field and then use sendkeys. But I don't like this solution since my program need to have focus all the time.
Does anyone know another solution for this problem?
Problem With Viewing Unicode In WebBrowser Component!
I`m using a WebBrowser Component to view a String that stores html Codes that also includes unicode Characters and string also have Meta Tags for defining that the document Encoding is Unicode(utf-8).
it works for non-unicode docs, but couldn`t view unicode characters.I`ve saved the stream into a html doc and have no problems for viewing unicode chars in Internet Explorer and also have no problem with WebBrowser component for viewing this saved document that has no difference with the main stream, but I don`t know why when i use webBrowser directly to show the stream, unicode code page dosn`t work?
here is the code:
Code:
Private Sub Command1_Click()
Dim htmlBody As String
htmlBody = "<html>" & _
vbNewLine & _
"<head>" & _
vbNewLine & _
"<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">" & _
vbNewLine & _
"</head>" & _
vbNewLine & _
"<body>" & _
vbNewLine & _
"<p>Some Persian Unicode Character: براي همين</p>" & _
"</body></html>"
WebBrowser1.Document.body.innerhtml = htmlBody 'doesn`t show the unicode chars correctly
Open App.Path & "htmlDoc.html" For Output As #1
Print #1, htmlBody
Close #1
End Sub
Private Sub Command2_Click()
WebBrowser1.Navigate2 (App.Path & "htmlDoc.html") 'showing the unicode chars correctly
End Sub
Automatically Save Page In WebBrowser Component
Hello. I'm trying to automatically save a WebPage without user input, but unfortunately, when I pull up the save as dialog box off the WebBrowser . . .
Code:
Private Sub mnuFileSavePageAs_Click()
Browser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT
End Sub
my plan was to Call SendKeys("{Enter}") but it's waiting on the line calling mnuFileSavePageAs_Click and the code cannot get to my SendKeys line without user intervention.
How do I save the webpage in my browser automatically?
Is There Any Way To Fill A File-field With The Webbrowser-component?
I'm having problems to fill a file-field (Htmlcode: <input type="file" name="file" />) with the webbrowser component. The solution I got now is to set focus on the file-field and then use sendkeys. But I don't like this solution since my program need to have focus all the time.
Does anyone know another solution for this problem?
All Buttons In WebBrowser
Hi
Is there some way for to capture all buttons in Page using WebBrowser Control ?
I want capture all buttons and to simulate a click, is there some way ?
Thank you in advance
How To Click Select Component In A Web Page Using HTML DOM
Hi all,
Is there any idea to click the select component of an HTML page programitically
Here is the HTMT code
HTML Code:
<td width="83%" align=left nowrap><font face="Times New Roman, Times, serif">
<select name=cboPrimary size=1 onChange="RemoveOptionAndSubmit(cboSecondary)" style="width=350px;">
<option value="003" >ALLIED BANKING CORPORATION - $ BTB (USD )</option>
<option value="004" >ALLIED BANKING CORPORATION - PESO BTB (PHP )</option>
<option value="008" >ALLIED BANKING CORPORATION - PESO DTOD (PHP )</option>
<option value="052" >BANK OF THE PHILIPPINE ISLAND (USD )</option>
<option value="049" >BANK OF THE PHILLIPINE ISLAND (PHP )</option>
<option value="179" >EQUITABLE BANK / PCI (PHP )</option>
<option value="175" >METRO BANK (PHP )</option>
<option value="176" >METRO BANK - $ (USD )</option>
<option value="177" >PHILIPPINE NATIONAL BANK (PHP )</option>
<option value="178" >PHILIPPINE NATIONAL BANK - $ (USD )</option>
</select>
</font>
</td>
When one of bank is selected, the branches of that bank will be lsited.
Now I want to do this process programtically.
Here I used this code:
VB Code:
Dim BankIndex as IntegerDim BankName as StringBankIndex = 5 browser.Document.getElementById("cboPrimary").selectedIndex = BankIndex
This code select the expected bank BANK OF THE PHILIPPINE ISLAND (USD )
But the page not lists the branch of this bank. It still remain wihout any action.
I also tried with the following code
VB Code:
browser.Document.getElementById("cboPrimary").click
But no effect
Is there any suggession to solve this problem
With regards,
Nasreen
WebBrowser Component Executing Javascript:history.back
Inside my Application I have using Microsoft WebBrowser component to display HTML pages specific to my application. I have HTML links in the to other related topics. ie..<a Href="somelocation...">Other link</a> so my users can look up topics inside my application.
I load the initial page with this command, and it displays links to all of the topics i think the user might want.
Code:
WebBrowser1.Document.Body.innerHTML = "bla bla bla some HTML Document."
The initial page never has a Back link on it.
Inside my pages i'm executing the HTML as shown Below...
"bla bla bla some HTML Document."
....
<br>
<P align=right><A href="javascript:history.back()">Back</a></FONT></P>
The problem is that I sometimes get an Error page displayed when pressing the Back button/link it's about 50% of the time.
It seems that when I execute the code fragment again on another page then press the Back link I don't get the error.
Code:
WebBrowser1.Document.Body.innerHTML = "bla bla bla some HTML Document."
I do get the Error if I load the Document, Follow multiple links then press the back button.
Any ideas/samples would help.
Changing A Form Object In A Page By Using WebBrowser Component?
Hi group,
Here's a problem I've been trying to solve for the past several weeks. I
have the standard WebBrowser object added to a form so it can access
websites, and I have it load a default page once the form is launched. I
now want to automatically fill out a specific text-field found within the
web-page that the WebBrowser object has open. Right now I am using the
following code to accomplish it:
webBrowser.Document.Forms(0)(1).Value = "Test Text"
But I am faced with a major complication when I use the above method. The
page in question is often changed and more form objects (hidden and visible)
are added, or the order of the form objects are changed. When this happens,
I have to manually go through and change the form position or the program
will error out or the text will be entered in the wrong text-field, when it
tries to add the text to the currently specified form object of (0)(1). To
make matters even worse, the page that loads will reflect what the user
selects previously, and depending on the selection the amount of form
objects on the page will change.
My question is... How can I simply search through the page and find the
NAME of the form-object I want to modify? For example, if the text-field I
want to insert the text into has a name of 'XYZ' in the HTML document, how
can I search through the page using Visual Basic and locate that element,
then once its found insert the correct text? The only element of the page
that I can seemingly do this with is the actual submit button, and I use the
code:
webBrowser.Document.All("Button").Click [ Will submit the form ]
webBrowser.Document.All("Button").Value = "Name of Button" [ Will change the
name of the button ]
When I try simular code to change the value of a text field, I get the
error: 'Object doesn't support this property or method'. So what is the
magical command to do what I am asking? I have searched MSDN and forums for
an answer, but all I can find is similar to the first line of code I
mentioned here. Is there a way to do this, it sounds like an easy task but
I can't get it to work! Thanks in advance,
Matt
How To Disable Mouse Right Click Function On AcroPDF Component?
Hie,
I am using VB6 and I have AcroPDF component, which I put on top of a form to display any PDF file saved in my database. I can hide the toolbar, but even though I hid the toolbar (because I disallow user to save or print the document they are viewing), yet the user still can use the mouse right click function to print the document. How do I disable the right click function on top of the AcroPDF?
Can't Click My Command Buttons
Earlier I had a question about making a Command button move using KeyDown. All of that works fine now. My Command button moves left, right, up, and down. On the bottom of my form I have another Command Button called Get Position. When I click on it, it will put the x and y positions into two text boxes. I know how to do this but when my program runs I can't click on any Command boxes. Anyone know why?
Pressing Buttons Within A Webpage On A Webbrowser
I have been discussing this problem within another thread but I so far haven't got any code that helps, so I thought I would start a new thread on it to bring it to a wider audience.
What I have is a webbrowser on a form. I have a webpage loading in the webbrowser that has two buttons on it. My program has a loop function that runs continously, and at certain required times is supposed to press one or the other button on the webpage.
My first attempt at 'pressing' the button was to use the key event to press the tab key and the return key. Depending on which button to press the tabs would go to that button.
This solution works, provided the form has focus. If the form loses focus (eg when the screensaver activates) the tabs and return don't hit the webbrowser.
I then thought about trying to 'send' the keystrokes to the form, however I can't seem to find code that will send the keystrokes to the webbrowser on the form. Also, I am not too familar with send message etc.
Next, I saw some posts on this site using the webbrowser.document to find the button(s) on the webpage and press them. This revolves around finding the order of the button in the html code. I have tried various variations on this theme but still can't get it to work sucessfully. Below are some of the lines I have attempted to use:
Code:
WebBrowser1.document.forms(0).cmInqqbtn.click 'where cmInqqbtn is name of button
'this gives me an error saying "Object variable or With block variable not set"
WebBrowser1.document.forms(0).cmInqqbtn.click() 'expected equals
WebBrowser1.document.forms(0).cmInqqbtn.click() = true '"Object variable or With block variable not set"
'I am not even sure if having "= true" is correct
WebBrowser1.Navigate "java script: document.forms(0).elements(1).submit()" 'where the button is the second element in the form
'seems to start something in webbrowser, but page never loads
'I even put in a doEvents after this one as I thought it was just slow loading, but I don't think the webpage is taking the click
What is really driving me insane is that a sample in the other thread I posted in, http://www.xtremevbtalk.com/show...=126411&page=2, using google and pressing the button using webbrowser.document is working in my webbrowser/project, but not the webpage I need to be clicking on.
Has anyone gone any new ideas or suggestions for me on how to overcome this problem?
Thanks in advance.
WebBrowser Radio Buttons Checking
Hey guys, lets say that a website has this source in it:
<input type="Radio" name="c" value="2" checked>Option1
<input type="Radio" name="c" value="3" >Option2
<input type="Radio" name="c" value="4" >Option3
What i want to do, is instead of having the default be checked by the website, i want my program to check it for me.
I have added the webbrowser control and that HTML Document control. I just dont know how to make check value 3. Here is the code i thought was right, but wasn't:
Code:
Doc.All("c").Value = "3"
That doesn't work. Any help?
Linking Click Events Of Buttons
How do I link the click events of two buttons together. I'm trying to make a matching game with buttons. on click the button shows a different pic. But what about when I click another button to try it against. Is this done better with image control or picbox.
Double Click And Command Buttons
I know there's no double click event for command buttons. Somehow some users are able to double click and fire the event twice, which I have not successfully reproduce.
Could there be some system settings affecting this behavior? Any suggestions how to prevent such behavior?
How To Click Buttons Of JavaScript Confirm Box
In the course of writing a V 6.0 program to input data into JavaScript forms, I have encountered a page that, when you click a button whose name is FORM_ACTION, generates a popup window. The popup window has text (Are you sure you want to do this? Blah Blah Blah) and two buttons labelled "OK" and "Cancel". Problem is, I can't figure out how to click the "OK" button.
I have done a search on the html of the original page, and it has the "Are you sure ..." text but no "OK" anywhere.
The script for FORM_ACTION(0) is:
<INPUT TYPE="SUBMIT" NAME="FORM_ACTION" VALUE="Place Order" onClick=set_submit_type("C")
I suspect the popup uses some kind of standard JavaScript function* that automatically generates "OK" and "Cancel" buttons on the popup. If so, what code do I use
to click the OK button? *I determined later that it is a Confirmation box.
With IE.Document.All
.FORM_ACTION(0).Click
.[need code]
Handling Multiple Buttons Thro' Webbrowser
Hello,
I have a webpage with multiple buttons. They all have the same type. Example.
input type="submit" name="Attach.x" value="Attachment" onClick="onSubmitCompose(0);"
input type="submit" name="Dictionary.x" value="Dictionary" onclick="onSubmitCompose(0);"
input type="submit" name="Thesaurus.x" value="Thesaurus" onclick="onSubmitCompose(0);"
WebBrowser1.Document.Forms(0).submit.Click
This does work if the page has only one single submit button, but doesn't work in the above case.
Now I am trying to click one of this button in my VB code, which has a webbrowser component and it doesn't work. Can you guys help me as to how I could do this ? Thanks so much.
Regards,
Vinay
Fill In Radio Buttons ... Using Webbrowser Object In VB ... How ?
I am using a webbrowser object to auto-fill in data in a webform ...
Code:
WebBrowser1.Document.All("REG_i_accept_the_terms").Checked = True
WebBrowser1.Document.All("REG_TEXT_FIRST_NAME").Value = "itsme"
WebBrowser1.Document.All("REG_TEXT_ADDRESS").Value = "nothere"
WebBrowser1.Document.All("REG_TEXT_ZIP").Value = "8120"
WebBrowser1.Document.All("REG_TEXT_CITY").Value = "test"
WebBrowser1.Document.All("REG_TEXT_country").Value = "BE"
WebBrowser1.Document.All("fields_form").submit
this works fine, however, I also need to fill in some radiobuttons? like male or female :-) (don't worry I know my sex, but ...) what command do I need to let VB fill it in ...
this does not work :-(
WebBrowser1.body.All("REG_TEXT_SEX").value = "male"
help help help :-) and hurry up ... please :-P
Adobe Toolbar Buttons In WebBrowser Control
Hiya,
I am using the Microsoft WebBrowser ActiveX control with the Adobe plugin (just need to install Adobe Acrobat) on my VB6 form.
This works great, but when a user navigates to a PDF, the file is loaded with the Adobe toolbar within the WebBrowser control.
Is there any way I can control the adobe toolbar? Or evan a way I can tell if a user has opted to print via this toolbar? Or even a way to tell if a user has opted to print via the web browser?
Any help here would be greatly appreciated.
Thanks,
Chad Jones
Adobe Toolbar Buttons In WebBrowser Control
Hiya,
I am using the Microsoft WebBrowser ActiveX control with the Adobe plugin (just need to install Adobe Acrobat) on my VB6 form.
This works great, but when a user navigates to a PDF, the file is loaded with the Adobe toolbar within the WebBrowser control.
Is there any way I can control the adobe toolbar? Or evan a way I can tell if a user has opted to print via this toolbar? Or even a way to tell if a user has opted to print via the web browser?
Any help here would be greatly appreciated.
Thanks,
Chad
|