PowerPoint 2003 macro to auto run .exe file
Posted on 2006-03-20
I have a PowerPoint presentation and on one of the slides I have a button to play an .exe file, I have located in the same folder. When I click to play the file the usual warning message pops up:
Some files can contain viruses..yada yada yada....Would you like to open this file? um, yes...
is there a way around this? i saw an another post adding this into the macro for the page, but it didn't work:
RetVal = shell("C:\myfile.exe",1)
My last resort has been to set my security to "LOW" temporarily when I want to run PowerPoint presentations; which is very frequent. I'd rather add a macro w/the correct coding to have it run automatically. Just in case I forget to change the security settings back.