博文

goagent上网(2012-10-31 21:15:00)

摘要: http://tieba.baidu.com/p/1954949966 可以下载最新版本2.1.15的goagent 然后按照http://www.i7086.com/goagentwufafangwendejiejue 上的提示进行相应的设置。 就可以了。 最近goagent不能用,这样就可以用了。
......

阅读全文(1968) | 评论:0

互联网协议入门(一)(2012-06-22 09:39:00)

摘要: 互联网协议入门(一) 作者: 阮一峰 日期: 2012年5月31日 我们每天使用互联网,你是否想过,它是如何实现的? 全世界几十亿台电脑,连接在一起,两两通信。上海的某一块网卡送出信号,洛杉矶的另一块网卡居然就收到了,两者实际上根本不知道对方的物理位置,你不觉得这是很神奇的事情吗? 互联网的核心是一系列协议,总称为"互联网协议"(Internet Protocol Suite)。它们对电脑如何连接和组网,做出了详尽的规定。理解了这些协议,就理解了互联网的原理。 下面就是我的学习笔记。因为这些协议实在太复杂、太庞大,我想整理一个简洁的框架,帮助自己从总体上把握它们。为了保证简单易懂,我做了大量的简化,有些地方并不全面和精确,但是应该能够说清楚互联网的原理。 ================================================= 互联网协议入门 作者:阮一峰 一、概述 1.1 五层模型 互联网的实现,分成好几层。每一层都有自己的功能,就像建筑物一样,每一层都靠下一层支持。 用户接触到的,只是最上面的一层,根本没有感觉到下面的层。要理解互联网,必须从最下层开始,自下而上理解每一层的功能。 如何分层有不同的模型,有的模型分七层,有的分四层。我觉得,把互联网分成五层,比较容易解释。 如上图所示,最底下的一层叫做"实体层"(Physical Layer),最上面的一层叫做"应用层"(Application Layer),中间的三层(自下而上)分别是"链接层"(Link Layer)、"网络层"(Network Layer)和"传输层"(Transport Layer)。越下面的层,越靠近硬件;越上面的层,越靠近用户。 ......

阅读全文(1990) | 评论:2

互联网协议入门(二)(2012-06-22 09:38:00)

摘要: 互联网协议入门(二) 从 阮一峰的网络日志 上一篇文章分析了互联网的总体构思,从下至上,每一层协议的设计思想。 这是从设计者的角度看问题,今天我想切换到用户的角度,看看用户是如何从上至下,与这些协议互动的。 ============================================================== 互联网协议入门(二) 作者:阮一峰 (接上文) 七、一个小结 先对前面的内容,做一个小结。 我们已经知道,网络通信就是交换数据包。电脑A向电脑B发送一个数据包,后者收到了,回复一个数据包,从而实现两台电脑之间的通信。数据包的结构,基本上是下面这样: 发送这个包,需要知道两个地址: * 对方的MAC地址 * 对方的IP地址 有了这两个地址,数据包才能准确送到接收者手中。但是,前面说过,MAC地址有局限性,如果两台电脑不在同一个子网络,就无法知道对方的MAC地址,必须通过网关(gateway)转发。 上图中,1号电脑要向4号电脑发送一个数据包。它先判断4号电脑是否在同一个子网络,结果发现不是(后文介绍判断方法),于是就把这个数据包发到网关A。网关A通过路由协议,发现4号电脑位于子网络B,又把数据包发给网关B,网关B再转发到4号电脑。 1号电脑把数据包发到网关A,必须知道网关A的MAC地址。所以,数据包的目标地址,实际上分成两种情况: ......

阅读全文(1839) | 评论:1

八个移动产品设计必备网站(2012-06-22 09:34:00)

摘要: 八个移动产品设计必备网站 从 所有文章 - UCD大社区 作者:watsonxu 好吧,又在爱库上发现了很棒的专辑,和大家分享!移动产品设计人员一定需要大量的使用其他各类应用,并且需要在产品设计时大量参考其他的移动应用的产品设计,这时如果有一些网站可以将很多优秀应用的不同流程分类展示,那一定是移动产品设计人员必备的网站! 一、Patterns of Design
Patterns是一个分享ios应用UI界面的网站,专注于分享iOS应用UI界面的细节,按照设计元素进行分类,按照iOS常用功能对各类UI进行分类展示。(Via) 链接:http://www.patternsofdesign.co.uk/ 二、Splashscreens
Splashscreens / iOS UI Patterns (beta) ,整理/罗列了许多精彩的iOS 应用界面截图,并且按照分类将这些截图分类,比如Activity,Login,About,Calendar,Seeting,Share等各种类型的不同应用的实现效果。(Via) 链接:http://pttrns.com/  三、Appsites 优秀移动应用网站设计展示,非常的赞! 链接:http://www.appsites.com/ 四、Dribbble Dribbble应该大家都比较熟悉,是一个设计师交流和分享自己设计作品的社区。上面有很多非常棒的移动产品设计作品。 链接:http://dribbble.com/ ......

阅读全文(1995) | 评论:1

SQL数据库数据处理类应用举例(2012-05-02 20:54:00)

摘要: SQL Data Provider VB.NET Class By , published on 25 Feb 2006 | Filed in 0 Comments .NET ADO.NET SQL VB.NET SQL Server Page 2 of 3 Example Usage SQLDataProvider Class Documentation This class provides a fast and universal method for accessing SQL Server database. Create Instance At first you create an instance of SqlDatabase class. Dim sqldb As New SqlDatabase("Data Source=(local); Initial Catalog= ; UId = ; Pwd = ;") For more information about connection strings, visit ConnectionStrings.com. ExecuteNonQuery Method Executes a Transact-SQL statement against the connection and returns the number of rows affected. Dim params(0 To 1) As SqlParameter......

阅读全文(4051) | 评论:7

VB.NET用于SQL数据库处理的类(2012-05-02 20:53:00)

摘要: SQL Data Provider VB.NET Class By , published on 25 Feb 2006 | Filed in 0 Comments .NET ADO.NET SQL VB.NET SQL Server 4 Page 1 of 3 The Class This class is for simplifying and accelerating working with SQL, using this class is very simple; there is a sample below for this class, which I hope is useful. You can report bugs, opinions and suggestions to me. Imports System Imports System.IO Imports System.Text Imports System.Data Imports System.Data.SqlClient Namespace SqlDataProvider ''' <summary> ''' This class provides a fast and universal method for accessing SQL Server database.This class cannot be inherited. ''' </summary> Public NotInheritable Class SqlDatabase #Region " Local Property Declarations " ......

阅读全文(3188) | 评论:2

以另一个用户的名义运行某一进程(2012-05-02 20:50:00)

摘要: Start a Process as a Different User By Peter Rekdal Sunde, published on 09 May 2006 | Filed in 0 Comments .NET Security 1Tweet To use this code please create a new module or add it to your existing project. Function ConvertToSecureString(ByVal str As String)         Dim password As New SecureString         For Each c As Char In str.ToCharArray             password.AppendChar(c)         Next         Return password End Function Sub Main()        dim username as string = "Administrator"        dim password as SecureString = ConvertToSecureString("my password")      &......

阅读全文(2194) | 评论:1

如何让软件在Vista系统上有管理员权限(2012-05-02 20:39:00)

摘要:
Making a .NET app run on Vista with Administrator priviledges By James Crowley, published on 06 Aug 2008 | Filed in 0 Comments .NET C# VB.NET Visual Studio 3Tweet If you're targeting Windows Vista and your application requires administrator priviledges (such as accessing the program files directory), then it will fail unless you include a manifest so Windows knows. Fortunately, it's very simple.

First, add a manifest file to the root of your .NET executable project - you can do this by selecting "Add New Item" and picking "Application Manifest File". Alternatively just create a blank file called "app.manifest". The standard template that Visual Studio gives you looks like this:
<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microso......

阅读全文(2103) | 评论:1

如何让编写的软件适应win 7之类的系统换代(2012-05-02 20:14:00)

摘要: 当新的操作系统应用时,苦逼的程序员首先想到的,可能是自己的软件能否兼容新系统。如果不想花时间修改软件,那么最好花时间来改善软件。 Enhancing your applications for Windows 7 18 Nov 2009 | by Kevin Griffin | Filed in 0 Comments PDF .NET C# Windows 7 VB.NET 2Tweet As developers, we often shriek a little whenever a new operating system is released. Our most common question is “will my application run?” Enhancements in compatibility have made this question a mute point. Now that we don’t have to spend as much time fixing our applications, we can concentrate on improving them. As .NET developers, we have often been left behind on major operating system integrations, unless we were willing to dive into unmanaged code. Windows 7 brings new salvation for .NET developers, and it comes in the form of the Windows 7 API Code Pack for......

阅读全文(2451) | 评论:0

清空垃圾箱的代码(2012-05-02 20:05:00)

摘要: http://www.developerfusion.com/code/5673/how-to-empty-a-recycle-bin/ 貌似能够清空回收站,清空时不会提示用户确认,而且没有提示音和进度条。 Usage: 
Dim Action As New ShellActions 
Action.EmptyRecycleBin() 

Public Class ShellActions ......

阅读全文(2288) | 评论:3