|Yes this is very possible, both ways can work. What you need to do for the first case is detect if ie is open, there are many ways to do that but i would probably prefer to check if the ie process is running 'iexplorer.exe' |
to detect a keystroke (not my prefered method) you would need to use getasynckeystate function and check when the f keys are pressed.
basically what you need to do is make a second application which will start with windows. the purpose of this application is to detect the condition you require for your vb6 app to run. by which i mean, detect is ie is open or detect is f key is pressed.
if either condition is true you can then use the shell command to run your vb6 application.
we can help you with this, but obviously no one will do the work for you, if you can show us what you have done so far we can try our best to assist.