CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    4

    CWebbrowser(1) IE3/IE4

    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?



  2. #2
    Guest

    Re: CWebbrowser(1) IE3/IE4

    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;
    }




  3. #3
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: CWebbrowser(1) IE3/IE4

    What is RegistryKey? Is that not Java?

    Wayne



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured