Im trying to make this shop upgrader, its pretty simple. The problem im having is, when I start the program in vb6 to test it, I enter my login info, and hit login and its says Run-time error '13': Type mismatch So I hit debug, and it highlights this part of my code. Code (Text): If neoLogin(Wrapper, Form1) Then This is the login I am using, just in case it might help Code (Text): Private Sub cmdLogin_Click() If neoLogin(Wrapper, Form1) Then strHTML = Wrapper.GetWrapper("http://www.neopets.com/market.phtml?type=edit") cmdUpgrade.Enabled = True End If End Sub