IE in kiosk mode problem

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top