473,651 Members | 2,551 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Hi

How do you specfiy the version of the .net runtime libraries loaded for a
..net controls hosted in Internet Explorer 6? I have a control that's
designed to work with .NET 1.1, but after installing the VS.NET 2005 beta
the web browser embedded control is now running in the .NET 2.0 beta runtime
environment, and crashing.

Is it possible to have different IE hosted controls running side by side in
different versions of the .NET framework? How do you control which version
is used?

Regards
Mathew

Jul 21 '05 #1
3 3585
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:

<configuratio n>
<startup>
<supportedRunti me version="v1.1.4 322"/>
<supportedRunti me version="v1.0.3 705"/>
</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.)

Jul 21 '05 #2
Hi Steven

Thank you for the prompt answer, although you'll understand if I don't see
it as good news. One might expect users of IE to use hosted controls from
multiple sources and designed for various version of .NET, is there a way to
ensure they work in the future? Assuming new versions of the .NET framework
continue to contain a small number of breaking changes I don't see how the
system can work reliably without side by side execution of different
versions of the runtime. Have I missed something important? What's your
advice to control writers?

Regards
Mathew

"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:5U******** *****@cpmsftngx a10.phx.gbl...
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:

<configuratio n>
<startup>
<supportedRunti me version="v1.1.4 322"/>
<supportedRunti me version="v1.0.3 705"/>
</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.)

Jul 21 '05 #3
Hi Mathew,

Thanks for your followup. Yes, providing a config file for the iexplorer
does seems a bit senseless since it's hard for a serverside service to
control the clientside enviroment. However, this is actually limited by the
net's configuration mechanism which is application based rather than
assembly based. That means the application which host the assembly
determine which version of assembly(includ e the clr cor libs) to load.

As mentioned in the following article:

#Side-by-Side Execution of the .NET Framework
http://msdn.microsoft.com/library/en...enet.asp?frame
=true

unmanaged application such as COM host or IE hosted, we need to provide a
config file for the exe so as to determine the runtime for the assemlies
hosted in them.

In addition, sometimes we can also expose a complete .net exe application
through the http web url and provide a config file for it, thus, when the
clientside download the application , it'll also dowload the associated app
config file which can used to specify the target runtime version.

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.)

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1208
by: Mathew | last post by:
Hi How do you control the version of the .net runtime libraries loaded for a ..net control hosted in Internet Explorer 6? I have a control that's designed to work with .NET 1.1, but after installing the VS.NET 2005 beta the web browser embedded control is now running in the .NET 2.0 beta environment, and crashing. Is it possible to have different IE hosted controls running side by side in different versions of the .NET framework? ...
5
4286
by: Mike | last post by:
Is it possible to specify the target framework version in the Web.Config file? I'm planning on installing the Whidbey Beta2 framework soon and want to explicitly make sure I'm pointing to the 2003 framework for some existing web applications. Thanks, Mike
2
5853
by: Steve Pierce | last post by:
I am having some issues with a runtime dropdownlist in a datagrid. The issue is that I cannot get ViewState to fill the selected index of a runtime dropdown properly on postback. I do not want to use template columns as they seem to be a little difficult to create at runtime. Any assistance would be very greatly appreciated. private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if...
2
2391
by: Nathan Fisher | last post by:
Hi all. I hope you can help I am using VB.net 1.1 on an XP machin The windows forms application has an MDI form (that is a fixed width and height) that loads individual forms for display I have a Window form that when in design mode looks just the way I want it When i run the application, that one particular form has all the controls on it are moved to the left each of the controls are anchored to the top left and they are not docked ...
3
362
by: Mathew | last post by:
Hi How do you specfiy the version of the .net runtime libraries loaded for a ..net controls hosted in Internet Explorer 6? I have a control that's designed to work with .NET 1.1, but after installing the VS.NET 2005 beta the web browser embedded control is now running in the .NET 2.0 beta runtime environment, and crashing. Is it possible to have different IE hosted controls running side by side in different versions of the .NET...
0
1720
by: Nonee | last post by:
Hello- I have a form with the mediaplayer referenced to play mp3's and avi's and I believe that is what is causing the problem. I am not sure, but I am hoping. Anyway, I "published" the vb.net app and moved it to another computer and I get the following error msg when I load the form with the mediaplayer on it. I upgraded this project from a standard vb app to the .net version (vb express anyway) and that is when the problem arose. ...
1
1128
by: Bill Nguyen | last post by:
I added a button control at runtime to a webbrowser control (also created at runtime) How do I specify the action when user clicks on this button since it's not available in design time? Thanks a million Bill -------------------
4
2695
by: Bill Fuller | last post by:
I am trying to determine the type for ActiveControls using 3rd party controls (Infragistics in this case) during runtime and getting a rather odd return type at runtime for the UltraWinEditor. Code shippet is as follows: if ( ActiveControl.GetType() == typeof(UltraTextEditor)) { UltraTextEditor tb = (UltraTextEditor) this.ActiveControl; if (tb.Multiline == true)
8
4926
by: GiJeet | last post by:
hello, is it possible to determine the browser and version using javascript at runtime and apply a browser specific external .css file? If so, I'd appreciate code sample so I can see how it's done. TIA G
0
8349
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8695
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8460
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.