AccessGuruCarl
Programmer
Does anyone have a sample piece of code showing how to use Windows Script in VBA
I've added the reference...
Windows Script Host Object Module
But don't know how to properly code the declares.
If i run the script as .vbs it works, but I'd like to do this in code, and delete the .vbs script file.
I pasted the .vbs script behind a command button, but it doesn't seem to work.
The script requires an argument to run, and I don't want to give this info out if possible....
I can pull the argument from a table, and would like to do everything on the fly.
Thanks in advance...
AccessGuruCarl
Programmers helping programmers
you can't find a better site.
I've added the reference...
Windows Script Host Object Module
But don't know how to properly code the declares.
If i run the script as .vbs it works, but I'd like to do this in code, and delete the .vbs script file.
I pasted the .vbs script behind a command button, but it doesn't seem to work.
The script requires an argument to run, and I don't want to give this info out if possible....
I can pull the argument from a table, and would like to do everything on the fly.
Thanks in advance...
AccessGuruCarl
Programmers helping programmers
you can't find a better site.