标签: windows-8

如何将Windows 8应用程序发布到Windows应用商店?

如何将Windows 8和WP8应用程序发布到Windows应用商店?我使用visual studio 2012来开发应用程序.请告诉我一些detials和步骤.非常感谢你.

c#-4.0 windows-8 windows-store

-1
推荐指数
1
解决办法
1070
查看次数

为什么管理员权限不允许我以编程方式禁用UAC?

我正在尝试制作一个基本检查程序来进行黑客攻击.黑客入侵代码,并需要确保禁用UAC.有没有一种特殊的方式我必须用Windows 8做到这一点?

************** Exception Text **************
System.UnauthorizedAccessException: Cannot write to the registry key.
   at System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource resource)
   at Microsoft.Win32.RegistryKey.EnsureWriteable()
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
   at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
   at Basic_Checker.Form1.linkLabel5_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e) in C:\Users\Jennifer\Documents\Visual Studio 2010\Projects\BasicChecker v1.1\BasicChecker\Form1.cs:line 386
   at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
   at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded …
Run Code Online (Sandbox Code Playgroud)

c# uac windows-8

-1
推荐指数
1
解决办法
316
查看次数

VS 2015 RC中无法使用Windows应用商店应用

我正在尝试为Windows 8创建我的第一个Store应用程序.

我安装了VS2015 RC和适用于Windows 8 的Windows软件开发套件(我按照本页的说明操作).不幸的是,我无法在VS中看到Windows Apps模板,这与链接显示的不同存储应用模板.

我在Windows 7机器上运行VS2015 Enterprise RC.

我错过了什么?谢谢

c# windows-8 windows-store-apps visual-studio-2015

-1
推荐指数
1
解决办法
1298
查看次数

Silverlight应用程序将无法在Windows 8预览RSS上运行

我尝试了一个可以在Win7盒子上运行的应用程序.使用Win8预览版,IE只要求重新运行Silverlight Install.同样的事情发生在Silverlight网站的PlanetX演示游戏中.是否有一个技巧让Win8预览版运行它或者是真的Silverlight正在被杀掉HTML5/Script(yuckkk !! @#$)如果不是这样,那么MS需要大声说出来.作家遍布整个网络,Silverlight已经死亡/遗留故事.有人请告诉我,如果需要,我可以减少损失..

silverlight windows-8

-2
推荐指数
1
解决办法
701
查看次数

Windows 8 metro应用程序 - 使用C#通过OK按钮弹出警报?

我正在编写一个注册屏幕,当登录信息不正确时会弹出错误提示.

.net c# windows popup windows-8

-4
推荐指数
1
解决办法
1万
查看次数

foreach循环计数器不工作

我在处理foreach循环时遇到问题.我不确定为什么,但是当我调试它时,我的颗粒数等于零.它应该是103.当我运行程序时,它不会显示任何结果.我的代码中有没有遗漏的东西?

码:

List<Pellets> pellets = new List<Pellets>();
bool gotPellet = false;
foreach (var pellet in pellets)
{
    if (pellet.Visibility == Visibility.Visible)
    {
        var rectPellet = pellet.GetRect(cnvMain);
        var pelletCellPoint = pellet.GetCellPoint();

        rectPacman.Intersect(rectPellet);
        gotPellet = true;

        pellet.Visibility = Visibility.Collapsed;

        AddPellet(pellet);
        mazeValues[(int)pelletCellPoint.X, (int)pelletCellPoint.Y] = ' ';
        break;
    }
}
Run Code Online (Sandbox Code Playgroud)

我正在使用Windows 8 metro app c#

c# windows-8

-8
推荐指数
1
解决办法
137
查看次数