Guest User

Untitled

a guest
May 7th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 0.63 KB | None | 0 0
  1.        Do While ie.Busy
  2.              DoEvents
  3.           Loop
  4.           DoEvents
  5.           Sleep 2000
  6.           Text2.Text = ie.Document.body.outerhtml
  7.          If Text2.Text <> "" Then
  8.              lresult = SendMessage(ie.hWnd, WM_CLOSE, 0, 0&)
  9.          End If
  10.          If InStr(Text2, "UF") = 0 Then
  11.              Text2.Text = ""
  12.              Else
  13.                
  14.              uf = Cint(Request.form ("UF"))
  15.              valor = CInt(Text2)
  16.              resultado = uf + valor
  17.              
  18.              If Text14 = "" Then Text14 =   CStr(resultado)   &  ' Saldo Total
  19.              Text14.Text = Mid(Text14.Text, 1, InStr(1, Text14, " ") - 1)'
  20.         End If
  21.      End If
Add Comment
Please, Sign In to add comment