Try this Code (Text): Dim strHTML As String strHTML = HTTPWrapper1.PostWrapper("http://login.myspace.com/index.cfm?fuseaction=login.process", "email=" & txtemail & "&password=" & txtpass)
aha ill try that EDIT: thats the same as pankin or someything EDIT: Again that works but idk about something
Code (Text): Dim strHTML As String strHTML = HTTPWrapper1.PostWrapper("http://login.myspace.com/index.cfm?fuseaction=login.process", "email=" & txtemail.Text & "&password=" & txtpass.Text) Mph.. now? Cuz is this the code
Ok ok.... make a textbox named "txtemail" (no quotes) and a textbox named "txtpass" (no quotes) then add your HTTPwrapper and name it "HTTP" (dont forget the moules that come with HTTP wrapper) then make a command button, double click it and put this code in it Code (Text): Dim strHTML As String strHTML = HTTP.PostWrapper("http://login.myspace.com/index.cfm?fuseaction=login.process", "email=" & txtemail & "&password=" & txtpass) that would log you in. now to see if you logged in or not, make a label and name it "lblusr" then make a command button. THen double click the command button and add this code Code (Text): Dim Stuff As String lblusr = HTTP.GetWrapper("http://home14.myspace.com/index.cfm?fuseaction=user") Stuff = GetBetween(lblusr, "Hello, ", "!") lblusr = Stuff and thats the code that parses thh name that your loged in as. oh yeah you will need this function, add it to the very top of your code, away from every other code. Code (Text): Public Function GetBetween(Source As String, start As String, Finish As String) a = InStr(1, Source, start) + Len(start) If a = 0 Then GetBetween = "" Else B = InStr(a, Source, Finish) If B = 0 Then GetBetween = "" Else GetBetween = Mid(Source, a, B - a) End If End If End Function and if you followed it all correctyl, you would be loged in!