this application has requested the runtime to term

this application has requested the runtime to term,第1张

运行程序,或者打开浏览器访问网站的时候为什么总是出现:

this application has requested the runtime to terminate it in an unusual way

please contact the aplication's support team for more information

就此问题下面来分析。

首先打开开始运行窗口

1、打开开始菜单,在运行栏输入cmd,按回车键,打开运行命令窗口。

2、在命令窗口里输入: cd %windir%\system32 命令按回车键。这个命令的意思是说找到system32文件夹路径。

3、继续输入: Regsvr32 Msxml3dll 再按回车键执行,这个过程运行完毕需要等待一段时间。一般以上总是出现:this application has requested the runtime这个问题就能解决。

重置浏览器

1、一般如果是运行浏览器的时候出现:this application has requested the runtime这个问题那么就先重置IE浏览器,再看看是否还是报告这个错误。

2、工具-》internet选择-》高级-》去掉√ 启用第三方浏览器扩展-》点击“还原高级设置和重置”。

打开程序利用兼容性模式

1、有些程序在win7下运行,尤其是运行比较老款游戏的时候也会报错:

this application has requested the runtime

这个时候我们需要利用兼容性模式来运行该程序。

2、右键点击该程序在桌面上的图标-》选择“属性”。

3、在d出的窗口上选择“兼容性”,勾选“以兼容模式运行这个程序”,再点击确定。如果兼容模式能运行这个程序则说明该程序在win7下不能运行,所以才报错。

#include<stdioh> 

int sub(int m, int n)

{

if (m % 3 != 0)

return n;

if (m % 10 == 5 || (m % 100) / 10 == 5 || m / 100 == 5)

{

printf("%d\t", m);

return (n + 1);

}

}

int main()

{

int m = 0, k;

for (k = 105; k <= 995; k++)

m = sub(k, m);

printf("\nn=%d\n", m);

}

运行结果如下:

using System;

using SystemCollectionsGeneric;

using SystemComponentModel;

using SystemData;

using SystemDrawing;

using SystemLinq;

using SystemText;

using SystemWindowsForms;

namespace WinDemo

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

            thisLoad += Form1_Load;

        }

        List<Person> persons = new List<Person>();

        void Form1_Load(object sender, EventArgs e)

        {

            personsAdd(new Person() { Name = "顾若尘", Age=20, Phone="312321321" });

            personsAdd(new Person() { Name = "史进", Age = 19, Phone = "312321321" });

            personsAdd(new Person() { Name = "陈新", Age = 21, Phone = "312321321" });

            personsAdd(new Person() { Name = "田三", Age = 24, Phone = "312321321" });

            personsAdd(new Person() { Name = "李四", Age = 18, Phone = "312321321" });

        }

        class Person

        {

            public string Name { get; set; }

            public int Age { get; set; }

            public string Phone { get; set; }

        }

        private void button1_Click(object sender, EventArgs e)

        {

            thisdataGridView1DataSource = persons;

        }

private void button2_Click(object sender, EventArgs e)

        {

            var query = personsWhere(p => pAge >= 19 && pAge <= 20)ToList();

            thisdataGridView1DataSource = query;

        }

private void button3_Click(object sender, EventArgs e)

        {

            var query = personsWhere(p => pNameContains("顾"))ToList();

            thisdataGridView1DataSource = query;

        }

    }

}

以上就是关于this application has requested the runtime to term全部的内容,包括:this application has requested the runtime to term、c语言的程序补充问题、c#程序问题等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/9746647.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-01
下一篇 2023-05-01

发表评论

登录后才能评论

评论列表(0条)

保存