| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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! -- Steven L. Email: sdlitvin@earthlinkNOSPAM.net Remove the NOSPAM before replying to me. |
|
#2
| |||
| |||
| In <5-GdnY0OEsjTsx3VnZ2dnUVZ_vqdnZ2d@earthlink.com>, on 07/18/2008 at 01:46 AM, "Steven L." <sdlitvin@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 -- Dave ----------------------------------------------------------- dhdurgee<at>verizon<dot>net ----------------------------------------------------------- |
|
#3
| |||
| |||
| In Message-ID:<48808760$1$quqhetrr$mr2ice@news.individual.net >, me@privacy.net wrote: >In <5-GdnY0OEsjTsx3VnZ2dnUVZ_vqdnZ2d@earthlink.com>, on 07/18/2008 > at 01:46 AM, "Steven L." <sdlitvin@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 |
|
#4
| |||
| |||
| In <tu7184h6ce2m67c3pqjqs1oj4qu2cqd7t7@4ax.com>, on 07/18/2008 at 10:01 AM, Arthur T. <arthur@munged.invalid> said: >In Message-ID:<48808760$1$quqhetrr$mr2ice@news.individual.net >, >me@privacy.net wrote: >>In <5-GdnY0OEsjTsx3VnZ2dnUVZ_vqdnZ2d@earthlink.com>, on 07/18/2008 >> at 01:46 AM, "Steven L." <sdlitvin@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!" 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. -- Dave ----------------------------------------------------------- dhdurgee<at>verizon<dot>net ----------------------------------------------------------- |
|
#5
| |||
| |||
| In Message-ID:<4880b7ae$2$quqhetrr$mr2ice@news.individual.net >, me@privacy.net wrote: >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. -- Arthur T. - ar23hur "at" intergate "dot" com Looking for a z/OS (IBM mainframe) systems programmer position |
|
#6
| |||
| |||
| me@privacy.net wrote: > In <5-GdnY0OEsjTsx3VnZ2dnUVZ_vqdnZ2d@earthlink.com>, on 07/18/2008 > at 01:46 AM, "Steven L." <sdlitvin@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 Thank you! I did not know about rasdial.exe so I'm glad I asked! -- Steven L. Email: sdlitvin@earthlinkNOSPAM.net Remove the NOSPAM before replying to me. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.