IE in kiosk mode problem

  • Thread starter Thread starter placentiusz
  • Start date Start date
P

placentiusz

I use vs2005 and this code but ie open in normal windows mode not in kiosk
mode. What is wrong?

STARTUPINFO siStartupInfo;
PROCESS_INFORMATION piProcessInfo;
char *m_Process="C:\\Program Files\\Internet Explorer\\iexplore.exe";
char *cmd_param = "-k www.microsoft.com";

memset(&siStartupInfo, 0, sizeof(siStartupInfo));
memset(&piProcessInfo, 0, sizeof(piProcessInfo));
siStartupInfo.cb = sizeof(siStartupInfo);

CreateProcess(m_Process,cmd_param, NULL,
NULL,FALSE,NORMAL_PRIORITY_CLASS, NULL, NULL, &siStartupInfo, &piProcessInfo);

Jacek
 
Back
Top