dbTalk Databases Forums  

VBS Script

comp.databases.ms-access comp.databases.ms-access


Discuss VBS Script in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rogelio P?rez via AccessMonster.com
 
Posts: n/a

Default VBS Script - 01-04-2005 , 11:50 AM






Could some body tell how to run a VBScript from an Access(2003) application?
Thanks

--
Message posted via http://www.accessmonster.com

Reply With Quote
  #2  
Old   
Eric Schittlipz
 
Posts: n/a

Default Re: VBS Script - 01-04-2005 , 06:23 PM






"Rogelio P?rez via AccessMonster.com" <forum (AT) AccessMonster (DOT) com> wrote in
message news:83f474b02bd04d21ac76c44e9b5d9e21 (AT) AccessMonster (DOT) com...
Quote:
Could some body tell how to run a VBScript from an Access(2003)
application?
Thanks

You could, for example, call:
Shell "wscript.exe C:\Test.vbs"
But in general writing code using vba gives more flexibility than using
vbscript due to error-handling, typed variables, etc. Therefore, if you
have any choice in the matter, I would convert this vbs file to vba code as
part of your application code.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.