Re: Auto Dial Internet
- From: Kellie Fitton <KELLIEFITTON@xxxxxxxxx>
- Date: Thu, 14 Aug 2008 11:18:16 -0700 (PDT)
On Aug 14, 3:36 am, "Akash"<a...@xxxxx> wrote:
Hi
I have a this broadband connection which i want to
auto-dial everyday at 2am and disconnect it everyday at 8am
I can schedule to run a VBScript everyday at those times but i am not sure
how exactly to do it using WMI or VBScript is there a way?
or is there any other way but i dont want to use any 3rd Party Task
Schedulers to do the same.
Thanx
Hi,
In general (unless you have a proxy), the default web browser
settings serve to control auto-dial connection to the internet.
You can create a program that starts a timer and launch/close
the default web browser accordingly.
You can use the following APIs to create a timer and starts the
default web browser on your machine.
CreateWaitableTimer()
SetWaitableTimer()
WaitForSingleObjectEx()
CancelWaitableTimer()
FindExecutable()
CreateProcess()
WaitForSingleObject()
CloseHandle()
http://msdn2.microsoft.com/en-us/library/ms682492.aspx
http://msdn2.microsoft.com/en-us/library/ms686289.aspx
http://msdn2.microsoft.com/en-us/library/ms687036.aspx
http://msdn2.microsoft.com/en-us/library/ms681985.aspx
http://msdn2.microsoft.com/en-us/library/ms647374.aspx
http://msdn2.microsoft.com/en-us/library/ms682425.aspx
http://msdn2.microsoft.com/en-us/library/ms687032.aspx
http://msdn2.microsoft.com/en-us/library/ms724211.aspx
Kellie.
.
- References:
- Auto Dial Internet
- From: Akash
- Auto Dial Internet
- Prev by Date: Auto Dial Internet
- Next by Date: Set Gateway Metric to Automatic via WMI
- Previous by thread: Auto Dial Internet
- Next by thread: Set Gateway Metric to Automatic via WMI
- Index(es):
Relevant Pages
|
Loading