<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-632341586005791089</id><updated>2012-03-02T22:48:28.241+09:00</updated><category term='愚痴'/><category term='jQuery'/><category term='MVC'/><category term='MySQL'/><category term='SQL'/><category term='技術メモ'/><category term='.Net'/><category term='VISIO'/><category term='ASP'/><category term='VB.NET'/><category term='社会の出来事'/><category term='海辺の出来事'/><category term='IIS'/><category term='ASP.NET'/><category term='C#'/><category term='Windows Phone'/><category term='PHP'/><category term='VBA'/><category term='些細なこと'/><category term='WCF'/><category term='写真'/><category term='plugin'/><category term='キーワード'/><category term='WPF'/><category term='Excel'/><title type='text'>メモ帳</title><subtitle type='html'>プログラムに関するメモを中心に、たまに趣味のカメラ、写真、サーフィンの話とか。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://point56.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>64</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-7911386840631642345</id><published>2012-02-06T18:30:00.002+09:00</published><updated>2012-02-06T18:30:57.939+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='些細なこと'/><category scheme='http://www.blogger.com/atom/ns#' term='社会の出来事'/><title type='text'>[ゴミ]48のマリコからメール</title><summary type='text'>相変わらず斉藤弘子さんからメールが届いていますが、同じような内容のメールで面白くありません。
関係ないですけど7500万の贈与税率は50%だそうです。

最近は「48のマリコ」さんからもメールが来ます。
送信元は斉藤弘子さんと同じinfo@peacemixi.jpです。

その１
タイトル「48マリコだよ(*・∀-)σ」
はじめましてだね
「魅惑のポーカーフェイスシノマリです」
写メとアドレス送るよ
mari_ice.cafe4days@softbank.ne.jp

AKBは恋愛禁止だから、もちろん事務所にはナイショなんだけど普通に話せる友達ほしくてメールしちゃった迷惑じゃなかったら連絡ちょうだい
mari_ice.cafe4days@softbank.ne.jp


意図的に"スパムらしい"文章を作っているとしか思えません。
あと、恋愛禁止であっても友達は問題ないと思います。


</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/7911386840631642345/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=7911386840631642345' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7911386840631642345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7911386840631642345'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2012/02/48.html' title='[ゴミ]48のマリコからメール'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-dCUXE452EEE/Ty9ykWN9xlI/AAAAAAAAEsk/kHP2gPbTimE/s72-c/1322117824803.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-758626829879745042</id><published>2012-01-30T18:41:00.000+09:00</published><updated>2012-02-14T10:38:05.062+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='些細なこと'/><category scheme='http://www.blogger.com/atom/ns#' term='社会の出来事'/><title type='text'>[ゴミ]今度は500万に当選した様です</title><summary type='text'>今度は何かに当選して500万円もらえるようです。
差出人は斉藤弘子さんの時と同じくinfo@creammixi.jpです。

まずは木本さんからのメール。

タイトル「2等 500万円のご当選金の件で最」
1000万円が毎年4回当選!只今人気急増中のアサヒ抽選で無料で楽しく抽選ライフ!http://mediaeight93.info/ahc06/okz001●○●○●○●500万円お振込みのご案内●○●○●○●アサヒ抽選の木本です！本メールと行き違いでご返信いただいた場合は、大変申し訳ございません。ご当選金の500万円のお渡しについてのご案内はこれで最後になります！ご返信は下記のURLをクリックいただき、受付フォームの抽選コード欄に【 12FA 】をメール本文中ご記入の上、ご返信くださいませ！[ご当選の受付・ご質問はコチラ]http://mediaeight93.info/ahc06/</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/758626829879745042/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=758626829879745042' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/758626829879745042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/758626829879745042'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2012/01/500.html' title='[ゴミ]今度は500万に当選した様です'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6483929613765659990</id><published>2012-01-26T10:25:00.000+09:00</published><updated>2012-01-26T10:25:48.210+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>[PHP]AESで暗号化・復号化</title><summary type='text'>暗号化と復号化する処理です。
基本的にはmanualに書いてある通りです。


受け取った文字をbase64でエンコードして、暗号化して、暗号化した文字もbase64でエンコードしています。
復号化の際も同じ感じです。

暗号・復号処理に関していつものことなのが、これがAESでうまく暗号化されているかはよく分からず、復号化がうまくいっているので良しとしています。



