@Pino - Do you want to see my coding using Inet?
I've created a new project to check if something in my program is doing this but it isnt.
The project has 1 Inet control (Inet), a Commandbutton (Command1), and a textbox (Text1).
This is my code:VB Code:
Private Sub Command1_Click() Dim HTML As String HTML = Inet.OpenURL(Text1.Text) Debug.Print HTML End Sub Private Sub Form_Load() Text1.Text = "http://www.azlyrics.com/lyrics/craigdavid/onelastdance.html" End Sub Private Sub Inet_StateChanged(ByVal State As Integer) If State <> 7 Then Exit Sub Debug.Print State 'If I break here and wait 1 or 2 seconds and then resume it works fine End Sub
Maybe I should just code the program to wait 1 second.
What is the API call to Wait or Sleep or something?




Reply With Quote