Hello, I'm trying to find a specific window and put it on top, but I'm stuck, I don't know how to do this. This is my code:

vb.net Code:
  1. Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
  2.     Private Declare Auto Function SetActiveWindow Lib "user32" (ByVal hwnd As IntPtr) As Integer
  3.  
  4.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  5.         Dim hwnd As IntPtr = FindWindow("MozillaUIWindowsClass", vbNullString)
  6.         SetActiveWindow(hwnd)
  7.     End Sub

Thanks a lot..!