What I've done for an app that gets stock quotes is use the webbrowser control (hidden) to load the login page then enter the username and password using code and then simulate pressing the Login button.

Below is a snipet of my code. HTH

VB Code:
  1. Dim SiteURL as String
  2.  
  3. SiteURL = "http://yoursite.com"
  4.  
  5. WB1.Navigate2 "" & SiteURL & "" 'load login screen
  6.  
  7. 'while page is loading do nothing
  8. Do While WB1.ReadyState <> READYSTATE_COMPLETE
  9.     DoEvents    
  10. Loop
  11.  
  12. 'Now fill in login details
  13. WB1.Document.All("username").Value = "" & UserName & "" 'username
  14. WB1.Document.All("password").Value = "" & Password & "" 'password
  15.  
  16. WB1.Document.getElementById("Submit").Click 'login button clicked
  17.  
  18. 'while page is loading do nothing
  19. Do While WB1.ReadyState <> READYSTATE_COMPLETE
  20.     DoEvents    
  21. Loop
  22.  
  23.  
  24. 'At this point you should now be logged in