PDA

Click to See Complete Forum and Search --> : Calling an Exe from VBS


bohare
Jan 5th, 2001, 11:02 AM
I have an exe which I devolped in VB6 for Outlook 2000 which performs a variety of tasks. I would idealy like to to place a button on a contact form in outlook. When this button is pressed it should call the exe (through VBS). I've tried to use the Shell boject to call the exe but when I enter the line:
Set temp=CreateObject("Shell.Application")

and receive the error:
"ActiveX Component cannot create component : Shell.App ..."

Because of this I'm not sure if this question has to deal mostly with ActiveX or VBS. Any tips or ideas to help me towards my goal?