Re: Auto Dial Internet



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.


.



Relevant Pages

  • Auto Dial Internet
    ... 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 ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Stop windows service copy data and then start service
    ... You don't need vbscript to do that, as you can schedule batch files. ... server and for multiple servers. ... sc \\SomeServer start SomeService ...
    (microsoft.public.windows.server.scripting)
  • Re: Automatic reports?
    ... I've combined it with a vbscript that opens the webpage on a schedule which then saves the file to the harddrive. ... we just tell the SQL team--and those wizards figure it out. ... ticketting system pulls data from SMS to populate ...
    (microsoft.public.sms.inventory)
  • Re: Delete Replication History
    ... Have you tried recreating the schedule? ... I fear, though, that you're going to have to rebuild your replica ... the TSI Synchronizer that will run a synch, ... you can kill the scheduled VBScript. ...
    (microsoft.public.access.replication)
  • scheduling a VBScript
    ... I cannot for the life of me, schedule a VBScript to execute at X time of day ... I even tried seting up a SQL job to execute the script but ... Any ideas on how to schedule a VBScript to run at a specified interval? ...
    (microsoft.public.scripting.vbscript)

Loading