最近做了一个小程序,要求在控制台中记录程序运行的异常并输出到指定的文件夹中,以下是我的具体的程序代码: public static void ErrorLog(Exception ex) { string FilePath = "/ErrorLog.txt"; ...
分类:
Windows开发 时间:
2015-05-19 18:32:23
收藏:
0 评论:
0 赞:
0 阅读:
395
var url = "http//:www.baidu.com/" var name = "百度"; var iWidth = 1100;//弹窗宽度 var iHeight = 700; //弹窗高度 var iTop = (window.screen.availH...
分类:
Windows开发 时间:
2015-05-19 18:27:25
收藏:
0 评论:
0 赞:
0 阅读:
475
IE, Safari, Opera, and Chrome all provide screenLeft and screenTop properties that indicate the window's location in relation to the left and top of.....
分类:
Windows开发 时间:
2015-05-19 18:25:27
收藏:
0 评论:
0 赞:
0 阅读:
315
关于 C# 中 Exception 对象的属性,在程序出现异常时,需要记录异常的信息,并把信息保存起来或输出,以方便准确定位异常的根源,以下是 Exception 对象的属性名称 说明公共属性 Data 获取一个提供用户定义的其他异常信息的键/值对的集合。公共属性 HelpLink 获取...
分类:
Windows开发 时间:
2015-05-19 18:17:25
收藏:
0 评论:
0 赞:
0 阅读:
357
一. SelectNodes,SelectSingleNode总是返回NULL 下面以一个简单的xml为例: Invalid Login 下面尝试读取error节点的内容XmlNode errorNode = xmldoc.SelectSingleNode("/message/error"); .....
分类:
Windows开发 时间:
2015-05-19 18:16:55
收藏:
0 评论:
0 赞:
0 阅读:
390
If a page contains frames, each frame has its own window object and is stored in the frames collection. Within the frames collection, the window obj.....
分类:
Windows开发 时间:
2015-05-19 18:15:19
收藏:
0 评论:
0 赞:
0 阅读:
281
感谢@zhoumy,提的建议。使用指定命名规则确实是个好方案!以下直接给出修改后的代码。如需查看前篇点击跳转1、修改后的规则实体 public class KeyboardShortcutsRule { public KeyboardShortcutsRule() ...
分类:
Windows开发 时间:
2015-05-19 18:10:58
收藏:
0 评论:
0 赞:
0 阅读:
258
系统的安装方法有各种各样,一键GHOST优盘版也是其中的一种系统安装方法,也是俗称的U盘系统安装。下面豆豆来详细介绍下使用一键GHOST优盘版系统安装方法。一、安装:所谓"优盘",本软件特指所有USB磁盘,包括普通U盘、读卡器+存储卡、移动硬盘等。安装步骤:1_初始化 (一般情况下,U盘出厂时已经做...
分类:
Windows开发 时间:
2015-05-19 18:08:44
收藏:
0 评论:
0 赞:
0 阅读:
447
@echo off color 0atitle win7一键清理系统垃圾echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★echo.★☆ ☆★echo.★☆ ☆★echo.★☆ 清理系统垃圾文件,请稍等.....
分类:
Windows开发 时间:
2015-05-19 18:05:58
收藏:
0 评论:
0 赞:
0 阅读:
283
#include<stdio.h>
//#definesz1"hello"
intmain(intargc,char*argv[])
{
//charsz1[8]="hello";
//constchar*sz1="hello";
charsz1[8];
charsz2[8];
memset(sz1,0x00,sizeof(sz1));
strcpy(sz1,"hello");
printf("sz1=[%s]\n",sz1);
while(1)
{
memset(sz2,0x00,sizeof(..
分类:
Windows开发 时间:
2015-05-19 16:52:54
收藏:
0 评论:
0 赞:
0 阅读:
304
在Windows上使用Eclipse配置Hadoop MapReduce开发环境1. 系统环境及所需文件
windows 8.1 64bit
Eclipse (Version: Luna Release 4.4.0)
hadoop-eclipse-plugin-2.7.0.jar
hadoop.dll & winutils.exe 2. 修改Master节点的hdfs-site.xml添加如下内容<...
分类:
Windows开发 时间:
2015-05-19 16:35:43
收藏:
0 评论:
0 赞:
0 阅读:
1678
public partial class TimerByThread : ServiceBase { public TimerByThread() { InitializeComponent(); } Thread...
分类:
Windows开发 时间:
2015-05-19 16:25:02
收藏:
0 评论:
0 赞:
0 阅读:
243
superobject.pas单元对json的解析非常方便, 力荐procedure TForm1.btn1Click(Sender: TObject);var s:String; i: Integer; jfields,jitems,jo:ISuperObject;begin jitems...
分类:
Windows开发 时间:
2015-05-19 16:20:03
收藏:
0 评论:
0 赞:
0 阅读:
409
如以下代码:?12345intage = 25;shortnewAge = 25;Console.WriteLine(age == newAge); //trueConsole.WriteLine(newAge.Equals(age)); //falseConsole.ReadLine(); A.....
分类:
Windows开发 时间:
2015-05-19 16:19:45
收藏:
0 评论:
0 赞:
0 阅读:
321
原文:http://blog.csdn.net/kongwei521/article/details/17588825首先效果:1:首先下载BarcodeLib.dll 下载地址 http://pan.baidu.com/share/link?shareid=2590968386&uk=214889...
分类:
Windows开发 时间:
2015-05-19 16:16:06
收藏:
0 评论:
0 赞:
0 阅读:
338
At the core of the BOM is the window object, which represents an instance of the browser. The window object serves a dual purpose in browsers, actin.....
分类:
Windows开发 时间:
2015-05-19 16:14:29
收藏:
0 评论:
0 赞:
0 阅读:
265
默认情况下,通过Windows Azure创建的ubuntu虚拟机是不能直接连接远程桌面的,只能通过SSH终端连接。 在Windows Azure Portal中创建Ubuntu虚拟机,创建完成后添加Remote Desktop协议终端支持。 用Putty连接到这台机器,以root身份执行命令,安装...
分类:
Windows开发 时间:
2015-05-19 16:12:54
收藏:
0 评论:
0 赞:
0 阅读:
375
win7 64位没有debug功能,接下来介绍如何使win7可以使用该功能
工具/原料
dos模拟器即DOSBOX 下载地址: http://www.dosbox.com/download.php?main=1
debug32.exe 下载地址:http://download.csdn.net/detail/qq_20480611/87158...
分类:
Windows开发 时间:
2015-05-19 14:48:13
收藏:
0 评论:
0 赞:
0 阅读:
269
1 package cn.nextapp.xmlrpc.bean; 2 /** 3 * @author liux 4 * @date 2012-1-16 ??4:21:54 5 */ 6 public class BlogInfo { 7 private String blogid;//??id 8 private String url;//???? 9 private String blo...
分类:
Windows开发 时间:
2015-05-19 13:20:13
收藏:
0 评论:
0 赞:
0 阅读:
274
Experimenting With Views
作者:PMST
文章:Views - Experimenting with Views
系列:The Swift Beginner
写于:2015.04.26
个人博客直通车
团队博客直通车回顾前文,详细讨论了如何使用a main storyboard和纯代码两种情况分别创建window工程。大致把界面启动、window...
分类:
Windows开发 时间:
2015-05-19 13:13:03
收藏:
0 评论:
0 赞:
0 阅读:
224