Click to See Complete Forum and Search --> : CWebbrowser(1) IE3/IE4


Achim Enders
May 20th, 1999, 03:19 AM
I want to have an application with the webbrowser ActiveX CWebbrowser for IE3 and CWebbrowser1 for IE4. How can I find out what IE is installed on the PC?

May 28th, 1999, 08:28 AM
BOOL _IsIE40()
{
BOOL bfRC = FALSE;
RegistryKey orkVersion("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer" );
TCHAR *ptcTemp = orkVersion.Value( "Version" );
if ( ptcTemp ) {
ptcTemp[ 4 ] = '\0';
double dlVersion = atof( ptcTemp );
bfRC = ( dlVersion >= 4.71 );
free( ptcTemp );
}
m_bfIsIE40 = bfRC;
return bfRC;
}

Wayne Fuller
May 28th, 1999, 10:27 AM
What is RegistryKey? Is that not Java?

Wayne