码迷,mamicode.com
首页 > Windows程序 > 日排行
Git for windows 中文乱码解决方案
1.使用 git add 命令添加文件名含中文字符的文件时乱码类似:\316\304\261\276\316\304\265\265.txt解决方案:编辑C:\Git\etc\inputrc文件中对应的行,查找以下2行,并修改其值,原先:set output-meta offset convert-...
分类:Windows程序   时间:2014-11-28 15:54:36    阅读次数:231
【译】使用newInstance()来实例化fragment
我最近读到StackOverflow上面关于Fragment实例化的一个问题,觉得挺有趣的。new MyFragment()和MyFragment.newInstance()之间的差别是什么?应该用哪个呢?好问题。答案就是这篇文章的题目所建议的,这是一种合理的设计。在这种情况下,newInstanc...
分类:Windows程序   时间:2014-11-28 15:55:43    阅读次数:234
C#以管理员身份运行程序
代码:using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;namespace MyWebBrowser{ static class Program { ...
分类:Windows程序   时间:2014-11-28 15:59:16    阅读次数:194
win7 iis7 ftp配置
win7 iis7 ftp配置详解...
分类:Windows程序   时间:2014-11-28 16:23:17    阅读次数:249
C# DataTable WriteToExcel
1:帮助类 1 public class ExcelHander 2 { 3 private string AList = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; 4 private Workbook m_objBook; 5 ...
分类:Windows程序   时间:2014-11-28 17:38:35    阅读次数:414
windows8中visual studio 2010 编译boost1.57库
参考:http://www.cppfans.org/1317.htmlhttp://www.cnblogs.com/LinuxHunter/archive/2010/11/28/1890603.html1 从boost官网(http://www.boost.org)上下载最新的boost版本,现在最...
分类:Windows程序   时间:2014-11-28 17:39:46    阅读次数:261
C# CMD吊起执行 传参式执行类
1 class command 2 { 3 public static string startcmd(string command) 4 { 5 string output = ""; 6 try 7 ...
分类:Windows程序   时间:2014-11-28 17:42:25    阅读次数:251
Windows7下JDK+Tomcat的安装与配置
Windows7下JDK+Tomcat的安装与配置 2011-04-22 16:48:31| 分类: Windows7 | 标签: |举报 |字号大中小 订阅 今天在装tomcat是遇到了一个很常见的问题,即tomcat可以启动,但是无法访问tomcat主页。在网上查了很久才发现原来是没有开启tom...
分类:Windows程序   时间:2014-11-28 17:42:39    阅读次数:308
C#之Hello World(入门 )
C#是一种简单、现代、面向对象和类型安全的编程语言。C#由C和C++发展而来。C#(英文发音C sharp)牢固地植根于C和C++语言族谱中,是Microsoft专门为使用.NET平台而创建的。?简单C#具有C++所没有的一 个优势就是学习简单。该语言首要的目标就是简单。很多功能用C#实现很简单。在...
分类:Windows程序   时间:2014-11-28 17:42:18    阅读次数:280
win7下xampp的php_mongo扩展无法加载的问题
弄了2个小时,总算是找到原因了,本人win7下安装的xampp是最新版本的,版本号是多少没看到,php5.6,ts-vc11-x86在网上下载对应的最新扩展mongo1.6.0RC2,配置php.ini,增加extension=php_mongo.dll,讲php_mongo.dll文件拷贝到扩.....
分类:Windows程序   时间:2014-11-28 17:47:19    阅读次数:232
获取Windows SYSTEM用户权限
(1) 打开cmd,执行taskkill /f /im explorer.exe,关闭explorer。(2) 然后输入一下命令并回车(该工具可以去Sysinternals下载):PsExec -i -s -d explorer(3) 即可用SYSTEM身份启动Windows的Shell进程Expl...
分类:Windows程序   时间:2014-11-28 17:50:41    阅读次数:355
C#之控制台输入和输出
控制台输出C# 控制台程序一般使用 .NET FrameworkConsole类提供的输入/输出服务。Console.WriteLine("Hello World!"); 语句使用 WriteLine 方法。它在命令行窗口中显示其字符串参数并换行。其他 Console 方法用于不同的输入和输出操作。...
分类:Windows程序   时间:2014-11-28 17:50:59    阅读次数:182
C# Http文件下载公共类(支持断点续传)
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO; 6 using System.Net; 7 8 namespace X.....
分类:Windows程序   时间:2014-11-28 17:51:55    阅读次数:341
C#以管理员身份运行程序
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace MyWebBrowser { static class Program { /// ///...
分类:Windows程序   时间:2014-11-28 17:55:07    阅读次数:198
C#删除文件夹
这里说三种1这是最简单的方法 DirectoryInfo di = new DirectoryInfo(string Path); di.Delete(true); 注:path是你要删除的非空目录; true:你要删除里面所有的文件,包括文件夹和子文件夹2/// /// 删除非空文件夹 /// ....
分类:Windows程序   时间:2014-11-28 17:57:00    阅读次数:219
C# Datatable的Select()方法简介
DataTable是我们在进行开发时经常用到的一个类,并且经常需要对DataTable中的数据进行筛选等操作,下面就介绍一下Datatable中经常用到的一个方法——Select,微软提供了四个函数的重载,分别是Select()Select(string filterExpression)Selec...
分类:Windows程序   时间:2014-11-28 17:57:46    阅读次数:313
C# http请求相关的函数 HttpWebRequest: Post , Get ; PostAndRedirect
1、 通过HttpWebRequest发起一个Post请求,并获取返回数据 1 使用指定编码格式发送一个POST请求,并通过约定的编码格式获取返回的数据 2 3 Code highlighting produced by Actipro CodeHighlighter (freeware)htt.....
分类:Windows程序   时间:2014-11-28 17:59:18    阅读次数:344
安装Windows SDK 7.1失败
在Win7上安装Windows SDK 7.1,发生错误:Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.原因是系统中安装了VS2010 Redistributable,它的版...
分类:Windows程序   时间:2014-11-28 17:59:39    阅读次数:404
C# Table转换List 或List转换Table
1 public static class TableListHelper 2 { 3 4 /// 5 /// 转化一个DataTable 6 /// 7 /// 8 /...
分类:Windows程序   时间:2014-11-28 18:03:46    阅读次数:302
C# 通过HttpWebRequest 创建连接获取文件大小 判断Http类型的文件是否存在
1 public void DisposeReportData(SynFileInfo item) 2 { 3 MReport report = new MReport(); 4 report.文件名 = item.DocName; ...
分类:Windows程序   时间:2014-11-28 18:03:33    阅读次数:794
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!