Example Code

Programmatically Login to Windows Live Mail using ActiveX in LabVIEW

Code and Documents

Attachment

Overview
This VI enables the user to log into their Windows Live/ Hotmail account via LabVIEW with the use of the ActiveX Controls.

 


Description
The code uses the ActiveX Property Nodes and Invoke Nodes to retrieve the HTML data from the Windows Live Login page and insert values for the E-mail Address and Password into this data. Currently, The VI calls a SubVI "Press Enter Button.vi" which subsequently calls a Return Key Press on the keyboard using DLLs.

 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Unzip the attached folder to your computer
  2. Open the VI "Log into Hotmail ActiveX 2012 NIVerified.vi"
  3. Input the Email address and the password
  4. Run the program

 

Additional Information or References
VI Snippet

 Block Diagram.PNG

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

David B
Applications Engineer
National Instruments UK

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.