Visual Basic Classic
--
Questions
--
Followers
Top Experts
here is the Winsock Code
Dim StrPostData As String
StrPostData = "Username=testingskeeve&Pa
"&siteId=nscpenusmail&newS
"&authLev=2&submitSwitch=1
StrPostData = "POST /_cqr/login/login.psp" & vbCrLf & "Referer: http://my.screenname.aol.com/_cqr/login/login.psp?siteId=nscpenusmail&authLev=2&mcState=initialized&triedAimAuth=y" & vbCrLf & _
"Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-fl
"Content-Length: " & Len(StrPostData) & vbCrLf & vbCrLf & StrPostData
Debug.Print StrPostData
MyWinsock.Send StrPostData
Here is the inet code
strPostData = "Username=testingskeeve&Pa
"&siteState=&siteId=nscpen
"&authLev=2&submitSwitch=1
'prepare teh header string
strHeader = "Content-Type: application/x-www-form-url
'open the url
Inet1.Execute "http://my.screenname.aol.com/_cqr/login/login.psp", "POST", strPostData, strHeader
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
"Content-Type: application/x-www-form-url
"User-Agent: Microsoft URL Control - 6.00.8196" & vbCrLf & _
"Host: my.screenname.aol.com" & vbCrLf & _
"Content-Length: " & Len(strPostData) & vbCrLf & _
"Cache-Control: no-cache" & vbCrLf & _
vbCrLf & _
strPostData & vbCrLf
If that doesn't work it must be the cookies. the WinInet control automatically sends/(sets?) cookies for you. If you use the winsock control you'll have th grab the cookies manually.
- Code -
Dim StrPostData As String
StrPostData = "Username=testingskeeve&Pa
"&siteId=nscpenusmail&newS
"&authLev=2&submitSwitch=1
strPostData = "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-fl
"Content-Type: application/x-www-form-url
"User-Agent: Microsoft URL Control - 6.00.8196" & vbCrLf & _
"Host: my.screenname.aol.com" & vbCrLf & _
"Content-Length: " & Len(strPostData) & vbCrLf & _
"Cache-Control: no-cache" & vbCrLf & _
vbCrLf & _
strPostData & vbCrLf
- End Code -

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Visual Basic Classic
--
Questions
--
Followers
Top Experts
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.