how open Internet explore in vc++
-
I am using this code WinExec("C:\Program Files\Internet Explorer\IEXPLORE.EXE",SW_SHOW); but its not work properly
Regard's Kaushik
-
I am using this code WinExec("C:\Program Files\Internet Explorer\IEXPLORE.EXE",SW_SHOW); but its not work properly
Regard's Kaushik
Use ShellExecute(). WinExec is provided only for compatibility with 16-bit Windows. ShellExecute( 0, "open","C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" ,0,0,SW_SHOW);
nave [OpenedFileFinder]
-
Use ShellExecute(). WinExec is provided only for compatibility with 16-bit Windows. ShellExecute( 0, "open","C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE" ,0,0,SW_SHOW);
nave [OpenedFileFinder]
-
I am using this code WinExec("C:\Program Files\Internet Explorer\IEXPLORE.EXE",SW_SHOW); but its not work properly
Regard's Kaushik
Y_Kaushik wrote:
WinExec("C:\Program Files\Internet Explorer\IEXPLORE.EXE",SW_SHOW);
You failed to use double backslashes.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Y_Kaushik wrote:
WinExec("C:\Program Files\Internet Explorer\IEXPLORE.EXE",SW_SHOW);
You failed to use double backslashes.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
I am using this code WinExec("C:\Program Files\Internet Explorer\IEXPLORE.EXE",SW_SHOW); but its not work properly
Regard's Kaushik
You could try using ShellExecute()... You could implement it as follows: ShellExecute(NULL, "open", "IEXPLORE.EXE", "", "C:\Program Files\Internet Explorer\", SW_SHOWDEFAULT); This would open up Internet Explorer. To read more about ShellExecute() look at the documentation on MSDN Hope this helps! --PerspX