Bah! Had some code missing as I had several methods applied in the temp project. Here is the fully working code.

Place in a standard module and change the window title to what ever site you want.

VB Code:
  1. Option Explicit
  2.  
  3. Private Type RECT
  4.     Left As Long
  5.     Top As Long
  6.     Right As Long
  7.     Bottom As Long
  8. End Type
  9.  
  10. Private Type POINTAPI
  11.     x As Long
  12.     y As Long
  13. End Type
  14.  
  15. Private Type WINDOWPLACEMENT
  16.     Length As Long
  17.     flags As Long
  18.     showCmd As Long
  19.     ptMinPosition As POINTAPI
  20.     ptMaxPosition As POINTAPI
  21.     rcNormalPosition As RECT
  22. End Type
  23.  
  24. Private Declare Function SetWindowPlacement Lib "user32.dll" ( _
  25.                         ByVal hwnd As Long, _
  26.                         ByRef lpwndpl As WINDOWPLACEMENT) As Long
  27.  
  28. Private Declare Function FindWindow Lib "user32.dll" Alias "FindWindowA" ( _
  29.                         ByVal lpClassName As String, _
  30.                         ByVal lpWindowName As String) As Long
  31.  
  32. Private Declare Function SetActiveWindow Lib "user32.dll" ( _
  33.                         ByVal hwnd As Long) As Long
  34.  
  35.  
  36. Private Const SW_SHOWNORMAL As Long = 1
  37. Private Const SW_SHOWMINIMIZED As Long = 2
  38. Private Const SW_SHOWMAXIMIZED As Long = 3
  39.  
  40. Private Sub Main()
  41.     On Error GoTo MyError
  42.     Dim lRet As Long
  43.     Dim lRet2 As Long
  44.     Dim wPlace As WINDOWPLACEMENT
  45.     Dim rRect As RECT
  46.    
  47.     Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE", vbNormalFocus
  48.     Do While lRet = 0
  49.         lRet = FindWindow("IEFrame", "VBForums - Visual Basic and VB .NET Discussions and More! - Microsoft Internet Explorer")
  50.     Loop
  51.     wPlace.Length = Len(wPlace)
  52.     wPlace.showCmd = SW_SHOWNORMAL
  53.     rRect.Left = 0
  54.     rRect.Top = 0
  55.     rRect.Right = (Screen.Width / Screen.TwipsPerPixelX) / 2
  56.     rRect.Bottom = (Screen.Height / Screen.TwipsPerPixelY) / 2
  57.     wPlace.rcNormalPosition = rRect
  58.     lRet2 = SetWindowPlacement(lRet, wPlace)
  59.     SetActiveWindow lRet
  60.     Exit Sub
  61. MyError:
  62.     MsgBox Err.Number & " - " & Err.Description
  63. End Sub