Ajay krishna 0 Newbie Poster 11 Years Ago I want a programe witch automaticaly open a html typed file . Please help me to create a c++ programe How to open internet explorer using a c++ programe c++ 0 0 Reply with Quote Share Recommended Answers Collapse Answers Answered by rubberman 1,355 in a post from 11 Years Ago Or they could use an environment variable or user preferences to determine the browser of choice, and do that, as in system(getenv(DEFBROWSER)). Jump to Post All 3 Replies kvothetech 0 Newbie Poster 11 Years Ago system("iexplorer.exe"); though you may want to look into calling power shell so you can use the persons browser of choice. 0 1 Reply with Quote Share rubberman 1,355 Nearly a Posting Virtuoso Featured Poster 11 Years Ago Or they could use an environment variable or user preferences to determine the browser of choice, and do that, as in system(getenv(DEFBROWSER)). 0 0 Reply with Quote Share nksridevi 0 Newbie Poster 11 Years Ago If it is on windows platform, you can use ShellExecute. That will open the file in the default browser. 0 0 Reply with Quote Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
kvothetech 0 Newbie Poster 11 Years Ago system("iexplorer.exe"); though you may want to look into calling power shell so you can use the persons browser of choice. 0 1 Reply with Quote Share
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster 11 Years Ago Or they could use an environment variable or user preferences to determine the browser of choice, and do that, as in system(getenv(DEFBROWSER)). 0 0 Reply with Quote Share
nksridevi 0 Newbie Poster 11 Years Ago If it is on windows platform, you can use ShellExecute. That will open the file in the default browser. 0 0 Reply with Quote Share