Click to See Complete Forum and Search --> : Passing text to windows
Lamia
March 27th, 2000, 05:30 AM
Hi
I bring up a dial up networking connection with : Shell("Rundll32.exe rnaui.dll,rnadial") etc but i want to pass
a different phone number to it from my application instead of the one it already has. Can anyone please tell me
how to do this keep in mind please that I am a beginner.
Thank you
AndyK
March 27th, 2000, 03:12 PM
You can make that window active and use SendKeys to send text to that window
AppActivate "Dial-Up" '(or whatever name is there)
SendKeys "5555555",true
you can also use SendKeys text1.text, etc. You can also use SendKeys "{tab}" to press tab key and move around the text boxes until you get the focus on whatever textbox you need.
Programs and requests for them for FREE.
http://falstok.fly.to
Lamia
March 28th, 2000, 12:04 AM
Thank you very much for your help it works but when it passes the text (55555555) in the password field of the dial up networking
window. Is there a way without using 'tab', to automatically put the (5555555) in the phone number field????
Thank you for your help
Lamia
March 28th, 2000, 12:18 AM
Thank you very much for your help it works, but it passes the text (55555555) to the password field (which is the active
field when I open the dial up window. Is there a way without using 'tab', to automatically put the (5555555)
in the phone number field (not the active field) ????
Thank you for your help again
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.