ciao ragazzi mni servirebbe un aiutino...devo riuscire a far aggiornare una pagina web tipo 100 volte tramite il comnado SendKeys...vi posto il codice k nn va:
codice:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Public Function Link(ByVal URL As String) As Long
Link = ShellExecute(0&, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus)
End Function
Private Sub Form_Load()
Call Link("http://www.ciao.com")
For i = 1 To 100
SendKeys "{F5}"
Next i
End Sub
spero in un vostro aiuto..Grazie