hi i have an apllication build in vb6
that opens links like :
http://www.google/userid=1
then http://www.google/userid=2
and so further ..
its an dynamic hyperlink with vazriable i
but now , its a difficult part ( i think)
first
a link has to open ( with the application)
so : http://www.google/userid=1
then , a button on that page has to be clicked
then the page goes like ; http://www.google/userid=1/completed ( example)
then yes , : http://www.google/userid=2 has to open
again , a button on that page has to be clicked ( the same button , same place , so maybe a can use an auto mouse clicker) ?
but i cant take the final url of example -> http://www.google/userid=1/completed cause it wont work so i have to use something like an auto mouseclicker
someone knows how to change the source that i dont have to use an extern auto mouse clicker ?
or someone another idea
here is the source of the appl that i have now ;
[HTML]Option Explicit
Dim i As Integer
Dim j As Integer
Dim t As Integer
Dim SaveStr As String
Private Sub Command1_Click()
Dim msg As String
msg = InputBox("How many times want to repeat ?", "repeat", 0)
If IsNull(msg) = False And IsNumeric(msg) = True Then
t = CInt(msg)
Else
Timer1.Enabled = False
End If
Timer1.Enabled = True
SaveStr = Text1.Text
End Sub
Private Sub Form_Load()
i = 1
Timer1.Interval = 100
Timer1.Enabled = False
End Sub
Private Sub Form_Resize()
Text1.Width = Me.Width
WebBrowser1.Width = Me.Width
WebBrowser1.Height = Me.Height
Command1.Left = Me.Width - Command1.Width
End Sub
Private Sub Timer1_Timer()
If WebBrowser1.Busy = False Then
WebBrowser1.Navigate SaveStr + CStr(i)
Text1.Text = SaveStr + CStr(i)
i = i + 1
If i = t + 1 Then
Timer1.Enabled = False
Text1.Text = vbNullString
t = 0
i = 1
End If
End If
End Sub [/HTML]