Hi,

How to get the default Web Browser location in vista & windows7 though programming.

ofstream test("Test.htm");
  test.close();
  char path[MAX_PATH+1];
  FindExecutable("Test.htm",NULL,path); //Include <windows.h>
  remove(test);

That ought to do it.

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.