
Originally Posted by
swakwan11
.
utorrent is u
Torrent.exe
maybe same case with steam? I don't have it installed. (I think spelling is correct; see below)
Does "steam.exe" expect command-line arguments? Right Click on your shortcut to the game and check the path.
ex.
C:\Users\...\uTorrent\uTorrent.exe <-- no command-line-arguments being passed to the program
C:\Users\...\uTorrent\uTorrent.exe -option1=true -option2=true <--2 are being passed
->ShellExecute has a parameter for 'command line arugments' if that's the issue.
------------------------------------------------
There are 2 ways (that I can think of) to have a program start on Login
Putting it in the "Startup" folder. (I can't remember folder path)
Adding a registry key (where? I can't remember) - I think there is a separate location for "All Users" and "1 specific user".
edit: not sure how I missed that...you're not using absolute file paths..how could it know which file to run? What if multiple files have the same name? ..I'd use absolute file paths, or do as mentioned below.