static public function Encrypt($value){

 //Base64でエンコードする
 $encodedValue = base64_encode($value);

 /* 暗号モジュールをオープンします */
 $td = self::getCryptModule();

 /* データを暗号化します */
 $encrypted = mcrypt_generic($td, $</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6483929613765659990/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6483929613765659990' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6483929613765659990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6483929613765659990'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2012/01/phpaes.html' title='[PHP]AESで暗号化・復号化'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6624184336204157489</id><published>2012-01-23T18:18:00.002+09:00</published><updated>2012-01-23T18:18:56.032+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>[C#]画像に文字を埋め込んで保存する</title><summary type='text'>画像の中心に指定の文字列を埋め込んで保存する処理です。
DOBON.NETさんを参考に保存のあたりの処理を加えています。


private void drawString(FileInfo copiedfi,string s,Font font)
{
 int quality = 85;

 //一時ファイルの作成
 string tmpFilename = copiedfi.FullName + ".tmp";
 FileInfo tmpFi = copiedfi.CopyTo(tmpFilename, true);

 //Bitmapオブジェクトの生成
 using (Bitmap bmp = new Bitmap(tmpFi.FullName))
 {
  //解像度の設定
  bmp.SetResolution(72, 72);

  //Graphicsオブジェクトを取得
</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6624184336204157489/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6624184336204157489' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6624184336204157489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6624184336204157489'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2012/01/c.html' title='[C#]画像に文字を埋め込んで保存する'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5703526362740270825</id><published>2012-01-13T12:03:00.000+09:00</published><updated>2012-01-13T12:13:08.397+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='些細なこと'/><category scheme='http://www.blogger.com/atom/ns#' term='社会の出来事'/><title type='text'>[ゴミ]斉藤弘子さんが7500万円を振り込みたいと</title><summary type='text'>
アメリカ在住の斉藤弘子さんが、7500万円くれると携帯宛にメールが来ました。 







今のところ３通のメールが届いています。

差出人はinfo@peacemixi.jpとinfo@creammixi.jpとか。 

それぞれドメインについてはレジストラの住所になってます。 




その１(1/10 21:09) 
タイトル：「7500万円贈与に関してご連絡」


斉藤弘子と申します。現在アメリカの運用会社でヘッジファンド・マネージャーをしています。

hiro_70world.opal@docomo.ne.jp



個人資産の一部である金銭7500万円をお受け取り頂きたくご連絡させて頂きました。唐突なお話で戸惑われるかと思いますが、冗談やイタズラ等でご連絡している訳では無い事をご理解ください。まずは簡単に事情を説明させて頂きます。



私は現在アメリカ在住ですが日本にも</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5703526362740270825/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5703526362740270825' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5703526362740270825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5703526362740270825'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2012/01/7500.html' title='[ゴミ]斉藤弘子さんが7500万円を振り込みたいと'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-OpourB7jBFY/Tw-eELXXEwI/AAAAAAAAD4o/ibTLSHpYefo/s72-c/1320140329935.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6765654311864145641</id><published>2011-12-16T14:52:00.000+09:00</published><updated>2011-12-16T14:54:17.234+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Phone'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>[Windows Phone]USER_AGENT</title><summary type='text'>Windows Phoneのユーザーエージェントです。


Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; FujitsuToshibaMobileCommun; IS12T; KDDI)


auのIS12Tという端末です。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6765654311864145641/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6765654311864145641' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6765654311864145641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6765654311864145641'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/12/windows-phoneuseragent.html' title='[Windows Phone]USER_AGENT'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6817783120610623451</id><published>2011-12-02T11:10:00.001+09:00</published><updated>2011-12-02T18:20:20.817+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>[SQL]Update文でCaseを使う</title><summary type='text'>例えば、あるステータスが１の場合に限ってシステム日付を更新するのだけれど、
それ以外の場合は更新したくない場合のUpdate文です。
この時、合わせてステータスは2に更新します。
（わかりにくいせつめいですいません）


update Table set 
 UpdateDatetime = case when Status = 1 
  then now() 
  else UpdateDatetime 
 end  
 ,Status = 2
where Primarykey = 100


MySQLでの確認です。
これはset句に書く順番も関係していますので注意が必要です。
先にStatus = 2を書いてしまうとcaseは思った判定をしてくれません。


</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6817783120610623451/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6817783120610623451' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6817783120610623451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6817783120610623451'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/12/sqlupdatecase.html' title='[SQL]Update文でCaseを使う'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4062999363929883411</id><published>2011-12-01T18:55:00.001+09:00</published><updated>2011-12-02T09:17:57.449+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>[PHP]foreachの参照渡しで見落としがちな事</title><summary type='text'>foreach文で参照渡しをした場合、最後の要素が１つ前の要素と同じ値になっちゃう件です。


$items = array('a','b','c');
foreach($items as &amp;$item){
 echo($item);
}
// --&gt; 'abb'



マニュアルにはちゃんと書いてあるんですけどね。
以下の処理を忘れない事。


unset($item);

</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4062999363929883411/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4062999363929883411' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4062999363929883411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4062999363929883411'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/12/phpforeach.html' title='[PHP]foreachの参照渡しで見落としがちな事'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-975888009855591922</id><published>2011-11-30T11:41:00.001+09:00</published><updated>2011-11-30T18:17:23.882+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>[PHP]ディレクトリの再帰削除処理</title><summary type='text'>要件は以下の感じです。

サブフォルダを含めてファイル、ディレクトリを削除する。
ただし、ルートディレクトリは消したくないケースがある。
また、ファイルの最終更新日時が１日以上経ったものだけ削除する。



function rmdirEx($rootPath , $dirDelete){

 if( !is_dir($rootPath)) return;

 $files = scandir($rootPath);

 foreach($files as $file){
  if ($file == '.' || $file == '..') continue;
  $fullpath = $rootPath . DIRECTORY_SEPARATOR . $file;
  if(is_dir($fullpath)){
   rmdirEx($fullpath , true );
  </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/975888009855591922/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=975888009855591922' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/975888009855591922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/975888009855591922'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/11/php.html' title='[PHP]ディレクトリの再帰削除処理'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1470902522209530464</id><published>2011-11-29T17:10:00.001+09:00</published><updated>2011-11-29T18:25:21.477+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>ajaxuploadを使った。</title><summary type='text'>ブラウザで画像を選択したら、非同期でアップロードして画像を表示したくて使いました。
配布サイトここ(Ajax Upload)

最新版は完全に作り直されたらしくて、「File Upload」って名前に変わってます。
これも色々と試したみたのですが、UI周りのカスタマイズがいまいち分からなかった。

オプション設定で、template、fileTemplate、classesの当たりを設定すれば良さそう何だけど、
ドキュメントも少ないし、心が折れてあきらめました。

その点、旧バージョンのajaxuploadはiframeとか使って怪しいけど、素直で使いやすいです。


$(function(){
 new AjaxUpload('file1', { //input type="file"のid
  action: 'upload.php', //POSTを処理するphp
  name: </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1470902522209530464/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1470902522209530464' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1470902522209530464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1470902522209530464'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/11/ajaxupload.html' title='ajaxuploadを使った。'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-3944038011107840961</id><published>2011-11-28T07:17:00.001+09:00</published><updated>2011-11-28T10:41:22.457+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='些細なこと'/><category scheme='http://www.blogger.com/atom/ns#' term='写真'/><title type='text'>電池の寿命</title><summary type='text'>使い始めて約５年。
満タンに充電しても30枚くらい撮ったらバッテリー切れ。
バッテリーの寿命が来たようです。




来年の３月頃には新モデルが出るそうなので、そろそろ買い替えを考えていますが、それまでの間もバッテリーは必要なわけで。。。
価格さんで調べたら、純正品は１万円以上。




高すぎるのでやむなく互換製品を購入しました。

今のところ問題ありません。


</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/3944038011107840961/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=3944038011107840961' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3944038011107840961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3944038011107840961'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/11/blog-post.html' title='電池の寿命'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-4SZvEnjYcQQ/TtK3kVD50RI/AAAAAAAABAM/1I-hsJKcQoE/s72-c/1D2N4470.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-321012137847331088</id><published>2011-11-24T17:07:00.001+09:00</published><updated>2011-11-24T17:24:58.184+09:00</updated><title type='text'>[LAMP]ファイルがPOSTされない</title><summary type='text'>画面で数個の画像ファイルをPOSTしたんですけど、サーバー側で受信されていない模様。
トレースログを見たら途中までは処理されて、途中から何も無かったような振る舞いを確認。

つまり、プログラムまでデータが渡っていない。と。

ちょっと調べたらapacheでのpostデータサイズ制限は「LimitRequestBody」で設定らしいです。
httpd.confには当該の記述が無かったので却下。
(デフォルトで無制限？危ないなぁ。。）

次はphp.ini。
それっぽいのいました。
「post_max_size」と「upload_max_filesize」。
upload_max_filesizeは１つ当たりのファイルサイズ上限設定で、post_max_sizeはpostの合計サイズ。

今回は、
upload_max_filesize = 10M
post_max_size = 60M
</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/321012137847331088/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=321012137847331088' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/321012137847331088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/321012137847331088'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/11/lamppost.html' title='[LAMP]ファイルがPOSTされない'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-8803362780844918261</id><published>2011-11-16T18:23:00.001+09:00</published><updated>2011-11-30T18:17:52.055+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><title type='text'>[ASP]配列の代入は値渡し？参照渡し？</title><summary type='text'>ちょっと久しぶりにASP(classic)を触ったら不安になったので確認しました。
文字列が格納された配列を代入した場合、値渡しでした。



dim a,b,c
a = array("あいう","かきく","さしす")
'代入
b = a

'bの要素を書き換える
b(1) = "けこ"

for each c in a
    response.Write(c &amp; "")
next
Response.Write( "")
for each c in b
    response.Write(c &amp; "")
next

</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/8803362780844918261/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=8803362780844918261' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8803362780844918261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8803362780844918261'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/11/asp.html' title='[ASP]配列の代入は値渡し？参照渡し？'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-9057539184637367957</id><published>2011-10-27T19:08:00.007+09:00</published><updated>2011-10-28T09:37:51.856+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Uploadifyを使った。</title><summary type='text'>複数画像を選択してアップロードする要件があったためUploadifyを使った。オプション設定も豊富で使いやすいです。ポップアップウィンドウで使ったのですが、IEではuploader、script、cancelImg、folderのパスを絶対パスで書かないと正常にPOSTされないんですね。FireFox、Chromeでは相対パスでいけるのに。。。気が向いたらSafariでも試してみます。$(document).ready(function() {$('#file_upload').uploadify({'uploader'    : '/dev/agent/upload/uploadify.swf','script'      : '/dev/agent/upload/uploadify.php','cancelImg'   : '/dev/agent/upload/cancel.png'</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/9057539184637367957/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=9057539184637367957' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/9057539184637367957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/9057539184637367957'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2011/10/uploadify.html' title='Uploadifyを使った。'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-7211173320161902872</id><published>2010-11-27T14:44:00.006+09:00</published><updated>2010-11-27T15:40:13.367+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='写真'/><title type='text'>星空写真</title><summary type='text'>写真の話です。この時期になると、茅ヶ崎でも新月の夜には星がよく見えます。なので、家の前で写真を撮ってみました。これは EF24-85mmの24mm F3.5 ISO1000 16秒 で撮ってます。Photoshopでリサイズとアンシャープだけかけてます。こっちは EF50mm F1.8 ISO400 10秒 で撮ってます。条件が違うんで直接の比較にはならないですけど、やっぱ短焦点ですね。星の色とか鮮明さが違います。でも50mmだと画角が狭い感じです。なんで、24mm F1.8を注文してみました。また新月の夜で晴れた日があれば挑戦してみようかな。最後に、色々補正した結果の写真です。４枚の写真を合成してるんですが、成功はしてない感じです。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/7211173320161902872/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=7211173320161902872' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7211173320161902872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7211173320161902872'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2010/11/blog-post.html' title='星空写真'/><author><name>56</name><uri>http://www.blogger.com/profile/04596669068174890647</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-wEjfDzMCHMY/TtcI-D9i_vI/AAAAAAAABDM/gNLLgXBNpl0/s220/me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rc-drppKY0Y/TPCc3jY75rI/AAAAAAAAAcE/YDdLLhImbMs/s72-c/1D2N3457.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5057363212982781746</id><published>2010-04-18T21:17:00.000+09:00</published><updated>2010-04-18T21:17:36.913+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[C#] SharpSVNを使ってSubversionを操作してみる</title><summary type='text'>SharpSVNはSubvertionの.Net用クライアントライブラリ。
それを使って、ローカルのファイルを更新する処理のメモです。
ざっくりコードを乗せてみます。


using (SvnClient client = new SvnClient())
{

    //サーバー上のリポジトリ位置の設定
    SvnUriTarget repos = new SvnUriTarget(new Uri("file:///C:/svn_repository/SvnTest/"));
    //クライアントのファイル位置を設定
    SvnPathTarget local = new SvnPathTarget(@"C:\source\subvertionTest");

    //両方の情報を取得
    SvnInfoEventArgs serverInfo;
    </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5057363212982781746/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5057363212982781746' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5057363212982781746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5057363212982781746'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2010/04/c-sharpsvnsubversion.html' title='[C#] SharpSVNを使ってSubversionを操作してみる'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-3622557209439181635</id><published>2010-03-30T22:30:00.001+09:00</published><updated>2010-03-30T22:33:59.515+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>[WCF](暫定)WCFでSoapとRestを共通で</title><summary type='text'>はじめてのWCFです。

ホントはRestとNamedPipeをやりたかったけど、IIS7.0がいるって事らしいのであきらめました。
なんで、SoapとRestの共通化（？）する方法。

まず、適当なWcfサービスを作って、「System.ServiceMode.Web」を参照設定する。
InterfaceにUsing System.ServiceMode.Web; なんて書いてGetMessageなんてメソッドを作る。
この時、Attributeに「WebGet」をつける。


[WebGet(UriTemplate = "GetMessage/{key}/")]
[OperationContract]
string GetMessage(string key);


実処理も適当に実装。


public string GetMessage(string key)
{
    </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/3622557209439181635/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=3622557209439181635' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3622557209439181635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3622557209439181635'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2010/03/wcfwcfsoaprest.html' title='[WCF](暫定)WCFでSoapとRestを共通で'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1439003428779764373</id><published>2010-01-31T22:47:00.020+09:00</published><updated>2010-02-01T22:38:06.733+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[C#] List.ConvertAll</title><summary type='text'>C# 3.0以上で出来ます。(VBでも出来るはず）

Listの値をCSV文字列に変換出来ます。

//Listをカンマ区切りの文字列に変換する
List lst = new List { 1, 3, 5, 7 };

string csv =
string.Join(",", lst.ConvertAll(
delegate(int value) { return value.ToString(); }).ToArray());


//カンマ区切りの文字列をListに変換する
lst = csv.Split(',').ToList().ConvertAll(
delegate(string value) { return int.Parse(value); });




１行で書くことが良いかは別として出来るんですね。
# 勝手にHTMLタグが書き込まれて消せない。。。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1439003428779764373/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1439003428779764373' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1439003428779764373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1439003428779764373'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2010/01/c-listconvertall.html' title='[C#] List.ConvertAll'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1318190833329379571</id><published>2009-11-15T22:32:00.002+09:00</published><updated>2009-11-15T22:35:22.688+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>[IIS6.0] Webガーデン</title><summary type='text'>IIS6.0導入されたWebガーデンについてのメモです。Webガーデンで最大ワーカープロセス数を2以上にした場合に注意が必要。Webガーデンとは、１つのアプリケーションを複数のワーカープロセスで動かす仕組み。アプリケーション変数や、セッションは共有されない。つまり、SessionIdは別物になる。Session領域も別物になる。システム構築時にクラスタ構成と同じように考慮する必要がある。あんな簡単に設定できるものが、こんなに大きく影響があってよいのですかねぇ。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1318190833329379571/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1318190833329379571' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1318190833329379571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1318190833329379571'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/11/iis60-web.html' title='[IIS6.0] Webガーデン'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6813596920449342765</id><published>2009-11-11T23:03:00.005+09:00</published><updated>2009-11-11T23:29:46.885+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>[ASP.NET MVC] リストのモデルバインド</title><summary type='text'>ASP.NET MVCでモデルバインドが便利っぽいような不便っぽいような。新規にリストの値をバインドするなら問題ないのですよ。ModelPublic Class PrivateInfo    Public Name As String    Public History As List(Of History)End ClassPublic Class History    Public eventDate As DateTime    Public Score As Int32    Public Cost As Int32End ClassView&lt;%For each item In Model.History  Dim index As Integer = Model.History.IndexOf(item)%&gt;&lt;%=Html.TextBox(String.Format("</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6813596920449342765/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6813596920449342765' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6813596920449342765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6813596920449342765'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/11/aspnet-mvc.html' title='[ASP.NET MVC] リストのモデルバインド'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4044187161974234024</id><published>2009-10-20T21:41:00.005+09:00</published><updated>2009-11-11T23:35:26.743+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[C#] int?</title><summary type='text'>知りませんでした。int?これがなんなのかを調べるのにも苦労しちゃいました。検索エンジンで「?」なんて入れても引っかからないし。。。ま、素直にMSDNを調べればわかったことなんですけどね。Null値許容のint型って事なんですね。.Net Framework 2.0の時点であったとは。。。ちなにみVBだとDim i As Nullable(Of Int32)って書くらしいです。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4044187161974234024/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4044187161974234024' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4044187161974234024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4044187161974234024'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/10/c-int.html' title='[C#] int?'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-9101707358461752736</id><published>2009-09-10T21:27:00.004+09:00</published><updated>2009-09-10T21:40:50.566+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>[IIS]IISで指定の拡張子のファイルをクライアントに見せなくする</title><summary type='text'>たとえば、xmlファイルを公開フォルダ内においていた場合、デフォルトの設定だとクライアントから要求があれば見えてしまいます。それを見えなくする方法があります。これはIIS6.0以上のバージョンの場合です。まず、IISを止めて%SystemRoot%\system32\inetsrv\MetaBase.xmlを開きます。その中の&lt;IISMimeMap&gt;タグを見てください。&lt;IISMimeMap Location = "/LM/MimeMap" MimeMap=".asx,vide/x-ms-asf  .xml,text/xml  .tsv,text/tab-separated-values  (略)"&gt;&lt;/IIsMimeMap&gt;なんて感じになっていると思います。これの「.xml,text/xml」行を消しちゃいます。これでOKです。ブラウザからxmlファイルにアクセスすると 404エラーが</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/9101707358461752736/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=9101707358461752736' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/9101707358461752736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/9101707358461752736'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/09/iisiis.html' title='[IIS]IISで指定の拡張子のファイルをクライアントに見せなくする'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1037191947131796509</id><published>2009-09-02T23:29:00.004+09:00</published><updated>2009-11-11T23:35:40.385+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[.Net] .NetでのCOM相互運用</title><summary type='text'>.Netで作成したDLLをCOM(ActiveX?)としても使うようにするためのメモまずはクラスライブラリとしてプロジェクトを作成します。プロジェクトのプロパティでアプリケーションタブ内のアセンブリ情報から「アセンブリをCOM参照可能にする」にチェックを入れます。あとは、コンパイルタブの「COM相互運用機能の登録」にもチェックを入れておくと、デバッグとかが楽かも。プロジェクトにクラスを足すときは、「COMクラス」を使うのがお勧めです。次に、COMの確認。VBSファイルを作ってやるとか、VB6を使うとか、CraeteObjectで呼んでみるとかがありますね。Dim objSet obj = CreateObject("ClassLibrary1.ComClass1")MsgBox o.MethodTest()こんな感じですかね。後は、VSの入っていない環境にCOMを設定する方法。WinXP</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1037191947131796509/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1037191947131796509' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1037191947131796509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1037191947131796509'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/09/net-netcom.html' title='[.Net] .NetでのCOM相互運用'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4128659457806737955</id><published>2009-02-04T12:00:00.003+09:00</published><updated>2009-11-11T23:35:55.274+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[C#]週番号の取得</title><summary type='text'>VB6で言う所のDatePart(DateInterval.WeekOfYear, Now)をC#でやると。。。Calendar cal = CultureInfo.CurrentCulture.Calendar;CalendarWeekRule cwr = CultureInfo.CurrentCulture.DateTimeFormat.CalendarWeekRule;DayOfWeek firstDay = DayOfWeek.Monday;int weekNumber = cal.GetWeekOfYear(Target, cwr, firstDay);こんな感じで取れました。firstDayのあたりはお好みで。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4128659457806737955/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4128659457806737955' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4128659457806737955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4128659457806737955'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/02/c.html' title='[C#]週番号の取得'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6716052810276417625</id><published>2009-01-27T13:19:00.003+09:00</published><updated>2009-11-11T23:36:07.660+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[WPF]SliderとTextBoxのバインド</title><summary type='text'>XAML側でのバインド方法はすぐわかったんですけど、ビジネスロジック側でバインドする方法がなかなか見つからなかった。。。【XAMLでやるとき】    【C#でやるとき】Binding db = new Binding();db.ElementName = "Slider1";db.Path = new PropertyPath("Value");this.TextBox1.SetBinding(TextBox.TextProperty, db);</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6716052810276417625/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6716052810276417625' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6716052810276417625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6716052810276417625'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/wpfslidertextbox.html' title='[WPF]SliderとTextBoxのバインド'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1591204910678574848</id><published>2009-01-23T10:28:00.006+09:00</published><updated>2011-12-01T19:21:50.224+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[WPF]画像をピクセル等倍で表示する</title><summary type='text'>WPFの特徴として表示するコントロール等のサイズを実行環境に合わせて調整する機能があるようです。参考「WPF アプリケーションのピクセル スナップ」でも、これ、困るんです。JPG画像を表示したときに勝手に拡大されたり縮小されちゃってぼやけた感じになるのです。（なったのです。）画像は600*400で72dpiの画像（dpiは関係ない？）で、これを最大化したフォームの中央にピクセル等倍で表示したかったのですが、普通のWindowsFormのやり方では800*533.333...で表示されちゃいます。これをオリジナルのサイズで表示するにはこうやると良いっぽい。【XAML】　【C#】BitmapImage bi= new BitmapImage(new Uri("C:\test.jpg"));this.ImageArea.Source = bi;BitmapSource SourceData =</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1591204910678574848/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1591204910678574848' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1591204910678574848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1591204910678574848'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/wpf_23.html' title='[WPF]画像をピクセル等倍で表示する'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-2592339790070065281</id><published>2009-01-23T10:08:00.005+09:00</published><updated>2009-11-11T23:36:28.277+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[C#]配列のソート(例えばFileInfo)</title><summary type='text'>FileInfoクラスの更新時間順にソートしたい！なんて時のやり方。private FileInfo[] GetFiles{FileInfo[] fis;//・・・(略)Array.Sort(fis, delegate(FileInfo x, FileInfo y) { return   x.LastWriteTime.CompareTo(y.LastWriteTime); });}あんまりC#の構文に詳しくないのですが、こんなのがメソッドの中に書けるんですね。イケてるインデントの取り方がわかりません。こうかな？Array.Sort(　　fis　　,　　delegate(FileInfo x, FileInfo y)　　{　　　　return   x.LastWriteTime.CompareTo(y.LastWriteTime);　　});</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/2592339790070065281/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=2592339790070065281' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2592339790070065281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2592339790070065281'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/c-30fileinfo.html' title='[C#]配列のソート(例えばFileInfo)'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1658833359746004812</id><published>2009-01-22T11:23:00.003+09:00</published><updated>2009-11-11T23:37:16.556+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[.Net]スレッドっていろいろある</title><summary type='text'>.Netでのスレッドは大きく分けて以下の通り１．Threadクラスを使う２．ThreadPoolクラスを使う３．デリゲートを使うとなる。完全に個人的な考えだけど、それぞれの使い分けはThreadクラス→戻り値がいらない処理で、スレッドを止めたい事がある場合。一番細かい制御が可能。ThreadPoolクラス→性能を求められたら使う。デリゲート→スレッドと言ったら基本的にこれ。戻り値が簡単に取れるしコーディングしやすい。デリゲートの使い方の手順として１．スレッド処理関数を作る２．スレッド処理関数と同じ引数・戻り値のデリゲートを宣言し変数を宣言する。３．コールバック関数を作る。戻り値はvoid、引数はIAsyncResultが１つだけ。４．スレッドを呼び出す処理を書く。サンプルは以下に。ただし、今回は処理が終わったことだけを知りたいので、戻り値も引数もなし。・スレッド処理関数private </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1658833359746004812/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1658833359746004812' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1658833359746004812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1658833359746004812'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/net.html' title='[.Net]スレッドっていろいろある'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-2193366685520795783</id><published>2009-01-21T16:08:00.003+09:00</published><updated>2009-11-11T23:36:37.568+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[WPF]ラジオボタンのチェック状態の設定</title><summary type='text'>Windows.Formからちょっと変わっているんですね。ラジオボタンのチェック状態を設定するために、わざわざGoogleで検索しちゃいました。RadioButton.Checked → RadioButton.IsCheck他にもEnabledとかなくなってるし。。。詳しくはMSのサイトからたどって行くと言う事で。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/2193366685520795783/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=2193366685520795783' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2193366685520795783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2193366685520795783'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/wpf.html' title='[WPF]ラジオボタンのチェック状態の設定'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-2312080285784766284</id><published>2009-01-15T14:17:00.007+09:00</published><updated>2009-11-11T23:36:47.850+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[ASP.NET]サーバでExcelのグラフを作ったり(OWC)</title><summary type='text'>こんなものがあったんですね。Office Web Components 2003 (OWC)2000版もXP版もあるらしい。これを使うと、簡単にExcelファイルを生成してダウンロードさせたり、Excelのグラフを書き出して表示したり。。。ってちっとも簡単じゃない。Comオブジェクトだし。VS2005で試したのですが、単純にインストールして「Microsoft Office Web Components 11.0」を参照設定すればOKっぽいです。(PCにはOffice 2007のみインストール状態）で、あとはここの真似してC#で書いてみました。Response.Buffer = true;Response.ContentType = "image/gif";int[] aX = new int[10];int[] aY = new int[10];Random r = new </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/2312080285784766284/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=2312080285784766284' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2312080285784766284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2312080285784766284'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/aspnetexcelowc.html' title='[ASP.NET]サーバでExcelのグラフを作ったり(OWC)'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-936883663994857240</id><published>2009-01-13T16:02:00.003+09:00</published><updated>2009-01-13T16:24:49.904+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel'/><category scheme='http://www.blogger.com/atom/ns#' term='愚痴'/><title type='text'>[Excel]2007のファイルサイズ</title><summary type='text'>Excel 2007のファイルサイズがでかすぎます。SQL Server Management Studio で30くらいのViewからExcel形式でExportすると、それぞれのViewが1シートとなって合計30シートのファイルが作られます。で、そのExcelの各シートを新規ブックに移動して名前を付けて保存していったのです。データ量はまちまちで、テキストベースで3KB～187KBくらいなのですが、作業を進めるに従って作ったExcelのファイルサイズが大きくなってきているのです。30個目のファイルはテキストベースで3.7KB(1850文字くらい）なのですが、ファイルサイズが3.7MB。約1000倍！なんか、内部的に履歴を持ってるんでしょうね。Excel2000とExcel2003で保存し直しても小さくならないし、Netで調べたけど、対策がわからず。。。しょうがないので、新規にExcel</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/936883663994857240/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=936883663994857240' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/936883663994857240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/936883663994857240'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/excel2007.html' title='[Excel]2007のファイルサイズ'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-879192002018798572</id><published>2009-01-09T10:41:00.004+09:00</published><updated>2009-11-11T23:37:05.798+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>[SQL Server]レコードが更新されたら更新日時を勝手に更新する</title><summary type='text'>あるテーブルに作成日時と更新日時があるとします。で、こいつらを自動で更新する方法です。作成日時の方はInsertが発生した際のみで登録するので、こっちの方はCreate Tableの時に「DEFAULT (getdate())」を（MSSMSなら列のプロパティの規定値またはバインド）指定するだけ。更新日時はトリガーを使います。（他に見つからない。。）でこんな感じでとりあえずうまく行ってます。CREATE TRIGGER trUpdateDateTimeMemberInfo ON MemberInfo FOR UPDATE AS     begin     update MemberInfo        set 更新日時 = GetDate()    where MemberId = (select MemberId from inserted)endreturnサブクエリの</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/879192002018798572/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=879192002018798572' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/879192002018798572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/879192002018798572'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2009/01/sql-server.html' title='[SQL Server]レコードが更新されたら更新日時を勝手に更新する'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-2984861443136810280</id><published>2008-11-05T22:08:00.005+09:00</published><updated>2008-11-05T22:16:33.283+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='些細なこと'/><title type='text'>お気に入り</title><summary type='text'>ここ２年くらいはまっている食べ物があります。それは「ドリトス」です。スーパーに行けば、必ずといって良いほど買います。ドリトスを食べない週は無いほどです。そして、これはアメリカの友人から送ってもらった２つのフレーバーが入ったドリトス。これって２つの袋が入ってるのか？とも一瞬だけ思いましたが、これはアメリカ人向けの商品。実際のところ、味は１種類になります。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/2984861443136810280/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=2984861443136810280' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2984861443136810280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2984861443136810280'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/11/blog-post.html' title='お気に入り'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2ATehq4OebQ/SRGbsD2HAzI/AAAAAAAABNk/X2nLxr3BKIA/s72-c/DSC02866.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-7399776316417069223</id><published>2008-10-28T09:37:00.006+09:00</published><updated>2009-01-07T14:03:09.188+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='愚痴'/><title type='text'>助けを呼ぶにはまずは助けの呼び方を！？</title><summary type='text'>確かに、便利に使うためには、ある程度の使い方を覚える必要があることはわかります。携帯電話で110番したくても、携帯電話の使い方は知らないとだめですもんね。でも、やっぱり気に入りません。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/7399776316417069223/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=7399776316417069223' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7399776316417069223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7399776316417069223'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/10/blog-post_28.html' title='助けを呼ぶにはまずは助けの呼び方を！？'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2ATehq4OebQ/SQZfYChi4NI/AAAAAAAABMs/dcuXAkQfewE/s72-c/HelpOfHelp.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-9073671182637922729</id><published>2008-10-26T23:43:00.003+09:00</published><updated>2008-10-27T23:15:20.382+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='海辺の出来事'/><title type='text'>白ペプシ</title><summary type='text'>ちょっと寄ったコンビニで見慣れぬ飲み物を発見。コーラが白いぞ？ヨーグルト味だって？どんな味だ？あの焦げた砂糖のような味はするのか？と期待で胸を膨らませて飲んで見ました。味は悪くないんです。決して悪くないのです。でも、僕の期待をあっさりと裏切ってフツーの炭酸ジュースの味。。。アンバサソーダに似てるって意見に同意です。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/9073671182637922729/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=9073671182637922729' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/9073671182637922729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/9073671182637922729'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/10/blog-post_26.html' title='白ペプシ'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_2ATehq4OebQ/SQSCKeSNocI/AAAAAAAABME/6bcDgpJkJbI/s72-c/NEC_0073-733431.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4122515136067480069</id><published>2008-10-21T14:15:00.002+09:00</published><updated>2008-10-21T14:18:52.962+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>無線LANの基礎知識</title><summary type='text'>ちょっと仕事で必要だったので、基礎知識の確認メモです。一般的な規格はIEEE802.11シリーズ。これはWi-Fi(わいふぁい)とも呼ばれる。周波数帯2.4GHz帯または5.2GHz帯を利用している。現在の規格IEEE802.11b：周波数帯域 2.4GHz帯：11MbpsIEEE802.11a：周波数帯域 5.2GHz帯：54Mbps IEEE802.11g：周波数帯域 2.4GHz帯：54MbpsキーワードSSID・・・無線LANをグループ分けするためのID。WEP・・・暗号化の規格。初期のものなのでクラックされている。WPA・・・暗号化の規格。WEPの改良版。WPA2・・・WPAのセキュリティ強化版。WPS・・・WPAを簡単にセットアップするための規格。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4122515136067480069/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4122515136067480069' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4122515136067480069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4122515136067480069'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/10/lan.html' title='無線LANの基礎知識'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5893245306902443458</id><published>2008-10-10T11:22:00.002+09:00</published><updated>2008-10-10T11:28:36.473+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='社会の出来事'/><title type='text'>大和生命が経営破綻</title><summary type='text'>いやいや、やばいですね。日経平均も前場の終値で8,115円ですか。生保は倒産しても保険は保護されると思い込んでたんですが、貯蓄性の高い商品などは一部削減される可能性があるとかないとか。個人年金を考えていたのですが、ちょっと考えなおします。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5893245306902443458/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5893245306902443458' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5893245306902443458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5893245306902443458'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/10/blog-post.html' title='大和生命が経営破綻'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4298229493022219932</id><published>2008-08-23T00:04:00.006+09:00</published><updated>2008-08-23T00:15:04.844+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='海辺の出来事'/><title type='text'>そこから何kmですか？</title><summary type='text'>いつもの場所にある。３枚の看板。どれもそこから鵠沼海岸、そこから柳島までの距離がかいてあります。が、どれも距離が若干違います。ちょっと気になっただけです。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4298229493022219932/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4298229493022219932' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4298229493022219932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4298229493022219932'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/08/km.html' title='そこから何kmですか？'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_2ATehq4OebQ/SK7X7r3mmMI/AAAAAAAAAx4/Q8kTcF49QQo/s72-c/1D2N8543.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1931963937813327501</id><published>2008-08-01T09:27:00.002+09:00</published><updated>2008-08-01T09:33:42.699+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>スレッド、デリゲート、イベントに関する情報たち</title><summary type='text'>イベントとデリゲートデリゲート再入門汎用的に使用できる定義済みのデリゲート型イベントの概要 (Windows フォーム)方法 : クラスにイベントを実装するSystem.Delegate 非同期呼び出し編.NETマルチスレッド・プログラミング入門第7回：マルチスレッドプログラミング.NETマルチスレッドプログラミング非同期プログラミングのデザイン パターンマネージ スレッド処理クラス内部で別スレッドからメインスレッドにマーシャリングする方法</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1931963937813327501/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1931963937813327501' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1931963937813327501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1931963937813327501'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/08/blog-post.html' title='スレッド、デリゲート、イベントに関する情報たち'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-7981807250670025096</id><published>2008-07-02T10:22:00.002+09:00</published><updated>2008-07-02T10:35:45.300+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='キーワード'/><title type='text'>シリアライズって？</title><summary type='text'>改めて人に説明しようとした時に、説明できない単語が増えてきました。今まで何度も使っている、「シリアライズ」に関しても。です。IT用語事典では「ソフトウェア内部で扱っているデータを丸ごと、ファイルで保存したりネットワークで送受信することができるように変換すること。」って書いてありましたが、わかりにくい説明ですね。他にも複数の並列データを直列化することと書いてあったり、連続化することと書いてあったり、データをフラットにすることと書いてあったり、ホントわかりにくい。正確には何を指すのかわかりませんが、.Net上ではオブジェクトをバイト配列にする、またはXMLにすることだと理解しました。デシリアライズはその逆。オブジェクトのままではデータはバラバラに配置されているから、そいつをファイルなり通信なりで自分の管轄外のメモリ上（オブジェクト）に伝えたい時に必要な処理ということか。この説明で伝</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/7981807250670025096/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=7981807250670025096' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7981807250670025096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7981807250670025096'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/07/blog-post.html' title='シリアライズって？'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1902257365604720009</id><published>2008-06-25T11:55:00.004+09:00</published><updated>2008-06-25T12:01:13.498+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='キーワード'/><title type='text'>コネクション指向のプロトコル</title><summary type='text'>C#にてSocket通信をやっていますが、通信については無知に等しい感じです。Socket通信にて出てきたキーワードをメモします。データリンク・・・ホスト間の通信。その通信機能でのパケット交換などを行う。Http通信・・・Httpプロトコルを利用してデータのやり取りを行う。TCPコネクション確立後、このポート上でHTTPコマンドに従ったデータのやり取りが行われる。リクエストごとに完結する。コネクション指向のプロトコル・・・"コネクション" のネゴシエーション (ハンドシェイク と呼ばれる) を行い、データを全て送り終えたら接続を締め切る。TCPが該当する。IPはコネクションレスになる。シグナル状態・・・スレッドなどについて利用する場合、対象のスレッドを待機させる事。通信はメンドクサイですねぇ。。。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1902257365604720009/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1902257365604720009' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1902257365604720009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1902257365604720009'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/06/blog-post.html' title='コネクション指向のプロトコル'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-1402763291774008656</id><published>2008-03-19T11:03:00.004+09:00</published><updated>2009-11-11T23:40:13.439+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB] リソースのXMLをデータセットに読み込ませる</title><summary type='text'>テストデータなんかをXMLに書いておいて、読み込ませる時に使ってます。--------------------------' 現在実行中のアセンブリを取得Dim asm As Reflection.Assembly = Reflection.Assembly.GetExecutingAssembly()'アセンブリ中のすべての名称を取得Dim rns() As String = asm.GetManifestResourceNames()If (rns.Length &lt;= 0) Then   Return NothingEnd If' リソースのストリームを取得Dim s As IO.Stream = asm.GetManifestResourceStream(rns(0))'データセットに読み込ませるDim ds As New DataSetds.ReadXml(s)</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/1402763291774008656/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=1402763291774008656' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1402763291774008656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/1402763291774008656'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/03/vb-xml.html' title='[VB] リソースのXMLをデータセットに読み込ませる'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-7014786812345087398</id><published>2008-03-18T11:00:00.007+09:00</published><updated>2011-12-01T19:25:38.476+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB]DataTableのSelectメソッドまとめ</title><summary type='text'>最近よく使うのでちょっとメモ

使える比較演算子
&lt;,&gt;,&lt;=,&gt;=,&lt;&gt;,=,IN,LIKE

使える算術演算子
+ (加算),- (減算),* (乗算),/ (除算),% (剰余)

使える組み込み関数
CONVERT,LEN,ISNULL,IIF,TRIM,SUBSTRING



Dim foundRows() As DataRow = dt.Select("FieldA = 'TGT' AND SUBSTRING(FieldB,1,2) = FieldC")


</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/7014786812345087398/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=7014786812345087398' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7014786812345087398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7014786812345087398'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/03/vbdatatableselect.html' title='[VB]DataTableのSelectメソッドまとめ'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-8294843873765495890</id><published>2008-03-13T20:34:00.005+09:00</published><updated>2009-01-22T11:31:15.923+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB2003] OdbcDataAdapter</title><summary type='text'>なぜだかHiRDBとVB.Netの組み合わせです。OdbcDataAdapterのUpdateメソッドで楽しようとしたのですがダメでした。CommandBuilderを使ってもHiRDBではPrimaryKeyが取れないため（Odbcだからかな？）Update,Deleteに失敗します。（HiRDB.Netを使えれば解決できそうな気もするのですが、今回は「なし」なのです。）自分でInsertCommand,UpdateComanndを設定するのもあまりメリットがなさそうだったので、久しぶりにExecuteNonQueryでInsertを処理することにしてみました。それにしてもHiRDBは扱いが難しいですねぇ。。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/8294843873765495890/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=8294843873765495890' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8294843873765495890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8294843873765495890'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2008/03/vbnetodbcdataadapter.html' title='[VB2003] OdbcDataAdapter'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-3811273173893404766</id><published>2007-06-21T17:23:00.003+09:00</published><updated>2009-11-11T23:41:59.814+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB2005] メソッド名を取得する</title><summary type='text'>トレースログなんかで、自メソッドを呼んだのは誰？なんて事を知りたいときが良くあります。そんなときに使えそうな処理がわかりました。クラス名とメソッド名が取得されます。これから、Reflection関係を勉強してみたいです。---------------------------Dim st As StackTrace = New StackTrace(False)Dim sf As StackFrameDim mb As System.Reflection.MethodBaseDim sf0 As StackFrame = st.GetFrame(0)Dim mb0 As System.Reflection.MethodBase = sf0.GetMethod()Dim stackLoop As Int32 = 1Dim className As String = </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/3811273173893404766/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=3811273173893404766' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3811273173893404766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3811273173893404766'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/06/vb2005.html' title='[VB2005] メソッド名を取得する'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5733326222098446554</id><published>2007-06-08T13:31:00.002+09:00</published><updated>2011-12-01T19:16:38.044+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>[SQL Server 2005] SQL Serverでテーブル定義取得</title><summary type='text'>SQL Server 2005で、テーブル定義らしいものを取得するクエリです。
これを使って、テーブル定義書を自動生成させてます。


select
Col.name as '名称'
,(Select top 1 name From systypes Where systypes.xtype = Col.xtype) as '型'
,Col.length as '桁数'
,case isnull(Col.scale,0)
 when 0 then ' '
 else cast( Col.scale as char(10) )
 end '小数部'
,case  Col.isnullable
 when 0 then '○'
 else ' '
 end 'NN'
,isnull((select case colid when 0 then '' else '○' end  from </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5733326222098446554/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5733326222098446554' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5733326222098446554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5733326222098446554'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/06/sql-server-2005-sql-server.html' title='[SQL Server 2005] SQL Serverでテーブル定義取得'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-8719906623825799548</id><published>2007-04-23T12:43:00.001+09:00</published><updated>2009-01-22T11:32:15.697+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[ASP.NET] Validator系の動作</title><summary type='text'>知らなかった。。。Validator系（RequiredFieldValidator、RegularExpressionValidator、CompareValidator、RangeValidator）はクライアント側のチェックだけではなくて、サーバ側でもチェックを行っていたんですね。ただし、CustomValidatorはサーバサイドではチェックされないんですね。たまには本を読むのもよいものですね。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/8719906623825799548/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=8719906623825799548' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8719906623825799548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8719906623825799548'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/04/aspnet-validator.html' title='[ASP.NET] Validator系の動作'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-3661162416355313137</id><published>2007-04-13T14:26:00.000+09:00</published><updated>2007-04-13T14:34:50.243+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><title type='text'>[ASP] ASPからVB2005のDLLを使う</title><summary type='text'>ASP.NetではなくてASPです。色々調べてたんですけど、勝手にかなりメンドクサイらしいという結論に達してました。ところが、K君に「こんな感じで出きったぽいんですけど。。」と。うん。出来てました。１．VB2005でクラスライブラリを作成する。２．新しい項目の追加で「COMクラス」を追加する。３．COMクラスを作りこむ４．セットアッププロジェクトを追加してインストーラを作る５．インストールするなんと、これだけでいけちゃいました。例えば「ASPComTest01」と言うプロジェクトを作成して、その中にCOMクラス「ComClassTest01」を追加します。で、適当に文字列を返すメソッド「TestString」を作ります。そしてインストール。ASP側はSet obj = Server.CreateObjext("ASPComTest01.ComClassTest01")なんて感じで</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/3661162416355313137/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=3661162416355313137' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3661162416355313137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3661162416355313137'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/04/asp-aspvb2005dll.html' title='[ASP] ASPからVB2005のDLLを使う'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5386675459778867917</id><published>2007-03-28T18:33:00.001+09:00</published><updated>2009-01-22T11:32:51.549+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[ASP.NET] Vistaでステップ実行が出来ない時</title><summary type='text'>VistaでASP.NETをデバッグしようとしても、ブレイクポイントで止まらないのです。ちょっと調べたところ、周知の問題らしいです。これでまた、「アクセス許可を管理者に昇格」のやり方がわからなくてまいりました。。。インストール環境によりますが、C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exeを右クリックして、プロパティの特権レベルを設定するようです。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5386675459778867917/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5386675459778867917' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5386675459778867917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5386675459778867917'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/03/aspnet-vista.html' title='[ASP.NET] Vistaでステップ実行が出来ない時'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_2ATehq4OebQ/Rgo3svWXpuI/AAAAAAAAABE/vx7UZtnm5tA/s72-c/Property.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-3766910629026772053</id><published>2007-03-16T14:49:00.003+09:00</published><updated>2010-04-18T21:21:42.633+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] 配列の指定要素のみを削除する</title><summary type='text'>配列の最後の要素の消すのはなんてことはないのですが、
中盤の要素を削除するのって結構メンドクサイですね。

 
Private Sub ArrayRemove(ByRef TargetArray As String(), ByVal deleteIndex As Integer)

 '一時保管用配列
 Dim newArray As String()
 ReDim newArray(TargetArray.GetUpperBound(0) - 1)

 '一時保管用配列にすべてをコピーする
 Array.Copy(TargetArray, 0, newArray, 0, deleteIndex)

 '一時保管用配列に削除対象の要素以降の値をコピーする
 Array.Copy(TargetArray, deleteIndex + 1, newArray, deleteIndex, </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/3766910629026772053/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=3766910629026772053' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3766910629026772053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3766910629026772053'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/03/vbnet_16.html' title='[VB.NET] 配列の指定要素のみを削除する'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5818938180023862796</id><published>2007-03-13T10:46:00.000+09:00</published><updated>2007-03-13T10:51:52.482+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>[SQL] Order by でNullの行を下に持って行きたい</title><summary type='text'>ある列のソートで値が設定されているものを上位に、Nullであるものを下位にしたい時にこんなクエリにしたらうまく出来ました。ちなみに SQL Server 2000です。-----------------------select * from Ordersorder bycase when ShipRegion is null then 0 else 1 end desc,ShipRegion Asc</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5818938180023862796/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5818938180023862796' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5818938180023862796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5818938180023862796'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/03/sql-order-by-null.html' title='[SQL] Order by でNullの行を下に持って行きたい'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-8560414436300183204</id><published>2007-03-07T16:07:00.000+09:00</published><updated>2007-03-07T17:06:20.586+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VISIO'/><category scheme='http://www.blogger.com/atom/ns#' term='VBA'/><title type='text'>[VISIO] マスタシェープのドロップ時にカスタムプロパティを開く</title><summary type='text'>Visio 2003にてマスタシェープをドロップした際に、カスタムプロパティを開く方法。１．メニュー -&gt; ツール -&gt; オプション -&gt; 詳細設定タブ　　詳細設定オプションの「開発モードで実行する」をチェック状態にする。２．図形ウィンドウの対象のステンシルがあるタブを右クリックして、「ステンシルの編集」をクリックする。３．対象のマスタシェープを右クリックし、マスタシェイプの編集 -&gt; マスタシェイプの編集をクリックする。４．メニューの図形-&gt;カスタムプロパティをクリックして、カスタムプロパティの編集フォームを表示する。５．そのフォームの中に「ドロップ時に確認」と言うチェックボックスがあるのでチェックする。これで完了。シェープをフォームに貼り付けるとカスタムプロパティフォームが勝手に表示されます。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/8560414436300183204/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=8560414436300183204' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8560414436300183204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8560414436300183204'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/03/visio.html' title='[VISIO] マスタシェープのドロップ時にカスタムプロパティを開く'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-3056828531079833443</id><published>2007-03-02T19:48:00.001+09:00</published><updated>2009-01-22T11:33:23.904+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] ビットシフト</title><summary type='text'>今まで実践で使ったことがありません。と言うか、使い方がわかってないから使えていないだけなんでしょうか。。。これから意識していきたいです。Dim i As Integeri = 2i = i &lt;&lt; style="color: rgb(0, 153, 0);"&gt;'10進数数値Debug.WriteLine("10進数数値:" &amp; Convert.ToInt32(i, 10))'2進数文字列に変換Debug.WriteLine("2進数文字列に変換:" &amp; Convert.ToString(i, 2))'16進数文字列に変換Debug.WriteLine("16進数文字列に変換:" &amp; Convert.ToString(i, 16))'10進数数値:4'2進数文字列に変換:100'16進数文字列に変換:4i = 2i = i &lt;&lt; style="color: rgb(0, 153, 0);"&gt;</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/3056828531079833443/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=3056828531079833443' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3056828531079833443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/3056828531079833443'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/03/vbnet.html' title='[VB.NET] ビットシフト'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-2677279029377928961</id><published>2007-02-28T14:32:00.002+09:00</published><updated>2009-01-22T11:33:37.041+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] 指定プロセス名をすべて終了させる</title><summary type='text'>指定のプロセス名をすべて終了させてみます。' 対象プロセス名は"Main"Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click　　Dim p As New System.Diagnostics.Process　　Dim inst As Process　　Dim myProcess() As Process　　myProcess = System.Diagnostics.Process.GetProcessesByName("Main")　　For Each inst In myProcess　　　　p = System.Diagnostics.Process.GetProcessById(inst.Id)　　　　p.Kill()</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/2677279029377928961/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=2677279029377928961' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2677279029377928961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2677279029377928961'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/02/vbnet.html' title='[VB.NET] 指定プロセス名をすべて終了させる'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4525682258713853268</id><published>2007-02-15T15:36:00.001+09:00</published><updated>2009-01-22T11:33:53.411+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] WMIクラスの自動コード生成</title><summary type='text'>MgmtClassGen.exeを利用してWMIのマネージコードを作成できます。「C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin」とか「C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin」この辺にいます。ノートパソコンのバッテリー関係の情報を取得するクラス生成の方法は以下のとおりです。MgmtclassGen Win32_Battery /P c:\Battery.vb /L VBオプションは /P &lt;ファイルパス&gt;、/L &lt;言語&gt;、ほかにN、O、M、U、PWがあるらしいです。詳しくは MgmtClassGen /? で。後はこのあたりで。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4525682258713853268/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4525682258713853268' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4525682258713853268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4525682258713853268'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/02/vbnet-wmi.html' title='[VB.NET] WMIクラスの自動コード生成'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6955134633443808920</id><published>2007-02-13T13:24:00.001+09:00</published><updated>2009-01-22T11:34:11.261+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] メールの送信フォームを起動する</title><summary type='text'>MAPIって言うものを使うと、MAPIに関連づいたメールクライアント（Outlook ,Outlook Expressなど）の送信フォームを起動できます。まず、画面にMAPISessionとMAPIMessagesを貼り付けて。。。----------------Me.AxMAPIMessages1.SessionID = Me.AxMAPISession1.SessionIDWith Me.AxMAPIMessages1　　'メッセージを作成　　.Compose()　　'あて先　　.RecipDisplayName = "[DisplayName]"　　'メールアドレス　　.RecipAddress = "[mailaddress]"　　'Subject　　.MsgSubject = "サブジェクト"　　'本文　　.MsgNoteText = "本文"　　'添付ファイル（複数）　　</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6955134633443808920/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6955134633443808920' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6955134633443808920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6955134633443808920'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/02/blog-post_13.html' title='[VB.NET] メールの送信フォームを起動する'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-6997603544942359058</id><published>2007-02-02T16:23:00.000+09:00</published><updated>2007-03-01T19:29:12.699+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='キーワード'/><title type='text'>気になるキーワード</title><summary type='text'>WPFASP.NET AJAX 1.0.NET Framework 3.0デブサミ2007XAMLExpression StudioMVCVisual Studio Team System Team Foundation Server</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/6997603544942359058/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=6997603544942359058' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6997603544942359058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/6997603544942359058'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/02/blog-post.html' title='気になるキーワード'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-2463131406152734086</id><published>2007-02-01T15:53:00.000+09:00</published><updated>2007-02-01T15:57:24.649+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術メモ'/><title type='text'>[技術メモ] Vista + Visual Studio .Net 2003</title><summary type='text'>結論から言いますと、VistaでVS2003は使えません。いや、使えるんですけどMSのサポート外らしいです。http://www.microsoft.com/japan/msdn/vstudio/support/windowsvista/faq/ほんとメイワクな話です。</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/2463131406152734086/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=2463131406152734086' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2463131406152734086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/2463131406152734086'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/02/vista-visual-studio-net-2003.html' title='[技術メモ] Vista + Visual Studio .Net 2003'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-8450950631404686425</id><published>2007-01-29T12:58:00.002+09:00</published><updated>2009-01-22T11:34:30.881+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] 数値書式指定文字列</title><summary type='text'>数値書式指定文字列について。       Dim i As Integer      i = 1234567890      Debug.WriteLine("C   " &amp; i.ToString("C"))      Debug.WriteLine("D   " &amp; i.ToString("D"))      Debug.WriteLine("D12 " &amp; i.ToString("D12"))      Debug.WriteLine("E   " &amp; i.ToString("E"))      Debug.WriteLine("F   " &amp; i.ToString("F"))      Debug.WriteLine("F4  " &amp; i.ToString("F4"))      Debug.WriteLine("G   " &amp; i.ToString("G"))      </summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/8450950631404686425/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=8450950631404686425' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8450950631404686425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8450950631404686425'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/01/vbnet_29.html' title='[VB.NET] 数値書式指定文字列'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4925938143063355138</id><published>2007-01-27T22:15:00.002+09:00</published><updated>2011-12-01T19:11:25.667+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] Select Caseで色々と。</title><summary type='text'>Caseの部分は結構色々書けるんですね。
複数項目の場合(1 or 2 or 4)は
Case 1,2,4
範囲指定の場合(10以上15以下)は
Case 10 To 15
またそのあわせ技
Case 1,2,4, 10 To 15
比較演算子も使えたり（100以上）は
Case Is &gt;= 100

以上から
1か2か4か10から15の間か100以上であるなんて場合は


Select Case selectValue
 Case 1 ,2 ,4 ,10 To 15 ,Is &gt;= 100
  ' 処理
 Case Else
  ' 例外処理
End Select


って書き方が出来るらしいです。
If文よりもすっきりです。

</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4925938143063355138/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4925938143063355138' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4925938143063355138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4925938143063355138'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/01/vbnet-select-case.html' title='[VB.NET] Select Caseで色々と。'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-5315802281090312903</id><published>2007-01-27T22:08:00.001+09:00</published><updated>2009-01-22T11:34:58.292+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] MAPIを使ってメールの作成</title><summary type='text'>画面にMAPISessionとMAPIMessagesを貼り付けて。。。-----------------------Me.AxMAPISession1.SignOn()'セッションの関連付けMe.AxMAPIMessages1.SessionID = Me.AxMAPISession1.SessionIDWith Me.AxMAPIMessages1　　'メッセージを作成　　.Compose()　　'あて先　　.RecipDisplayName = "[DisplayName]"　　'メールアドレス　　.RecipAddress = "[mailaddress]"　　'Subject　　.MsgSubject = "サブジェクト"　　'本文　　.MsgNoteText = "本文"　　'添付ファイル（複数）　　For i As Int32 = 0 To filelist.Count -</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/5315802281090312903/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=5315802281090312903' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5315802281090312903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/5315802281090312903'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/01/mapi.html' title='[VB.NET] MAPIを使ってメールの作成'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-7335767491119966669</id><published>2007-01-26T13:02:00.001+09:00</published><updated>2009-01-22T11:35:15.105+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net'/><title type='text'>[VB.NET] 現在のログインユーザが管理者権限かをチェックする</title><summary type='text'>現在のログインユーザが管理者権限かをチェックするには。。。Imports System.Security.PrincipalPrivate Function IsAdministrator() As Boolean　　' 現在の Windows ユーザを表す WindowsIndentity オブジェクトを取得　　Dim Identity As WindowsIdentity = indowsIdentity.GetCurrent()　　' ロールを評価するための WindowsPrincipal オブジェクトを 　　' WindowsIdentity オブジェクトから作成します　　Dim principal As New WindowsPrincipal(Identity)　　If principal.IsInRole(WindowsBuiltInRole.Administrator)</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/7335767491119966669/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=7335767491119966669' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7335767491119966669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/7335767491119966669'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/01/vbnet.html' title='[VB.NET] 現在のログインユーザが管理者権限かをチェックする'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-8311052206504336032</id><published>2007-01-26T12:11:00.000+09:00</published><updated>2007-01-26T13:27:58.233+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>[APS.NET] ASP.NET 1.1が実行されてないエラーの対処</title><summary type='text'>以下のサイトからの引用です。http://www.masahiko.info/it/archives/000408.htmlVisual Studio .NETでASP.NET WebアプリケーションやASP.NET Webサービスのプロジェクトを作成するとき、「指定されたWebサーバーでASP.NET Version 1.1が実行されていません。ASP.NET Webアプリケーションまたはサービスを実行することはできなくなります。」というエラーが発生する時の対処方法。（1）.NET Framework 1.1がインストールされているかチェック。インストールされていなければ、Windows Updateもしくは次のサイトから再配布可能パッケージを入手してインストールします。（2）.NET Framework 1.1がインストールされているにもかかわらず、このエラーが発生する場合は、</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/8311052206504336032/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=8311052206504336032' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8311052206504336032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/8311052206504336032'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/01/aspnet-11.html' title='[APS.NET] ASP.NET 1.1が実行されてないエラーの対処'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-632341586005791089.post-4678062570759723931</id><published>2007-01-26T09:48:00.000+09:00</published><updated>2007-01-26T13:28:17.314+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>[ASP.NET] ASP.NETでPDFをStream出力</title><summary type='text'>VB.NET で Webアプリケーションを作成します。んで、参照設定で「CrystalDecisions.*」を設定。次にプロジェクトにCrystalレポートファイルを追加します。ファイル名（＝クラス名）MDA20で保存します。フォームにボタンを追加してクリックイベントに以下のコードを書くとサーバ上にpdfファイルを作成せずにクライアントにダウンロードさせることが出来まっす。あ、imports はテキトウに設定をしないとだめだす。--------------------------Dim Report As New ReportDocumentDim exportOpts As New ExportOptionsDim b As Byte()Dim st As System.IO.Stream'レポートをロードReport = New Report20'以下エクスポート処理</summary><link rel='replies' type='application/atom+xml' href='http://point56.blogspot.com/feeds/4678062570759723931/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=632341586005791089&amp;postID=4678062570759723931' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4678062570759723931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/632341586005791089/posts/default/4678062570759723931'/><link rel='alternate' type='text/html' href='http://point56.blogspot.com/2007/01/aspnetpdfstream.html' title='[ASP.NET] ASP.NETでPDFをStream出力'/><author><name>56</name><uri>http://www.blogger.com/profile/13996141757535142374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
