
October 10, 2008 18:13 by
VSTO も当然ながら、Win フォームのコンポーネントを作成して、ドキュメントや作業ウィンドウから Win フォームを起動することができます。
作業ウィンドウで操作してしまえばよい部分はありますが、やはり、領域の問題などもあり、どうしても Win フォームを呼び出してから、値を取得しドキュメント上で利用するケースもあるかと思います。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 10, 2008 14:54 by
取得した名前から、DB や Web サービスから情報を追加で取得して、分析をおこなうようなシナリオも考えられます。
※一番右の要素をクリックした際のメッセージボックス
※一番左の要素をクリックした際のメッセージボックス
Excel VSTO でグラフと連動した動的なアプリケーションを作成する際に有効です。
以下手順です。
手順:
1. 任意のグラフ付きのブックを用意します。
2. VSTO で読み込み、以下のコードを記述します。
Sub elementChart_MouseD...
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 9, 2008 12:04 by
StackFrame クラス (System.Diagnostics) を使用すると、呼び出し元メソッドを取得することができる。しかし、Release ビルドされたアセンブリでは JIT 最適化により呼び出し元メソッドがインライン化されている可能性がある。
例えば、次のコードの実行結果を Debug ビルドと Release ビルド (非デバッグ実行) とで比較すると一目瞭然だ。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 6, 2008 21:32 by
次の Visual Studio と .NET Framework のバージョンは、Visual Studio 2010 と .NET Framework 4.0 になるとのこと。
気になるのは、.NET Framework 4.0 の CLR のバージョンがどうなるかですね。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 5, 2008 12:14 by
最近、セッションステートの上手い利用方法を模索してます。
CodeZine に「ASP.NETのセッションをタイプセーフに取り扱うクラスの作成」という記事が載ってましたが、この方法は僕的にちょっと馴染めなかったもので。
以下、現時点での考えをメモしときます。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

October 1, 2008 18:18 by
C#のささやかな(でもかっこいい)言語機能の1つが??です。"Null合体"演算子です。これにより、値がNullかどうかをチェック、また、もしそうであれば代替値を返すという、きれいで簡潔な方法が提供されます。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

September 17, 2008 19:19 by
今まで同じものだと思ってた。 ( WindowsIdentity と IPrincipal の違いは置いといて。)
それぞれ違うユーザー情報を返してきた時は驚いた。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

September 10, 2008 10:21 by
このブログのアクセス解析でどのキーワードで検索されたかを見てみると意外とArrayListやHashtableで検索されていたりする。
Visual Studio 2005以降を使っているのならば、是非。List
, Dictionaryを使ってほしいものだ。 [More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

September 5, 2008 21:50 by
.NET Framework 3.5 Client Profile (以下 Client Profile) は、クライアントアプリケーションを配布する際の、.NET Framework のインストールがもっと速くならないかという、多くのお客様からの要望に応えるために作成されました。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

August 27, 2008 15:25 by
このサンプルに、念願であった、LINQ、WPF、WCF / WF 等の 『じゃあ、実際どう作っていくのか ? 』 を示したステップバイステップの手順を追加しました。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

August 12, 2008 15:31 by
Visual Studio 2008 SP1 (Service Pack 1), および .NET Framework 3.5 SP1 がリリースされました。
[More]
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5