Programming 笔记

工作中遇到的问题就记载这里

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年12月25日

摘要: sn -tp xxxx.snk >>result.txt">>" is the symbol to output dos output result to a text file.For example: you ran the command at C:/> directory.The result.txt file would be at C:\result.txt 阅读全文
posted @ 2006-12-25 10:32 IT 笔记 阅读(218) 评论(0) 推荐(0) 编辑

2006年11月27日

摘要: remoting object class class must inherits MarshalByRefObjectHost class Must add reference System.runtime.remoting Must add reference that remoting object class Imports System.Runtime.Remoting ... 阅读全文
posted @ 2006-11-27 18:42 IT 笔记 阅读(437) 评论(0) 推荐(0) 编辑

2006年11月21日

摘要: Recently I wanna practice some web service program. I stucked at one error The request failed with HTTP status 401:Unauthorized. .I had set up the credential in my code like following, so my program s... 阅读全文
posted @ 2006-11-21 18:05 IT 笔记 阅读(3840) 评论(1) 推荐(0) 编辑

2006年10月18日

摘要: This article is for Visual Studio 2005.Step 1. steup your [TestFixture] and [Test]. And open the dll file from NUnit-GUI. The detail of Step 1 is shown here: http://www.tangent-studios.com/progra... 阅读全文
posted @ 2006-10-18 14:31 IT 笔记 阅读(258) 评论(0) 推荐(0) 编辑

2006年9月25日

摘要: Use ADO and the Jet OLEDB provider, which can read the contents of excel files without actually opening Excel.Example:'*******************************PublicSubConvertXLSToTab(ByValxlsFileNameAsString,ByValtabTextOutputFileAsString)DimconnectionStringAsString="Provider=Microsoft.ACE.OLEDB.12 阅读全文
posted @ 2006-09-25 19:03 IT 笔记 阅读(490) 评论(0) 推荐(0) 编辑

2006年9月24日

摘要: string NameOfFile = @"C:\Documents and Settings\Business Records\Employees.spr";string NameOfFile = "C:\\Documents and Settings\\Business Records\\Employees.spr"; 阅读全文
posted @ 2006-09-24 07:09 IT 笔记 阅读(169) 评论(0) 推荐(0) 编辑

2006年5月19日

摘要: 现在我好象明白什么是JustInTimeActivation。 JustInTimeActivation 其实就是在客户端保存COM+里的实例的同时, 在服务器端保持一个记录客户端状态的实例。 对于客户端,这完全是透明的, 客户完全可以假想实例就在客户端的计算机内存里一样。 当客户端调用里面的方法时, 比如建立一个数据库连接。 服务器端就会激活对象, 这时对象就真的占用了数据连接。 当可户取得了数... 阅读全文
posted @ 2006-05-19 19:31 IT 笔记 阅读(419) 评论(0) 推荐(0) 编辑

2006年5月10日

摘要: Event Delegate 在好多地方多看到了,比如在学习web user control 的时侯,还有vb.net remoting object 的时候。 我看了不少文章后,也不是很明白。我在这里写下来,主要是为了我自己以后的回故。同时,也想让大家参考。 要理解event delegate, 当然要先明白什么是event. 其实简单的想,就是"回叫"的机制,她解决一个依赖的问题。 比如真实世... 阅读全文
posted @ 2006-05-10 10:39 IT 笔记 阅读(7208) 评论(6) 推荐(0) 编辑

2006年5月1日

摘要: If drop an un-exist table, will get error "Table 'TempTable' does not exist."use the following function:Here is a function I use to check whether a table exists: Code: Function TableExists(TableName ... 阅读全文
posted @ 2006-05-01 16:05 IT 笔记 阅读(1265) 评论(0) 推荐(0) 编辑

2006年4月20日

摘要: Method 1. sBorderColor is variable in vb code. Imports System.web.UI.WebControls Imports System.Web.UI.HtmlControls Public Class LoginControl Inherits System.Web.UI.UserControl Private ... 阅读全文
posted @ 2006-04-20 11:44 IT 笔记 阅读(160) 评论(0) 推荐(0) 编辑