草庐IT

Microsoft

全部标签

解决插件在word中的宏禁用问题。MathType, Microsoft Office, powerpoint

背景:破解版的MicrosoftOffice,以及破解版的MathType。启动word后,会出现“宏禁用”的警告,并且MathType插件不可用,MathType对象也无法编辑,需要手动点击警告里的“启用”,主要是每次打开MS都得重新启用。解决方法:1、在word中依次点击“文件”-“选项”-“加载项”,找到mathtype的“位置”。这里的路径无法直接复制,建议在文件资源管理器里找到该dotm文件的上一级文件夹,然后复制完整路径。2、在“文件”-“选项”卡里,选择“信任中心”,打开“信任中心设置”然后在“信任中心”窗口中依次点击“受信任位置”-“添加新位置”在“MicrosoftOffic

c# - 在 C# 中检测系统从 sleep 中唤醒的事件

我需要检测系统电源状态模式。准确地说,我需要一个在Windows7从sleep中唤醒时触发的事件。我已经在使用:SystemEvents.PowerModeChanged+=SystemEvents_PowerModeChanged;但是这个事件的问题是它被触发了四次:可能是在计算机进入休眠模式时和计算机唤醒之后。我想要一个仅在计算机唤醒时引发的事件。这有什么事件吗? 最佳答案 SystemEvents.PowerModeChanged+=OnPowerChange;privatevoidOnPowerChange(objects,

c# - 在 C# 中检测系统从 sleep 中唤醒的事件

我需要检测系统电源状态模式。准确地说,我需要一个在Windows7从sleep中唤醒时触发的事件。我已经在使用:SystemEvents.PowerModeChanged+=SystemEvents_PowerModeChanged;但是这个事件的问题是它被触发了四次:可能是在计算机进入休眠模式时和计算机唤醒之后。我想要一个仅在计算机唤醒时引发的事件。这有什么事件吗? 最佳答案 SystemEvents.PowerModeChanged+=OnPowerChange;privatevoidOnPowerChange(objects,

c# - Visual Studio 2017 无法使用 "Unable to download installation files"脱机安装

因此,我使用以下命令在我的笔记本电脑上创建了VS2017Community的离线安装:vs_community.exe--layout"D:\Downloads\VSCommunity2017"--langen-US--addMicrosoft.VisualStudio.Component.CoreEditorComponent.WebSocketMicrosoft.VisualStudio.Workload.ManagedDesktopMicrosoft.VisualStudio.Workload.NetCrossPlatMicrosoft.VisualStudio.Workload

c# - Visual Studio 2017 无法使用 "Unable to download installation files"脱机安装

因此,我使用以下命令在我的笔记本电脑上创建了VS2017Community的离线安装:vs_community.exe--layout"D:\Downloads\VSCommunity2017"--langen-US--addMicrosoft.VisualStudio.Component.CoreEditorComponent.WebSocketMicrosoft.VisualStudio.Workload.ManagedDesktopMicrosoft.VisualStudio.Workload.NetCrossPlatMicrosoft.VisualStudio.Workload

c# - asp.net core 中的 TempData 为空

我正在尝试在asp.netcore中使用TempData但是我在TempData的get方法上得到一个空值。谁能告诉我如何在asp.netcore中使用TempData以下是我根据研究添加的内容。Project.json文件{"dependencies":{"Microsoft.NETCore.App":{"version":"1.0.1","type":"platform"},"Microsoft.AspNetCore.Mvc":"1.0.1","Microsoft.AspNetCore.Routing":"1.0.1","Microsoft.AspNetCore.Server.II

c# - asp.net core 中的 TempData 为空

我正在尝试在asp.netcore中使用TempData但是我在TempData的get方法上得到一个空值。谁能告诉我如何在asp.netcore中使用TempData以下是我根据研究添加的内容。Project.json文件{"dependencies":{"Microsoft.NETCore.App":{"version":"1.0.1","type":"platform"},"Microsoft.AspNetCore.Mvc":"1.0.1","Microsoft.AspNetCore.Routing":"1.0.1","Microsoft.AspNetCore.Server.II

c# - 安装 nuget 包 "same key has already been added."

我正在尝试安装Microsoft.Bcl.Build1.0.14nuget返回Installing'Microsoft.Bcl.Build1.0.14'.Successfullyinstalled'Microsoft.Bcl.Build1.0.14'.Adding'Microsoft.Bcl.Build1.0.14'toLeadTracker.Calendar.Uninstalling'Microsoft.Bcl.Build1.0.14'.Successfullyuninstalled'Microsoft.Bcl.Build1.0.14'.Installfailed.Rollingba

c# - 安装 nuget 包 "same key has already been added."

我正在尝试安装Microsoft.Bcl.Build1.0.14nuget返回Installing'Microsoft.Bcl.Build1.0.14'.Successfullyinstalled'Microsoft.Bcl.Build1.0.14'.Adding'Microsoft.Bcl.Build1.0.14'toLeadTracker.Calendar.Uninstalling'Microsoft.Bcl.Build1.0.14'.Successfullyuninstalled'Microsoft.Bcl.Build1.0.14'.Installfailed.Rollingba

c# - 为什么我不能在 Visual Studio 2015 中创建共享项目?

我下载了visualstudiocommunity2015。我试图创建一个共享项目,但出现错误:来自Microsoft.Windows.UI.Xaml.CSharp.targets的内容8.08.2$(TargetPlatformVersion)8.1我没有名为8.1的文件夹 最佳答案 一种解决方法是进行以下编辑:打开文件%ProgramFiles(x86)%\MSBuild\Microsoft\VisualStudio\v14.0\CodeSharing\Microsoft.CodeSharing.CSharp.targets(对