This code works fine in win xp

but in vista when i execute the compiled exe it open IE normally

I mean not hidden

another thing if i change the code to make it open notepad .. it works fine

so can any body help me making it work with vista ??

Code:
program StartIE;

uses
Windows;

var
StartupInfo: TStartupInfo;
ProcessInfo: TProcessInformation;
begin
GetStartupInfo(StartupInfo);
StartupInfo.wShowWindow := SW_HIDE;
CreateProcess('C:\Program Files\Internet Explorer\iexplore.exe','',nil,nil,false,CREATE_NO_WINDOW,nil,nil,StartupInfo,ProcessInfo);
end.
thanks in advance