RE: how do you specify the .NET runtime version for controls embedded in web browsers?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 01/24/05


Date: Mon, 24 Jan 2005 03:37:36 GMT

Hi Mathew,

Thanks for your posting. As for the specifying .net runtime version for IE
host winform control problem you mentioned, it is a bit difficult to do it
at serverside.
Generally the .net framework provide us the ability to specify the runtime
version via app.config file. However, this approach is for application
based, which means we can't specify a config setting for an assembly.
And as for the IE hosted winform control, the winform controls' host
application is the internet explore( iexplorer.exe) . So currently the only
means for specifying the runtime version hosting the IE hosted control is
providing a application config file for the iexplorer.exe. The file's
named should be
"IEXPLORER.EXE.CONFIG" which contains the following setting:

<configuration>
   <startup>
      <supportedRuntime version="v1.1.4322"/>
      <supportedRuntime version="v1.0.3705"/>
   </startup>

</configuration>

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)