Run VB script using code.

  • Thread starter Thread starter RC
  • Start date Start date
R

RC

Hi,

I have a VB script on hand which is quite long so I don't
want to repeat the same thing in a form.
Can I call a VB script using form programming code?
Thanks!

Regards,
RC
 
Hi,


You can shell execute, or follow the hyperlink made of the script file
name itself (with its extension, associated to execution of vbscript).
Following an hyperlink is like running the application "associated" with the
file extension... You have somehow more control if you call the ShellExecute
yourself.


For details about ShellExecute API, see http://www.mentalis.org/ as
example.



Hoping it may help,
Vanderghast, Access MVP
 
Back
Top