View Single Post
  #4 (permalink)  
Old August 20th, 2003, 12:49 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Rich,

Well, in that case you may want to take a look at .vbs or .jse files

These files are more or less the same as ASP pages (they use the same scripting language, like VBScript or JavaScript) but they run at the desktop, and not through a server.

You can use more or less the same code and objects (Recordsets, Connections, etc.) except for ASP intrinsic stuff, like Response and browser related stuff, like alert(Use WScript.Echo instead).

The good thing about a .vbs file is that it's very easy to schedule its execution through the Windows Scheduled Task feature.

All you need to do to get going is create a text file, rename it with a .vbs extension and open it in Notepad. You don't need <% and %> delimiters, you can place the VBScript or JScript right inside the file. Theoretically, you could get away with copying and pasting ASP code.

Useful links:

http://msdn.microsoft.com/library/de...ng11132000.asp
http://msdn.microsoft.com/library/de...ting061499.asp

Let me know if you need more advice....

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote