calling a vbs script from within an Access form

  • Thread starter Thread starter Joseph
  • Start date Start date
J

Joseph

Is there a way to call a vbs script from within an Access form. I tried
using an appliccation calll, but it seems to only recognize .exe. pif etc.
 
Joseph said:
Is there a way to call a vbs script from within an Access form. I
tried using an appliccation calll, but it seems to only recognize
.exe. pif etc.

You can use Application.FollowHyperlink (which ought to give you a
security warning first) or you can call the ShellExecute API using code
such as that found at

http://www.mvps.org/access/api/api0018.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top