[AccessD] A2003:Start a dial up connection

Stuart McLachlan stuart at lexacorp.com.pg
Thu Apr 6 07:54:14 CDT 2006


On 6 Apr 2006 at 22:35, Darren DICK wrote:

> Hi All
> In an Access app I have - I need to start up the local dial up connection
> This if for my personal machine - using dial up only
> 
> I used to know (probably can find it again) the command line
> for starting the default dial up screen - but it starts the screen that
> requires
> 
> someone to click the 'Connect' or 'Dial'  button
> 

Simplest way is to Shell out to Rasdial.exe
Shell("Rasdial ConnectionName UserName Password")
to disconnect
Shell("Rasdial ConnectionName /Disconnect")


-- 
Stuart





More information about the AccessD mailing list