Automating an ASP Page 
Author Message
 Automating an ASP Page

I am trying to automate an asp page by making it into a .vbs file and then
scheduling it in my server.

I can't seem to figure out how to instantuate the ADO Lib in vbs, or can
you?  In my asp page it works with:

METADATA
  NAME="Microsoft ActiveX Data Objects 2.5 Library"
  TYPE="TypeLib"
  UUID="{00000205-0000-0010-8000-00AA006D2EA4}"

But I get an error saying Server not defined.

Thanks for any help.

Todd P



Tue, 02 Nov 2004 06:26:09 GMT  
 Automating an ASP Page
1. use WScript.CreateObject() in place of Server.CreateObject()
2. use WSF files in place of .vbs files. that way you can include
typelibraries.

see the windows script host docs from
http://msdn.microsoft.com/scripting/

Atrax - MVP [Microsoft Most Valued Professional]

http://www.infinitemonkeys.ws/

Host with me for $100 a year!
http://www.atrax.ws/hosting/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Tue, 02 Nov 2004 07:42:38 GMT  
 Automating an ASP Page
Yes, using WSF files would be better IF you plan on including typelibraries
:) What sort of typelibraries are you talking about atrax?  As in Windows
TypeLibraries or VBScript includes?  Sorry, I am a bit confused as it is 5
til Hometime. :)

Mythran



Tue, 02 Nov 2004 07:55:51 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help with automating ASP pages

2. calling asp page from another asp page

3. New article on porting ASP pages to ASP .NET available on MSDN

4. Cannot run ASP pages anymore - COM+ and ASP error

5. ObjectContext vs. Passing ASP objects from ASP page

6. How to PRINT All pages of HTML Report from ans ASP Page

7. Automating MS Project 2000 through ASP and IIS

8. How to automate Outlook with email attachment from ASP Clinet using vb SCRIPT

9. Automated ASP

10. Automating IE In DLL For ASP (Server)

11. How to automate Outlook with email attachment from ASP Clinet using vb SCRIPT

12. automate activity on a web page

 

 
Powered by phpBB® Forum Software