Hack Forums
[.NET] (VB.NeT) Admin PaneL Finder S.Code - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] (VB.NeT) Admin PaneL Finder S.Code (/showthread.php?tid=5815956)



(VB.NeT) Admin PaneL Finder S.Code - B0RU70 - Mar 25, 2018

Admin Panel Finder Project ;)
Source Code:
Code
Public Class Form1


   Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

End Sub
   Private Sub tarama()

       If WebBrowser1.DocumentText.Contains("input") Then

WebBrowser1.Navigate(TextBox1.Text & ListBox2.SelectedItem)

           ListBox1.Items.Add(TextBox1.Text & ListBox2.SelectedItem)

ListBox2.SelectedIndex += -1


       End If
   End Sub


           ListBox2.SelectedIndex += 1

Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
       Try
           tarama()
       Catch ex As Exception

       Timer1.Start()

Timer1.Stop()

       End Try
   End Sub

   Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
   End Sub


End Class

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
       Timer1.Stop()

   End Sub

Download (Program):

dosyaupload.com/m5pr
dosya.tc/server12/rfn25f/AdMiN_PaneL_Finder.zip.html
anonfile.com/u4H8J1d2bd/AdMiN_PaneL_Finder.zip



RE: (VB.NeT) Admin PaneL Finder S.Code - Ninja - Mar 25, 2018

Since you provided a download, it is fine, but next time when you post source code of a form class, you might either want to include a screenshot of the form with the names of the controls, or name the controls something very descriptive. Because if I read the code, I see controls named ListBox1 and ListBox2, and I have to guess from the rest of the code what these are for.


RE: (VB.NeT) Admin PaneL Finder S.Code - B0RU70 - Mar 25, 2018

next time i will pay attention :(


RE: (VB.NeT) Admin PaneL Finder S.Code - theogg - Mar 25, 2018

Take a look at Web Requests and remove the overhead the web control brings this will improve performance greatly (https://docs.microsoft.com/en-us/dotnet/framework/network-programming/how-to-request-data-using-the-webrequest-class).

Why in the catch block do you invoke start (Timer.Start) before then invoking stop?

Name your controls
https://msdn.microsoft.com/en-us/library/aa263493(v=vs.60).aspx

If you'd like some links to video and/or books PM me. Keep it up.