Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any way to dial up a Network Connection in OORexx?

0 views
Skip to first unread message

Steven L.

unread,
Jul 18, 2008, 1:46:57 AM7/18/08
to
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: sdli...@earthlinkNOSPAM.net
Remove the NOSPAM before replying to me.

m...@privacy.net

unread,
Jul 18, 2008, 8:04:40 AM7/18/08
to
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

-- Dave
-----------------------------------------------------------
dhdurgee<at>verizon<dot>net
-----------------------------------------------------------

Arthur T.

unread,
Jul 18, 2008, 10:01:20 AM7/18/08
to
In Message-ID:<48808760$1$quqhetrr$mr2...@news.individual.net>,
m...@privacy.net wrote:

>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

m...@privacy.net

unread,
Jul 18, 2008, 11:32:04 AM7/18/08
to
In <tu7184h6ce2m67c3p...@4ax.com>, on 07/18/2008

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.

Arthur T.

unread,
Jul 18, 2008, 3:17:35 PM7/18/08
to
In Message-ID:<4880b7ae$2$quqhetrr$mr2...@news.individual.net>,
m...@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.

Steven L.

unread,
Jul 18, 2008, 7:37:24 PM7/18/08
to
m...@privacy.net wrote:
> 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

Thank you!

I did not know about rasdial.exe
so I'm glad I asked!

0 new messages