|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
input on web page using vb application
there is an input box on web page..
called buy_weapon[27] where u enter a number of amount u want to get. the value by default is set to zero I like to input the value one in the box using my application any ideas on how to do this please this is the html: <TD align=middle><INPUT size=3 value=0 name=buy_weapon[27]></TD> <INPUT type=submit value="Process Order" name=buybut> this is the code I trying to use: WebBrowser1.Document.Forms(0).buy_weapon[27].Value = 1 WebBrowser1.Document.Forms(0).submit but obviously wrong cause I getting an error on first line of code. |
|
#2
|
|||
|
|||
|
IF u will input variable into the web page,u should use post method for it...U can look it:http://oldlook.experts-exchange.com...Q_20724988.html
|
|
#3
|
|||
|
|||
|
thnx
I looked there, thar is similar to what I doing but still getting eror on that first line |
|
#4
|
|||
|
|||
|
Give u a suggestion:Use the post method to input the variable value in the form of the html page..http://www.freevbcode.com/ShowCode.Asp?ID=2051
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > input on web page using vb application |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|