Advertisement
Guest User

Untitled

a guest
Jul 4th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. For Each Item As Object In ListBox1.SelectedItems
  2. TextBox2.AppendText(Item.ToString + Environment.NewLine)
  3. Next
  4. Dim str As String = TextBox2.Text
  5. Dim leftPart As String = str.Split(":")(0)
  6. Dim test As String = TextBox2.Text
  7. Dim phrase As String = test.Substring(test.IndexOf(":"c) + 1)
  8.  
  9. WebControl1.ExecuteJavascript("document.getElementById('email').value=""" + leftPart + """;")
  10. Dim leftpar2 As String
  11. leftpar2 = phrase
  12. MsgBox(phrase)
  13. Try
  14. WebControl1.ExecuteJavascript("document.getElementById('pass').value=""" + leftpar2 + """;")
  15. Catch ex As Exception
  16. MsgBox(ex.ToString)
  17. End Try
  18.  
  19. Dim phrase As String = "test"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement