https://www.deal.matsui.co.jp/ITS/login/MemberLogin.jsp
緑色のログインのボタンがItemにもallにもなくて
困っています。どうすればクリックできるか教えてください
現在の状態 VB6.0
'項目名を指定して、データをセットする
Obj.Document.All.clientCD.Value = uid
Obj.Document.All.passwd.Value = ups
'ボタンを押してみる
Obj.Document.All.Item(i).Click → ダメ
Obj.Document.All.links(i).Click → ダメ
他にも方法あるけど、これでもいけるはず。
'ボタンを押してみる
Dim col As Object
Set col = obj.Document.getElementsByTagName("INPUT")
Call col(5).Click
Set col = Nothing
formのSubmitで送信する方法
With CreateObject("InternetExplorer.Application")
.Visible = True
.Navigate "https://www.deal.matsui.co.jp/ITS/login/MemberLogin.jsp"
Do While .Busy
DoEvents
Loop
With .Document
.All.clientCD.Value = "ほげほげ"
.All.passwd.Value = "もげもげ"
.All.form.Submit
' もしくは
'.getElementsByName("form").Item().Submit
End With
End With
いけました、すげー。あなた方は天才です。神です。ありがとうございます。1ヶ月悩んでいました。
ツイート | ![]() |