首页 > Windows开发
IIS 编译器错误消息: CS0016未能写入输出文件“c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\roo
错误信息如下: 解决方案: 将windows/temp属性-安全-高级 添加IIS_USERS用户,同时编辑权限为完全控制(写入和编辑)即可。 注意(未遇到过): 要确保权限添加上了,win7下有可能系统为安全,会自动取消你所做的权限设置。先管理员取得所有权,然后在添加。...
分类:Windows开发   时间:2016-01-21 13:56:14    收藏:0  评论:0  赞:0  阅读:309
C# winform DataGridView操作(转)
C# DataGridView控件动态添加新行DataGridView控件在实际应用中非常实用,特别需要表格显示数据时。可以静态绑定数据源,这样就自动为DataGridView控件添加相应的行。假如需要动态为DataGridView控件添加新行,方法有很多种,下面简单介绍如何为DataGridVie...
分类:Windows开发   时间:2016-01-21 13:41:24    收藏:0  评论:0  赞:0  阅读:585
ubuntu rdesktop远程连接windows主机
rdesktop\-rclipboard:PRIMARYCLIPBOARD\-P\-z\-C\-a16\-5\-g1024x700\-uuser\-p‘mypasswd‘\192.168.1.168:3389&确保ubuntu下已经安装rdesktop
分类:Windows开发   时间:2016-01-21 12:12:54    收藏:0  评论:0  赞:0  阅读:256
Visual Studio 2015 Owin+MVC+WebAPI+ODataV4+Identity+Oauth2.0+AngularJS 1.x 学习笔记
2016年,.net 会有很多大更新 ASP.NET 5在此之前我都是用着古老的.net做开发的 (WebForm + IIS)为了接下来应对 .net 的新功能,我特地去学习了一下基本的 MVC Owin 等等.接下来我会针对主题写一些学习笔记.MVC & Owin setup step 1.Ne...
分类:Windows开发   时间:2016-01-21 12:06:23    收藏:0  评论:0  赞:0  阅读:528
Win64位操作系统无法运行暗黑2战网D2GS的解决办法
前几天想在我的Win7 x64系统里做个战网自己玩,搭建完毕后进入战网创建房间出现经典的问题,“排队1”。 原因很清楚,就是D2GS无法启动;但是使用之前的各种办法尝试后无果,后来查看D2GS同目录下的D2SVC.log文件发现,原来是D2GS.exe无法读取保存在注册表[HKEY_LOCAL...
分类:Windows开发   时间:2016-01-21 12:05:43    收藏:0  评论:0  赞:0  阅读:3405
Winform给TextBox设置默认值(获取焦点后默认值消失)
主要是通过TextBox的获取焦点Enter和失去焦点Leave两个事件来实现的,思路如下: 1.设置一个字符串常量,作为TextBox的默认值; 2.在界面的构造方法中将默认值赋值给TextBox,并设置TextBox的ForeColor为灰色; 3.编写获取焦点事件 TextBox_Enter(...
分类:Windows开发   时间:2016-01-21 11:56:13    收藏:0  评论:0  赞:0  阅读:317
Win10 IoT 9 Windows IoT Core扩展开发包
开发Windows IoT Core程序最好安装Windows IoT Core扩展包。没装之前安装后扩展包安装连接:https://visualstudiogallery.msdn.microsoft.com/55b357e1-a533-43ad-82a5-a88ac4b01dec
分类:Windows开发   时间:2016-01-21 11:54:13    收藏:0  评论:0  赞:0  阅读:227
[转载]El Capitan 中 SIP 介绍
这两天大家纷纷将 OS X 系统升级到了 El Capitan,然后发现,一些注入的工具无法使用了,某些系统目录无法使用了,第三方未签名的 kext 无法加载了,问题一堆堆的。这是因为,Mac OS X 在 10.11 中全面启用了 System Integrity Protection (SIP)...
分类:Windows开发   时间:2016-01-21 11:52:53    收藏:0  评论:0  赞:0  阅读:1126
C# 改变图片尺寸(压缩),Image Resize
/// /// Resize image with a directory as source /// /// Image location /// new height /// new width /// keep the aspect ratio /// return the center bi...
分类:Windows开发   时间:2016-01-21 11:51:23    收藏:0  评论:0  赞:0  阅读:238
[Windows Server 2012] 更改服务器密码
在技术服务过程中,我们发现不少用户不知道如何更改服务器密码。我们以Windows Server 2012为蓝本,Windows Server 2003/2008的操作方法类似。
分类:Windows开发   时间:2016-01-21 10:30:33    收藏:0  评论:0  赞:0  阅读:223
WinForm实现最小化右下角
首先,要在窗体里面加入这么两个控件,左边的是托盘控件,右边的是菜单控件。然后设置窗体的FormClosing事件:if (e.CloseReason == CloseReason.UserClosing) { e.Cancel = true; ...
分类:Windows开发   时间:2016-01-21 10:19:03    收藏:0  评论:0  赞:0  阅读:239
C#中使用7Z进行压缩解压
SevenZipSharp相关文档下载地址: http://sevenzipsharp.codeplex.com/releases/view/512541.解决方案中添加引用:SevenZipSharp.dll2.复制粘贴两个dll文件:7z.dll 7z64.dll,并将属性“复制到输出目录”修改...
分类:Windows开发   时间:2016-01-21 08:00:23    收藏:0  评论:0  赞:0  阅读:720
Windows 10中启用Bitlocker加密
Bitlocker是Windows自带的一个加密软件,微软从Vista系统时代开始推出,直到至今的Win10系统。不过可能有些用户此前对Bitlocker并不熟悉,在接触到Win10后也不知道Bitlocker该如何使用?我们接下来只是单独为E盘启用Bitlocker,1、右键E盘,选择“启用Bitlocker”,2、输入驱动..
分类:Windows开发   时间:2016-01-21 06:58:54    收藏:0  评论:0  赞:0  阅读:255
C#枚举
关于C#的Enum(枚举),以前用过,老觉得有很多的坑。如果Enum中有2个值相同,则会出现一些问题:1,enumPlatform:intEnumControlusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; namespaceEnumTest.ainy { ///<summary> ///名字=..
分类:Windows开发   时间:2016-01-21 06:58:23    收藏:0  评论:0  赞:0  阅读:272
C# lambda
1. lambdaexample 1 // Create a basic delegate that squares a number MyDelegate foo = (x) => x * x; Console.WriteLine(...
分类:Windows开发   时间:2016-01-21 06:56:03    收藏:0  评论:0  赞:0  阅读:220
C# delegate
1. delegateexample1class Program{ public delegate int MyDelegate(int i); int MyFunc(int i) { return i; } ...
分类:Windows开发   时间:2016-01-21 06:54:13    收藏:0  评论:0  赞:0  阅读:248
ehcache历史变迁及常用API的使用(转)
ehcache是一个用Java实现的使用简单,高速,实现线程安全的缓存管理类库,ehcache提供了用内存,磁盘文件存储,以及分布式存储方式等多种灵活的cache管理方案。同时ehcache作为开放源代码项目,采用限制比较宽松的Apache License V2.0作为授权方式,被广泛地用于Hib....
分类:Windows开发   时间:2016-01-21 01:47:53    收藏:0  评论:0  赞:0  阅读:355
[读书笔记]C#学习笔记五: C#3.0自动属性,匿名属性及扩展方法
前言这一章算是看这本书最大的收获了, Lambda表达式让人用着屡试不爽, C#3.0可谓颠覆了我们的代码编写风格. 因为Lambda所需篇幅挺大, 所以先总结C#3.0智能编译器给我们带来的诸多好处, 下一遍会单独介绍Lambda表达式. 这篇主要包括的内容有:自动属性,隐式类型,对象集合初始化,...
分类:Windows开发   时间:2016-01-21 00:11:33    收藏:0  评论:0  赞:0  阅读:290
C# 模拟登陆并继续访问其他页面
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Text;using System.Threading;namespace Co...
分类:Windows开发   时间:2016-01-21 00:09:52    收藏:0  评论:0  赞:0  阅读:313
c# 模拟提交带文件上传的表单
------WebKitFormBoundary8gsfyexbIoO5OYAa Content-Disposition:form-data;name="username" admin ------WebKitFormBoundary8gsfyexbIoO5OYAa Content-Disposition:form-data;name="submit" 登录 ------WebKitFormBoundary8gsfyexbIoO5OYAa Content-Disposition:form-data;n..
分类:Windows开发   时间:2016-01-20 22:58:34    收藏:0  评论:0  赞:0  阅读:221
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!