[过时的消息]VS2005 Shipped!
Visual Studio 2005的各个版本都陆续发布了,如果之前有安装过CTP、beta版本,最好在安装前把先前的版本都卸载掉,以免不必要的麻烦。有个专门的卸载工具,下载地址是:http://go.microsoft.com/fwlink/?LinkId=47598
posted @ 2005-11-01 13:37 Roger Wo 阅读(652) 评论(1) 编辑
Roger's blog @cnblogs
2005年11月1日 #
posted @ 2005-11-01 13:37 Roger Wo 阅读(652) 评论(1) 编辑
2005年10月22日 #

function GetMsg()
{
AtlsChat.ChatService.GetConversation(
"", //params
OnComplete, //Complete event
OnTimeout //Timeout event
);
return false;
}

function Add()
{
document.getElementById('info').innerHTML = '<span style="background-color: yellow"> posting
</span>';
AtlsChat.ChatService.Add(
document.getElementById('inputName').value.replace('\t',' ')+'\t'+ document.getElementById('inputMsg').value.replace('\t',' '),
GetMsg,
OnTimeout
);
return false;
}
function OnComplete(result) 
{
document.getElementById('msg').innerHTML = result;
document.getElementById('info').innerHTML = "";
}
function OnTimeout(result) 
{
document.getElementById('info').innerHTML = "time out";
}最后,需要在页面中引用Atlas提供的几个js:
<atlas:Script ID="Script1" runat="server" Path="~/ScriptLibrary/AtlasCompat.js" Browser="Mozilla" />
<atlas:Script ID="Script2" runat="server" Path="~/ScriptLibrary/AtlasCompat.js" Browser="Firefox" />
<atlas:Script ID="Script3" runat="server" Path="~/ScriptLibrary/AtlasCompat.js" Browser="AppleMAC-Safari" />
<atlas:Script ID="Script4" runat="server" Path="~/ScriptLibrary/AtlasCore.js" />
<atlas:Script ID="Script5" runat="server" Path="~/ScriptLibrary/AtlasCompat2.js" Browser="AppleMAC-Safari" />
<script type="text/xml-script">
<page xmlns:script="http://schemas.microsoft.com/xml-script/2005">
<references>
<!-- Repath the following src attributes, using regular client relative paths as necessary -->
<add src="ScriptLibrary/AtlasUI.js" />
<add src="ScriptLibrary/AtlasControls.js" />
</references>
<components>
</components>
</page>
</script>posted @ 2005-10-22 17:24 Roger Wo 阅读(3984) 评论(8) 编辑
2005年10月19日 #
posted @ 2005-10-19 00:40 Roger Wo 阅读(146) 评论(2) 编辑
2005年4月12日 #
| SQL Server 7 data type | ADO data type Enum value |
| binary | adVarBinary |
| bit | adBoolean |
| char | adChar |
| datetime | adDate |
| decimal | adNumeric |
| float | adDouble |
| int | adInteger |
| money | adCurrency |
| nchar | adWChar |
| ntext | adLongVarChar |
| numeric | adNumeric |
| nvarchar | adVarWChar |
| real | adSingle |
| smalldatetime | adDate |
| smallint | adSmallInt |
| text | adLongVarChar |
| timestamp | adBinary |
| tinyint | adUnsignedTinyInt |
| UniqueIdentifier | adGUID |
| varBinary | adVarBinary |
| varChar | adVarChar |
posted @ 2005-04-12 14:33 Roger Wo 阅读(1035) 评论(0) 编辑
2005年4月5日 #
客户要写一个Visual Studio .NET的Add-in,需要在design time获取form上控件的值,以下是用Reflection的做法
这样做有一个问题,当我要取TextBox.Visible这类属性的时候,返回值永远为true,因为reflect的是designer中的textbox对象,它的visible值永远为true。正确的做法是通过PropertyDescriptorCollection来读取Properties window里面的值,代码如下:
posted @ 2005-04-05 14:44 Roger Wo 阅读(855) 评论(2) 编辑
2005年3月2日 #
posted @ 2005-03-02 11:23 Roger Wo 阅读(1362) 评论(4) 编辑
2005年2月22日 #
posted @ 2005-02-22 16:43 Roger Wo 阅读(2408) 评论(7) 编辑
2005年2月7日 #
posted @ 2005-02-07 16:53 Roger Wo 阅读(1746) 评论(1) 编辑
2005年2月4日 #
posted @ 2005-02-04 16:24 Roger Wo 阅读(1514) 评论(0) 编辑
2004年12月11日 #
posted @ 2004-12-11 23:06 Roger Wo 阅读(1953) 评论(6) 编辑
2004年11月20日 #
2004年11月11日 #
posted @ 2004-11-11 16:19 Roger Wo 阅读(3834) 评论(11) 编辑
posted @ 2004-11-11 09:10 Roger Wo 阅读(584) 评论(0) 编辑
2004年11月9日 #
posted @ 2004-11-09 13:47 Roger Wo 阅读(8420) 评论(5) 编辑
2004年11月3日 #
posted @ 2004-11-03 10:32 Roger Wo 阅读(2445) 评论(4) 编辑
2004年11月2日 #
posted @ 2004-11-02 21:41 Roger Wo 阅读(1873) 评论(6) 编辑
2004年11月1日 #
posted @ 2004-11-01 20:08 Roger Wo 阅读(387) 评论(3) 编辑
2004年10月31日 #
posted @ 2004-10-31 22:38 Roger Wo 阅读(557) 评论(10) 编辑