Hello, all. We need to schedule an ASP page to run hourly/daily, which
generates a static HTML (*.htm) page. Is this possible with VBS? If so, are
there any examples out there? Thank you much.

Re: Schedule ASP page by McKirahan

McKirahan
Mon Jul 19 14:29:24 CDT 2004

"dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
news:ONogL#abEHA.1656@TK2MSFTNGP09.phx.gbl...
> Hello, all. We need to schedule an ASP page to run hourly/daily, which
> generates a static HTML (*.htm) page. Is this possible with VBS? If so,
are
> there any examples out there? Thank you much.


Under Win98, I use the Task Scheduler; for example: "Run = "

C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://{your-domain}\{your-page}.asp



Re: Schedule ASP page by Brian

Brian
Mon Jul 19 14:37:25 CDT 2004

Just to clarify here...it is not possible to schedule on the server. The web
works on a "pull" paradigm - it cannot "push".

So, what you need to do is look at getting your client to refresh every hour.
See the html tag <META> with a refresh parameter.

Brian


RE: Schedule ASP page by Frank

Frank
Mon Jul 19 16:21:02 CDT 2004

David,

1. Create a vb executable project.
2. Browse on menu Project/references
3. Check "Microsoft internet Controls"
4. Add this control to your form and get a name like "ctlINet"
5. On sub Form_Load
Dim strUrl As String
Dim urlData
ctlINet.Protocol = icHTTP
strUrl = "http://.../xxx.asp" 'Address of your asp page
urlData = ctlINet.OpenURL(strUrl)
6. Compile it and generate an exe file like mySchedule.exe
7. Setup schdule mySchedule.exe in Command (DOS) as you want.

Hope it is help.

Frank

"dw" wrote:

> Hello, all. We need to schedule an ASP page to run hourly/daily, which
> generates a static HTML (*.htm) page. Is this possible with VBS? If so, are
> there any examples out there? Thank you much.
>
>
>

Re: Schedule ASP page by dw

dw
Tue Jul 20 07:03:47 CDT 2004

Thank you, McKirahan, Brian, and Frank for the invaluable information. Very
useful. Thanks :-)

"Frank" <Frank@discussions.microsoft.com> wrote in message
news:33D6310A-8E53-409D-905A-96618FE1D156@microsoft.com...
> David,
>
> 1. Create a vb executable project.
> 2. Browse on menu Project/references
> 3. Check "Microsoft internet Controls"
> 4. Add this control to your form and get a name like "ctlINet"
> 5. On sub Form_Load
> Dim strUrl As String
> Dim urlData
> ctlINet.Protocol = icHTTP
> strUrl = "http://.../xxx.asp" 'Address of your asp page
> urlData = ctlINet.OpenURL(strUrl)
> 6. Compile it and generate an exe file like mySchedule.exe
> 7. Setup schdule mySchedule.exe in Command (DOS) as you want.
>
> Hope it is help.
>
> Frank
>
> "dw" wrote:
>
> > Hello, all. We need to schedule an ASP page to run hourly/daily, which
> > generates a static HTML (*.htm) page. Is this possible with VBS? If so,
are
> > there any examples out there? Thank you much.
> >
> >
> >