顯示具有 DotNet Library 標籤的文章。 顯示所有文章
顯示具有 DotNet Library 標籤的文章。 顯示所有文章

使用 DotMSN 自動傳送 MSN 訊息經由網頁實現

一般系統大致上都會以郵方式來傳送系統訊息來告知使用者,讓使用者得知系統消息,今天試驗了以MSN方式來達到相同目的。

DotMSN是一個開放源碼獨立類庫提供連接與 MSN Messenger服務。該庫是建立在C#中,因此可以被所有的語言。NET環境的支持。因為一個乾淨自然的面向對象方法的庫是易於使用和實施。 DotMSN的設計是一個靈活,可靠,重量輕的增強任何應用程序。不同的應用 DotMSN從創建消息機器人到創建自定義客戶端。如果您的應用程序需要通過 Messenger服務通信,DotMSN是您的工具。

這是DotMSN的網站,看見它的Changelog後發現最後更新是2004年,天阿 !,已經5年沒有Changelog了,是不是代表已經沒有在維護了...XD...哈

先前已經下載試用後正常,才反應這文章的,以下是使用實例

1.
加入 DotMSN.dll 為專案參考

2.
oMessenger = new Messenger();
oMessenger.Connect("你的msn帳號", "你的msn密碼");
oMessenger.Owner.Name = "你的msn暱稱";
oMessenger.SynchronizeList();
System.Threading.Thread.Sleep(2000);
oMessenger.SetStatus(MSNStatus.Online);
System.Threading.Thread.Sleep(1000);
Conversation oConversation = oMessenger.RequestConversation("對方之MSN帳號");
System.Threading.Thread.Sleep(2000);
oConversation.SendMessage(msnBody);
System.Threading.Thread.Sleep(1000);
oMessenger.CloseConnection();


引自: http://roxsu.blogspot.com/2007/05/msn-messenger-aspnet.html
http://msluder.dk/DOTMSN/#download
http://www.xihsolutions.net/dotmsn/index.html
http://www.xihsolutions.net/dotmsn/download.html

Microsoft Chart Controls - 3D Column Chart 繪製

雖然 Microsoft Chart Controls for .NET Framework 3.5 真的是相當地強大,但是要畫一張像樣的圖還真是不簡單的工作阿。
微軟跟 Dundas 買了 Chart 的 License,但是卻閹割了 Dundas Chart Wizard,所以一切只能靠著摸索 Sample 才會有進展。
( Samples Environment for Microsoft Chart Controls 提供 ASP.Net 與 Windows Form 的範例專案 )

簡易的 Url Rewriting 隱藏 Querystring

有些人會問如何隱藏 Querystring,原因是 Querystring 裡面包含一些參數不想被使用者知道。以下文章就介紹如何使用 UrlRewriter.NET 套件,來幫助我們實現 Url Rewriting 將 Querystring 隱藏起來。

Reflector for .NET

Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#, Visual Basic and IL.


Reflector for .NET


Reflector for .NET 是一套強大的反組譯程式,可以用來反組譯 .NET 平台的組件(exe or dll)。而經過反組譯的程式,還可以選擇其他的 .NET 語言來輸出。例如:將 C# 的程式,透過 Reflector for .NET 可以選擇 C# 也可以選擇 VB.NET 或是 Delphi,只要是屬於 .NET 的 CLS (Command language specification) 即可以當目標語言。 不僅如此,Reflector for .NET 也是物件瀏覽器,幫您分析、分門別類程式中的命名空間與物件。
Reflector for .NET 目前的版本為 5.1.00,是 Open Source 軟體。

DotNetZip Library

有時候亂逛的時候總會發現不錯的東西 , 但是不一定馬上會使用到今天要介紹的是一個免費的檔案壓縮處理的外部元件 DotNetZip Library , 這個東西還不錯用 , 可以把需要的檔案加壓成一個指定名稱的zip檔然後就可以輸出...不錯吧.


http://www.codeplex.com/DotNetZip

Project Description

The Microsoft .NET Framework {v2.0 v3.0 v3.5} includes base class libraries supporting compression within streams - both the Deflate and Gzip formats are supported. But the System.IO.Compression namespace provides streaming compression only - useful for communicating between cooperating parties but not directly useful for creating compressed archives, like .zip files. The built-in compression library does not know how to format zip archive headers and so on.

To address this, this simple class library augments the System.IO.Compression.DeflateStream class, to provide handling for Zip files. Using this library, you can write .NET applications that read and write zip-format files.

Frequently Asked Questions


How does this Zip Library work?

There's a single DLL, a single assembly, fully managed code, written in C#, that provides support for reading and writing Zip archive files.

What do I need to "do" zip files from within my application?

To use the zip capability in your applications, you need to be using the .NET Framework 2.0 or later. You can use the Zip library from any application, whether a console application, a Windows-Forms application, a server-based application, or something else.

How big is the library?

The zip DLL is about 36k in size. There is no other pre-requisite.

Limitations
--------------------------------

There are numerous limitations to this library:

it does NOT support encryption, file comments, or double-byte chars in filenames.

it does NOT support file lengths greater than 0xffffffff.

it does NOT support "multi-disk archives."

it does NOT do varying compression levels.

it can actually expand the size of previously compressed data, such as JPG files.

there is no GUI tool