ShellExecuteEx()
-
How can I start application, which name is starting from "home" using ShellExecuteEx()? If I try to run "homesite5" it brings me an IE window with "homesite5" as an url. It does the same for all names, starting from "home". It isn't depends of such file existance and availability via %PATH%. And as I found, "Start"->"Run..." acts the same way. Just type "home" there... p.s. I'm using win2k sp2. win98 seems to have the same bug (or feature?) With the best regards, Vitaly.
-
How can I start application, which name is starting from "home" using ShellExecuteEx()? If I try to run "homesite5" it brings me an IE window with "homesite5" as an url. It does the same for all names, starting from "home". It isn't depends of such file existance and availability via %PATH%. And as I found, "Start"->"Run..." acts the same way. Just type "home" there... p.s. I'm using win2k sp2. win98 seems to have the same bug (or feature?) With the best regards, Vitaly.
-
i had never noticed this before.. it seems your best bet is to put it in quotes with an absolute path.. like "c:\homesite5.exe" still a newb.. cut me some slack :P -dz
-
quotes will not help... absolute path will, but i don't know it. the reason I'm using ShellExecuteEx() is cause I need to start different apps knows only their names not paths. winword, notepad etc... With the best regards, Vitaly.
There are registry keys for installed apps : hklm/software/microsoft/windows/currentversion/app paths
How low can you go ?
(MS rant)