Any way to dial up a Network Connection in OORexx?

Any way to dial up a Network Connection in OORexx?

Post by Steven L » Sat, 19 Jul 2008 14:46:57


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: XXXX@XXXXX.COM
Remove the NOSPAM before replying to me.
 
 
 

Any way to dial up a Network Connection in OORexx?

Post by me » Sat, 19 Jul 2008 21:04:40

In < XXXX@XXXXX.COM >, on 07/18/2008
at 01:46 AM, "Steven L." < XXXX@XXXXX.COM > said:





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
-----------------------------------------------------------

 
 
 

Any way to dial up a Network Connection in OORexx?

Post by Arthur T » Sat, 19 Jul 2008 23:01:20

In Message-ID:<48808760$1$quqhetrr$ XXXX@XXXXX.COM >,



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
 
 
 

Any way to dial up a Network Connection in OORexx?

Post by me » Sun, 20 Jul 2008 00:32:04

In < XXXX@XXXXX.COM >, on 07/18/2008
at 10:01 AM, Arthur T. < XXXX@XXXXX.COM > said:





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
-----------------------------------------------------------
 
 
 

Any way to dial up a Network Connection in OORexx?

Post by Arthur T » Sun, 20 Jul 2008 04:17:35

In Message-ID:<4880b7ae$2$quqhetrr$ XXXX@XXXXX.COM >,



I did test it, and I wasn't prompted. And, from the Windows
help:



--
Arthur T. - ar23hur "at" intergate "dot" com
Looking for a z/OS (IBM mainframe) systems programmer position
 
 
 

Any way to dial up a Network Connection in OORexx?

Post by Steven L » Sun, 20 Jul 2008 08:37:24


Thank you!

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



--
Steven L.
Email: XXXX@XXXXX.COM
Remove the NOSPAM before replying to me.