Getting text from text & password boxes

I am trying to write a program that will extract text from text boxes [normal and passworded (with *s)].


How do I do this? The program intends to read text from other applications.


This is part of my plan of writing a program to automate dial-up connections.

The users need not press enter or click connect.


My program would do the dial-up and would send the username and password by extracting them from the boxes in the dial-up window.


Comments

  • : I am trying to write a program that will extract text from text boxes [normal and passworded (with *s)].


    : How do I do this? The program intends to read text from other applications.


    : This is part of my plan of writing a program to automate dial-up connections.

    : The users need not press enter or click connect.


    : My program would do the dial-up and would send the username and password by extracting them from the boxes in the dial-up window.


    Call GetWindowText() using the window handle of the controls.


    HTH,


    Brent Worden

    http://www.Brent.Worden.org/




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories