In XP's "Network Connections," I have created a Broadband connection,
Earthlink, that enables me to connect to the Earthlink server via DSL
whenever I select it and right-click on "Connect".
Is there any way to write a Rexx program to invoke this connection?
Such a Network Connection isn't strictly a "program," so I don't think
it has a progID that I can pass to OLEOBject~New.
Thanx in advance!
--
Steven L.
Email: sdli...@earthlinkNOSPAM.net
Remove the NOSPAM before replying to me.
>Hi all,
>I have OORexx on my Windows XP.
>In XP's "Network Connections," I have created a Broadband connection,
>Earthlink, that enables me to connect to the Earthlink server via DSL
>whenever I select it and right-click on "Connect".
>Is there any way to write a Rexx program to invoke this connection? Such
>a Network Connection isn't strictly a "program," so I don't think it has
>a progID that I can pass to OLEOBject~New.
>Thanx in advance!
You need to invoke rasdial.exe appropriately. You will need to call it
something like:
rasdial.exe Connection_Name User_Name Password
-- Dave
-----------------------------------------------------------
dhdurgee<at>verizon<dot>net
-----------------------------------------------------------
>In <5-GdnY0OEsjTsx3V...@earthlink.com>, on 07/18/2008
> at 01:46 AM, "Steven L." <sdli...@earthlink.net> said:
>
>>Hi all,
>>I have OORexx on my Windows XP.
>
>>In XP's "Network Connections," I have created a Broadband connection,
>>Earthlink, that enables me to connect to the Earthlink server via DSL
>>whenever I select it and right-click on "Connect".
>
>>Is there any way to write a Rexx program to invoke this connection? Such
>>a Network Connection isn't strictly a "program," so I don't think it has
>>a progID that I can pass to OLEOBject~New.
>
>>Thanx in advance!
>
>You need to invoke rasdial.exe appropriately. You will need to call it
>something like:
>
>rasdial.exe Connection_Name User_Name Password
I hadn't known about rasdial. I see that M$ gives us two bad
choices though. rasdial requires that the password be specified
on the "command line". rasphone will pop up the password prompt
window, but doesn't seem to let you go straight to dialing;
instead you have to click on (paraphrased), "Yes! That one! The
one I already told you on the command line that I wanted!"
--
Arthur T. - ar23hur "at" intergate "dot" com
Looking for a z/OS (IBM mainframe) systems programmer position
I believe if you leave the password off the rasdial command you will be
prompted, but I can't say that I have tried it as the idea was to automate
things.
>I believe if you leave the password off the rasdial command you will be
>prompted, but I can't say that I have tried it as the idea was to automate
>things.
I did test it, and I wasn't prompted. And, from the Windows
help:
>The following Rasphone.exe features are not supported with rasdial:
>
>Entries that require Terminal mode user entry during the dial sequence.
Thank you!
I did not know about rasdial.exe
so I'm glad I asked!