Posted on 2003-02-22
I posted this problem earlier with 20 points and no-one answered. If someone can find a solution than I will give both points to them.
What I need to know is how to execute the microsoft office (word, excel, etc) shortcuts you can find in the start menu, there are other application similar but this is the best way I can refer to my problem.
They aren't the same as normal shortcuts, if you right click on them they don't have any shortcut properties. If you run them with shell or shellexec nothing happens, or they return an error.
Any help would be appreciated.
Comment from AKbor75
i really don't know what you mean...
what are 'not normal shortcuts' ?
i tested a shotcut with shellexecute, and that works fine.
let's say i have a shortcut in c:\ called test (which e.g. pints to c:\test.txt). shellexecute "c:\test" works fine.
shell doesn't work, cos that only works with executables.
so what exactly is your problem?
Comment from Drizzt95
02/21/2003 08:33PM PST
If you go into your start menu, click on programs, then right click on something like microsoft word and go to properties you will see that it is defined as a shortcut, but actually has not shortcut destination.
Then if you try to execute that shortcut file using shellexec then you will receive an error message. For some reason it cannot be executed. I've tried it on many different pc's and i get the same result.