Advertisement
agentsix1

Just some code

Apr 29th, 2017
38,191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.82 KB | None | 0 0
  1.     Public Function CheckSoundDatabase()
  2.         'System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 8")
  3.         wait(5000)
  4.         Dim wbCFU As New WebBrowser
  5.         wbCFU.Navigate(New Uri("https://pastebin.com/raw/QPbFTnmr"))
  6.         While wbCFU.IsBusy
  7.             wait(100)
  8.         End While
  9.         wait(2000)
  10.         Try
  11.             Dim clean_me() = Split(wbCFU.DocumentText, "<PRE>")
  12.             Dim clean_me2() = Split(clean_me(1), "</PRE>")
  13.             Dim clean_me3() = Split(clean_me2(0), vbCrLf)
  14.             For Each pre As String In clean_me3
  15.                 Dim out() = Split(pre, vbCrLf)
  16.             Next
  17.         Catch ex As Exception
  18.             MsgBox("The sound database server may be offline try again later", vbInformation, "Error")
  19.         End Try
  20.  
  21.     End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement