Lots of Points!! Passport login through VB

If you can tell me how to be able to authenticate via MS Passport through Visual Basic (not .Net) I will give you 300 points!

I just need to pass the authentication info and make sure they are a valid passport user.
Who is Participating?
samopalConnect With a Mentor Commented:
Dim ie As Object
Set ie = CreateObject("InternetExplorer.application")
ie.Visible = True
ie.navigate "http://login.passport.com"
Do While ie.busy
If InStr(ie.document.location, "login.passport.com") = 0 Then
    Debug.Print "Already logged OR connection problems"
    exit sub
end if

ie.document.Form1.login.Value = "Your e-mail"
ie.document.Form1.passwd.Value = "Your password"

Do While ie.busy

If InStr(ie.document.location, "login.passport.com") = 0 Then
    Debug.Print "logged"
    Debug.Print "not logged"
End If
Richie_SimonettiIT OperationsCommented:
jaisongreenAuthor Commented:
Is there any other way to do this without launching an IE session? I can make the IE session not show, but sometimes now MS has these stupid poppup windows show, so that will show too.
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Richie_SimonettiIT OperationsCommented:
Setting ie.visible property to false could help.
jaisongreenAuthor Commented:
No, what I mean.. is this option wont work for me, becuase I have to access the passport object and get info like the Passport ID of that user.
Richie_SimonettiIT OperationsCommented:
I think if you choose to install passport on your machine, the program would put some dll/ocx on the system that you could use throghout project, references and so for.

You can't change the email address! Would you believe it?

When you register using a specific an email address YOU CAN'T CHANGE IT! So bang goes your ability to switch isp's or companies.

For those poor sods like me who had a perfectly working hotmail account and was required to use Passport to authenticate on MSDN which I did I am now faced with multuiple Passports and this is the official line I have just received. NOTE THE "subscribe again" comment!!!!

From Passport help.....

Hello Matthew,
Thank you for writing Microsoft Passport.
I apologize for the inconvenience you experience.
Let me try to explain this as directly as possible.  Your Hotmail and MSN Passports cannot be merged.  What you can do is to stop using one of the accounts and stick to the other one.  
The email ******** is not yet a registered Passport account.  What you can do is to register this account and then subscribe again to the newsletters you prefer.
Please understand that Passport is designed as a single sign in.  Having multiple Passport accounts will have some inconveniences.
I again apologize.

Hope this puts you off

Asta CuCommented:
Somewhat off-topic, but important.

****************************** ALERT********************************
WindowsUpdate - Critical Update alert March 28, 2002 from Microsoft
Microsoft Security Bulletin MS02-015  
28 March 2002 Cumulative Patch for Internet Explorer
Originally posted: March 28, 2002
Who should read this bulletin: Customers using Microsoft® Internet Explorer
Impact of vulnerability: Two vulnerabilities, the most serious of which would allow script to run in the Local Computer Zone.
Maximum Severity Rating: Critical
Recommendation: Consumers using the affected version of IE should install the patch immediately.
Affected Software:
Microsoft Internet Explorer 5.01
Microsoft Internet Explorer 5.5
Microsoft Internet Explorer 6.0

Thought you'd appreciate knowing this.
Asta CuCommented:
Hopefully you've already been helped with this question, but thought you'd appreciate knowing this.  It would be great if you could bring this question to a conclusion, awarding the experts above who helped you with points or a comment to them on your status today.

WindowsUpdate has new updates for .NET users; Details follow - Microsoft .NET Framework
The .NET Framework is a new feature of Windows. Applications built using the .NET Framework are more reliable and secure. You need to install the .NET Framework only if you have software that requires it.

For more information about the .NET Framework, see http://www.microsoft.com/net. (This site is in English.)

System Requirements
The .NET Framework can be installed on the following operating systems:
Windows 98
Windows 98 Second Edition (SE)
Windows Millennium Edition (Windows Me)
Windows NT 4.0® (Workstation or Server) with Service Pack 6.0a
Windows 2000 with the latest service pack installed (Professional, Server, Datacenter Server, or Advanced Server)
Windows XP (Home Edition and Professional)
You must be running Internet Explorer version 5.01 or later for all installations of the .NET Framework.

To install the .NET Framework, your computer must meet or exceed the following software and hardware requirements:

Software requirements for server operating systems:
MDAC 2.6
Hardware requirements:
For computers running only a .NET Framework application, Pentium 90 mHz CPU with 32 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.
For server operating systems, Pentium 133 mHz CPU with 128 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.
Recomended software:
MDAC 2.7 is recommended.
Recommended hardware: For computers running only a .NET Framework application, Pentium 90 MHz CPU with 96 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.
For server operating systems, Pentium 133 MHz CPU with 256 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.

How to use -> Restart your computer to complete the installation. No other action is required to run .NET Framework applications. If you are developing applications using the .NET Framework, you can use the command-line compilers or you can use a development environment, such as Visual Studio .NET, that supports using the .NET Framework.

How to uninstall
To uninstall the .NET Framework: Click Start, point to Settings, and then click Control Panel (In Windows XP, click Start and then click Control Panel.).
Click Add/Remove Programs.
Click Microsoft .NET Framework (English) v1.0.3705 and then click Change/Remove.
More here  http://www.microsoft.com/net/

The .NET topic is being considered for addition to our All Topics link soon, so this may interest you as well:

EXPERTS POINTS are waiting to be claimed here:  http://www.experts-exchange.com/commspt/Q.20277028.html


Hi jaisongreen,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept samopal's comment(s) as an answer.

jaisongreen, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
DanRollins -- EE database cleanup volunteer
Comment from expert accepted as answer

E-E Moderator
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.