Hi
I have a program (.exe) which I want to run from a Button on a form. I have managed to create a .bat file and put the command in there and can execute this using the 'Shell' option. The problem is, is that its ugly and puts the users 'Off'. I have created a shortcut (.pif) file and this can run it minimised, which is a large improvment. However, I can't run this from this Button (at least I don't know how. )
My question is, Is it possible to run external programs without the DOS Shell OR How do I run this Shortcut (.PIF) using a Button on a Form.
Thanks In Advance
Ricko
I have a program (.exe) which I want to run from a Button on a form. I have managed to create a .bat file and put the command in there and can execute this using the 'Shell' option. The problem is, is that its ugly and puts the users 'Off'. I have created a shortcut (.pif) file and this can run it minimised, which is a large improvment. However, I can't run this from this Button (at least I don't know how. )
My question is, Is it possible to run external programs without the DOS Shell OR How do I run this Shortcut (.PIF) using a Button on a Form.
Thanks In Advance
Ricko