<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
        <title>BabbaBlog</title>
        <link>http://blogs.ugidotnet.org/BabbaBlog/Default.aspx</link>
        <description>Il blog di Paolo Ongari</description>
        <language>it-IT</language>
        <copyright>Paolo Ongari</copyright>
        <managingEditor>babbawg@gmail.com</managingEditor>
        <generator>Subtext Version 1.9.5.176</generator>
        <image>
            <title>BabbaBlog</title>
            <url>http://blogs.ugidotnet.org/images/RSS2Image.gif</url>
            <link>http://blogs.ugidotnet.org/BabbaBlog/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Babbablog" type="application/rss+xml" /><item>
            <title>Silverlight tip #3: Password textbox</title>
            <category>Silverlight</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/366043116/silverlight-tip-3-password-textbox.aspx</link>
            <description>&lt;p&gt;Per rendere la textbox di tipo "password" (nascondendo i caratteri digitati) un semplice modo è quello indicato su questo &lt;a href="http://dev-tricks.net/silverlight-password-field-no-longer-missing" target="_blank"&gt;post&lt;/a&gt; utilizzarando un font particolare.&lt;/p&gt;  &lt;p&gt;Ecco come fare: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;scaricare il &lt;a href="http://www.ongari.it/public/FTP/password.ttf" target="_blank"&gt;font allegato&lt;/a&gt; e inserirlo nella ClientBin (al pari dello XAP)&lt;/li&gt;    &lt;li&gt;dichiarare l'utilizzo del font sul controllo in questo modo:     &lt;br /&gt;&lt;em&gt;&amp;lt;TextBox x:Name="txtPwd" FontFamily="password.ttf#Password" /&amp;gt;&lt;/em&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="168" alt="image" src="http://www.ongari.it/public/BabbaBlogUpload/Silverlighttip3Passwordtextbox_B98/image.png" width="240" border="0" /&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Lo Xaml: &lt;/p&gt; &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;  &lt;div class="csharpcode"&gt;   &lt;pre class="alt"&gt;&amp;lt;UserControl x:Class=&lt;span class="str"&gt;"SilverlightApplication8.Page"&lt;/span&gt;&lt;/pre&gt;

  &lt;pre&gt;    xmlns=&lt;span class="str"&gt;"http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/span&gt; &lt;/pre&gt;

  &lt;pre class="alt"&gt;    xmlns:x=&lt;span class="str"&gt;"http://schemas.microsoft.com/winfx/2006/xaml"&lt;/span&gt; &lt;/pre&gt;

  &lt;pre&gt;    Width=&lt;span class="str"&gt;"400"&lt;/span&gt; Height=&lt;span class="str"&gt;"300"&lt;/span&gt;&amp;gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;    &amp;lt;Canvas x:Name=&lt;span class="str"&gt;"LayoutRoot"&lt;/span&gt; Background=&lt;span class="str"&gt;"White"&lt;/span&gt;&amp;gt;&lt;/pre&gt;

  &lt;pre&gt;        &amp;lt;TextBox x:Name=&lt;span class="str"&gt;"txtPwd"&lt;/span&gt; FontFamily=&lt;span class="str"&gt;"password.ttf#Password"&lt;/span&gt; Width=&lt;span class="str"&gt;"100"&lt;/span&gt; Canvas.Top=&lt;span class="str"&gt;"10"&lt;/span&gt; Canvas.Left=&lt;span class="str"&gt;"10"&lt;/span&gt;/&amp;gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;        &amp;lt;Button x:Name=&lt;span class="str"&gt;"btnPwd"&lt;/span&gt; Width=&lt;span class="str"&gt;"100"&lt;/span&gt; Canvas.Top=&lt;span class="str"&gt;"40"&lt;/span&gt; Canvas.Left=&lt;span class="str"&gt;"10"&lt;/span&gt; Content=&lt;span class="str"&gt;"Cosa ho scritto?"&lt;/span&gt; Click=&lt;span class="str"&gt;"btnPwd_Click"&lt;/span&gt;/&amp;gt;&lt;/pre&gt;

  &lt;pre&gt;        &amp;lt;TextBlock x:Name=&lt;span class="str"&gt;"lblPwd"&lt;/span&gt; Width=&lt;span class="str"&gt;"100"&lt;/span&gt; Canvas.Top=&lt;span class="str"&gt;"70"&lt;/span&gt; Canvas.Left=&lt;span class="str"&gt;"10"&lt;/span&gt;/&amp;gt;&lt;/pre&gt;

  &lt;pre class="alt"&gt;    &amp;lt;/Canvas&amp;gt;&lt;/pre&gt;

  &lt;pre&gt;&amp;lt;/UserControl&amp;gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Il codice c#&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Windows.Controls;&lt;/pre&gt;

  &lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Windows;&lt;/pre&gt;

  &lt;pre class="alt"&gt; &lt;/pre&gt;

  &lt;pre&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; SilverlightApplication8&lt;/pre&gt;

  &lt;pre class="alt"&gt;{&lt;/pre&gt;

  &lt;pre&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;partial&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; Page : UserControl&lt;/pre&gt;

  &lt;pre class="alt"&gt;    {&lt;/pre&gt;

  &lt;pre&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; Page()&lt;/pre&gt;

  &lt;pre class="alt"&gt;        {&lt;/pre&gt;

  &lt;pre&gt;            InitializeComponent();&lt;/pre&gt;

  &lt;pre class="alt"&gt;        }&lt;/pre&gt;

  &lt;pre&gt;        &lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; btnPwd_Click(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre class="alt"&gt;        {&lt;/pre&gt;

  &lt;pre&gt;            lblPwd.Text = txtPwd.Text;&lt;/pre&gt;

  &lt;pre class="alt"&gt;        }&lt;/pre&gt;

  &lt;pre&gt;    }&lt;/pre&gt;

  &lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;/div&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93718.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/366043116" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/16/silverlight-tip-3-password-textbox.aspx</guid>
            <pubDate>Fri, 15 Aug 2008 22:54:08 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93718.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/16/silverlight-tip-3-password-textbox.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93718.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93718.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/16/silverlight-tip-3-password-textbox.aspx</feedburner:origLink></item>
        <item>
            <title>Silverlight tip #2: Loading images</title>
            <category>Silverlight</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/365631533/silverlight-tip-2-loading-images.aspx</link>
            <description>&lt;p&gt;Ci sono diversi modi per caricare una immagine.... eccone alcuni:&lt;/p&gt;  &lt;p&gt;1) &lt;strong&gt;includere l'immagine nel progetto, settare nelle proprietà dell'immagine "Build Action" su "Resource" e "Do not copy":&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Image x:Name="imgPic" Source="images/Babba.jpg" /&amp;gt;&lt;/p&gt;  &lt;p&gt;In questo caso l'immagine sarà embeddata nel nostro assembly.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;2) &lt;strong&gt;stesso esempio ma fatto da codice: &lt;/strong&gt;&lt;/p&gt; &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[






.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;  &lt;div class="csharpcode"&gt;   &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre&gt;    Uri uri = &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;"images/Babba.jpg"&lt;/span&gt;, UriKind.Relative);&lt;/pre&gt;

  &lt;pre class="alt"&gt;    bitmapImage.UriSource = uri;&lt;/pre&gt;

  &lt;pre&gt;    imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;3) &lt;strong&gt;settare "Build Action" su "Content" e "Do not copy", in questo modo l'immagine sarà embeddata nello XAP:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre&gt;    Uri uri = &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;"/images/Babba.jpg"&lt;/span&gt;, UriKind.Relative);&lt;/pre&gt;

  &lt;pre class="alt"&gt;    bitmapImage.UriSource = uri;&lt;/pre&gt;

  &lt;pre&gt;    imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;4) &lt;strong&gt;settare "Build Action" su "None" e "Copy always" (o anche "Copy if newer"); in questo caso l'immagine non sarà embeddata ma sarà esterna&lt;/strong&gt;. Nell'esempio sotto basta copiare l'immagine allo stesso livello dello XAP (nella ClientBin):&lt;/p&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre&gt;    Uri uri = &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;"/Babba.jpg"&lt;/span&gt;, UriKind.Relative);&lt;/pre&gt;

  &lt;pre class="alt"&gt;    bitmapImage.UriSource = uri;&lt;/pre&gt;

  &lt;pre&gt;    imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;5) &lt;strong&gt;caricare una immagine dal web specificando il tipo di Uri Assoluto:&lt;/strong&gt;&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[





.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre&gt;    Uri uri = &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;"http://www.ongari.it/Images/BabbaOnLine.jpg"&lt;/span&gt;, UriKind.Absolute);&lt;/pre&gt;

  &lt;pre class="alt"&gt;    bitmapImage.UriSource = uri;&lt;/pre&gt;

  &lt;pre&gt;    imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;6) &lt;strong&gt;caricamento tramite WebClient in modo asincrono per file di grosse dimensioni&lt;/strong&gt;; nell'esempio sotto riportato, posizionare l'immagine nella ClientBin dove si trova lo XAP:&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    WebClient wc = &lt;span class="kwrd"&gt;new&lt;/span&gt; WebClient();&lt;/pre&gt;

  &lt;pre&gt;    wc.OpenReadCompleted += &lt;span class="kwrd"&gt;new&lt;/span&gt; OpenReadCompletedEventHandler(wc_OpenReadCompleted);&lt;/pre&gt;

  &lt;pre class="alt"&gt;    wc.OpenReadAsync(&lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;"Babba.jpg"&lt;/span&gt;, UriKind.Relative));&lt;/pre&gt;

  &lt;pre&gt;}&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;void&lt;/span&gt; wc_OpenReadCompleted(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, OpenReadCompletedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (e.Error == &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;

  &lt;pre&gt;    {&lt;/pre&gt;

  &lt;pre class="alt"&gt;        StreamResourceInfo streamResourceInfo = &lt;span class="kwrd"&gt;new&lt;/span&gt; StreamResourceInfo(e.Result &lt;span class="kwrd"&gt;as&lt;/span&gt; Stream, &lt;span class="kwrd"&gt;null&lt;/span&gt;);&lt;/pre&gt;

  &lt;pre&gt;        BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre class="alt"&gt;        bitmapImage.SetSource(streamResourceInfo.Stream);&lt;/pre&gt;

  &lt;pre&gt;        imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;    }&lt;/pre&gt;

  &lt;pre&gt;}&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;7) &lt;strong&gt;caricamento da un file ZIP scaricato tramite WebClient&lt;/strong&gt;; nell'esempio sotto riportato, posizionare lo ZIP nella ClientBin dove si trova lo XAP:&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    WebClient wc = &lt;span class="kwrd"&gt;new&lt;/span&gt; WebClient();&lt;/pre&gt;

  &lt;pre&gt;    wc.OpenReadCompleted += &lt;span class="kwrd"&gt;new&lt;/span&gt; OpenReadCompletedEventHandler(wc_OpenReadCompleted);&lt;/pre&gt;

  &lt;pre class="alt"&gt;    wc.OpenReadAsync(&lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;"MioZippone.zip"&lt;/span&gt;, UriKind.Relative), &lt;span class="str"&gt;"Babba.jpg"&lt;/span&gt;);&lt;/pre&gt;

  &lt;pre&gt;}&lt;/pre&gt;

  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;void&lt;/span&gt; wc_OpenReadCompleted(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, OpenReadCompletedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (e.Error == &lt;span class="kwrd"&gt;null&lt;/span&gt;)&lt;/pre&gt;

  &lt;pre&gt;    {&lt;/pre&gt;

  &lt;pre class="alt"&gt;        StreamResourceInfo stream1 = &lt;span class="kwrd"&gt;new&lt;/span&gt; StreamResourceInfo(e.Result &lt;span class="kwrd"&gt;as&lt;/span&gt; Stream, &lt;span class="kwrd"&gt;null&lt;/span&gt;);&lt;/pre&gt;

  &lt;pre&gt;        String uri = e.UserState &lt;span class="kwrd"&gt;as&lt;/span&gt; String;&lt;/pre&gt;

  &lt;pre class="alt"&gt;        StreamResourceInfo stream2 = Application.GetResourceStream(stream1, &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(uri, UriKind.Relative));&lt;/pre&gt;

  &lt;pre&gt;        BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre class="alt"&gt;        bitmapImage.SetSource(stream2.Stream);&lt;/pre&gt;

  &lt;pre&gt;        imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;    }&lt;/pre&gt;

  &lt;pre&gt;}&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;8) &lt;strong&gt;caricamento da percorso locale&lt;/strong&gt;:&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[



.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;

&lt;div class="csharpcode"&gt;
  &lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; OnLoad(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;{&lt;/pre&gt;

  &lt;pre class="alt"&gt;    OpenFileDialog d = &lt;span class="kwrd"&gt;new&lt;/span&gt; OpenFileDialog();&lt;/pre&gt;

  &lt;pre&gt;    d.Filter = &lt;span class="str"&gt;"Immagini (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|Tutti i files (*.*)|*.*"&lt;/span&gt;;&lt;/pre&gt;

  &lt;pre class="alt"&gt;    &lt;span class="kwrd"&gt;if&lt;/span&gt; (d.ShowDialog() == &lt;span class="kwrd"&gt;true&lt;/span&gt;)&lt;/pre&gt;

  &lt;pre&gt;    {&lt;/pre&gt;

  &lt;pre class="alt"&gt;        Stream stream = d.SelectedFile.OpenRead();&lt;/pre&gt;

  &lt;pre&gt;        BitmapImage bitmapImage = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage();&lt;/pre&gt;

  &lt;pre class="alt"&gt;        bitmapImage.SetSource(stream);&lt;/pre&gt;

  &lt;pre&gt;        imgPic.Source = bitmapImage;&lt;/pre&gt;

  &lt;pre class="alt"&gt;        stream.Close();&lt;/pre&gt;

  &lt;pre&gt;    }&lt;/pre&gt;

  &lt;pre class="alt"&gt;}&lt;/pre&gt;
&lt;/div&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93714.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/365631533" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/15/silverlight-tip-2-loading-images.aspx</guid>
            <pubDate>Fri, 15 Aug 2008 12:20:34 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93714.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/15/silverlight-tip-2-loading-images.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93714.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93714.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/15/silverlight-tip-2-loading-images.aspx</feedburner:origLink></item>
        <item>
            <title>Silverlight tip #1: Game Loops</title>
            <category>Silverlight</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/365518324/silverlight-tip-1-game-loops.aspx</link>
            <description>&lt;p&gt;Da oggi inizio a memorizzarmi gli esempi e le prove che faccio con silvelight.&lt;/p&gt;
&lt;p&gt;Questo esempio trovato sul blog di &lt;a target="_blank" href="http://silverlight.net/blogs/msnow/default.aspx"&gt;Mike Snows&lt;/a&gt; consente di creare un loop tramite l'utilizzo dello Storyboard utile da utilizzare nei giochi. Come dice Mike questa tecnica risulta essere la migliore rispetto ad altre.&lt;/p&gt;
&lt;p&gt;Nell'esempio vedrete visualizzato un contatore che si incrementa in una TextBlock.   &lt;br /&gt;
 &lt;/p&gt;
&lt;p&gt;Ecco lo XAML:&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[




.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&amp;lt;UserControl x:Class=&lt;span class="str"&gt;"SilverlightApplication2.Page"&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;    xmlns=&lt;span class="str"&gt;"http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/span&gt; &lt;/pre&gt;
&lt;pre class="alt"&gt;    xmlns:x=&lt;span class="str"&gt;"http://schemas.microsoft.com/winfx/2006/xaml"&lt;/span&gt; &lt;/pre&gt;
&lt;pre&gt;    Width=&lt;span class="str"&gt;"400"&lt;/span&gt; Height=&lt;span class="str"&gt;"300"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;    &amp;lt;Grid x:Name=&lt;span class="str"&gt;"LayoutRoot"&lt;/span&gt; Background=&lt;span class="str"&gt;"White"&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;pre&gt;        &amp;lt;TextBlock x:Name=&lt;span class="str"&gt;"myTextbox"&lt;/span&gt;&amp;gt;Display Counter&amp;lt;/TextBlock&amp;gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;    &amp;lt;/Grid&amp;gt;&lt;/pre&gt;
&lt;pre&gt;&amp;lt;/UserControl&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Il codice C#:&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;style type="text/css"&gt;&lt;![CDATA[


.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }]]&gt;&lt;/style&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Windows.Controls;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Windows.Media.Animation;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Windows.Shapes;&lt;/pre&gt;
&lt;pre class="alt"&gt; &lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; SilverlightApplication2&lt;/pre&gt;
&lt;pre class="alt"&gt;{&lt;/pre&gt;
&lt;pre&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;partial&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; Page : UserControl&lt;/pre&gt;
&lt;pre class="alt"&gt;    {&lt;/pre&gt;
&lt;pre&gt;        Storyboard _gameLoop = &lt;span class="kwrd"&gt;new&lt;/span&gt; Storyboard();&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;int&lt;/span&gt; count = 0;&lt;/pre&gt;
&lt;pre&gt; &lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; Page()&lt;/pre&gt;
&lt;pre&gt;        {&lt;/pre&gt;
&lt;pre class="alt"&gt;            InitializeComponent();&lt;/pre&gt;
&lt;pre&gt;            _gameLoop.Duration = TimeSpan.FromMilliseconds(0);&lt;/pre&gt;
&lt;pre class="alt"&gt;            _gameLoop.Completed += &lt;span class="kwrd"&gt;new&lt;/span&gt; EventHandler(MainGameLoop);&lt;/pre&gt;
&lt;pre&gt;            _gameLoop.Begin();&lt;/pre&gt;
&lt;pre class="alt"&gt;        }&lt;/pre&gt;
&lt;pre&gt; &lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;void&lt;/span&gt; MainGameLoop(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;/pre&gt;
&lt;pre&gt;        {&lt;/pre&gt;
&lt;pre class="alt"&gt;            &lt;span class="rem"&gt;// Add any game logic/animation here.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;            &lt;span class="rem"&gt;// Example:&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;            myTextbox.Text = count.ToString();&lt;/pre&gt;
&lt;pre&gt;            count++;&lt;/pre&gt;
&lt;pre class="alt"&gt; &lt;/pre&gt;
&lt;pre&gt;            &lt;span class="rem"&gt;// Continue storyboard timer&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;            _gameLoop.Begin();&lt;/pre&gt;
&lt;pre&gt;        }&lt;/pre&gt;
&lt;pre class="alt"&gt;    }&lt;/pre&gt;
&lt;pre&gt;}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Per variare il tempo basta incrementare la &lt;em&gt;Duration&lt;/em&gt; dello storyboard:&lt;/p&gt;
&lt;p&gt;_gameLoop.Duration = TimeSpan.FromMilliseconds(1000); // 1 secondo&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Ecco il &lt;a target="_blank" href="http://silverlight.net/blogs/msnow/archive/2008/07/09/storyboard-versus-dispatchertimer-for-animation-and-game-loops.aspx"&gt;post&lt;/a&gt; originale.&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93710.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/365518324" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/15/silverlight-tip-1-game-loops.aspx</guid>
            <pubDate>Fri, 15 Aug 2008 08:41:55 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93710.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/15/silverlight-tip-1-game-loops.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93710.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93710.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/15/silverlight-tip-1-game-loops.aspx</feedburner:origLink></item>
        <item>
            <title>VSNET2008 SP1 e Silverlight Tool Beta 2</title>
            <category>Downloads</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/362290402/vsnet2008-sp1-e-silverlight-tool-beta-2.aspx</link>
            <description>&lt;p&gt;Per chi come me in questi giorni si sta guardando Silverlight 2.0, se avete installato l'SP1 di Visual Studio 2008 appena &lt;a href="http://msdn.microsoft.com/en-us/vsts2008/products/cc533447.aspx" target="_blank"&gt;uscito&lt;/a&gt;, sappiate che &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=50A9EC01-267B-4521-B7D7-C0DBA8866434&amp;amp;displaylang=en" target="_blank"&gt;dovete aggiornare i Silverlight Tools&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Maggiori informazioni &lt;a href="http://timheuer.com/blog/archive/2008/08/11/visual-studio-2008-sp1-and-silverlight.aspx" target="_blank"&gt;qui&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93681.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/362290402" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/11/vsnet2008-sp1-e-silverlight-tool-beta-2.aspx</guid>
            <pubDate>Mon, 11 Aug 2008 21:03:18 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93681.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/11/vsnet2008-sp1-e-silverlight-tool-beta-2.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93681.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93681.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/11/vsnet2008-sp1-e-silverlight-tool-beta-2.aspx</feedburner:origLink></item>
        <item>
            <title>DeepZoomBabba: Deep Zoom va di moda!</title>
            <category>NSIS</category>
            <category>Silverlight</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/360657145/deepzoombabba-deep-zoom-va-di-moda.aspx</link>
            <description>&lt;p&gt;Ormai si vede un pò ovunque, tutti ne parlano, tutti lo provano... allora eccoci qua.&lt;/p&gt;
&lt;p&gt;Per chi non lo conoscesse Deep Zoom è una delle 'features' di Silverlight 2.0 che consente di visualizzare immagini ad alta risoluzione in modo 'veloce' scaricando solo la porzione visualizzata.&lt;/p&gt;
&lt;p&gt;Per utilizzare questa caratteristica ci viene in aiuto un programmino gratuito che si chiama Deep Zoom Composer veramente facile ed intuitivo da utilizzare.&lt;/p&gt;
&lt;p&gt;Le applicazioni che beneficiano dell'utilizzo di questa caratteristica sono diverse: &lt;a href="http://memorabilia.hardrock.com/" target="_blank"&gt;cataloghi&lt;/a&gt;, foto vacanze, &lt;a href="http://www.ongari.it/BabbaZoom/ClientBin/DeepZoomProjectTestPage.html" target="_blank"&gt;mosaici&lt;/a&gt;, mappe ed indicazioni stradali, &lt;a href="http://www.vertigo.com/DeepZoom.aspx" target="_blank"&gt;anteprime di siti web&lt;/a&gt;, ecc...&lt;/p&gt;
&lt;p&gt;Quando ho visto l'utilizzo a mosaico più famoso sul web, ovvero "&lt;a href="http://www.deepzoomobama.com/" target="_blank"&gt;DeepZoomObama&lt;/a&gt;" non ho resistito nel provare a fare il "&lt;a href="http://www.ongari.it/BabbaZoom/ClientBin/DeepZoomProjectTestPage.html" target="_blank"&gt;DeepZoomBabba&lt;/a&gt;".&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ongari.it/BabbaZoom/ClientBin/DeepZoomProjectTestPage.html" target="_blank"&gt;&lt;img height="240" width="188" border="0" style="border: 0px none ;" alt="image" src="http://www.ongari.it/public/BabbaBlogUpload/DEEPZOOMvadimoda_AD4/image.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Farlo è molto semplice grazie al programma gratuiro &lt;a href="http://www.andreaplanet.com/andreamosaic/" target="_blank"&gt;AndreaMosaic&lt;/a&gt; che permette data una immagine di ottenerne il mosaico utilizzando le proprie foto.&lt;/p&gt;
&lt;p&gt;... che aspettate a fare il vostro?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Ecco un po di link utili:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=457b17b7-52bf-4bda-87a3-fa8a4673f8bf&amp;amp;DisplayLang=en"&gt;Deep Zoom Composer&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://www.andreaplanet.com/andreamosaic/download/"&gt;AndreaMosaic&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://www.microsoft.com/silverlight/resources/install.aspx?v=2.0"&gt;Silverlight 2 beta 2&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://silverlight.net/learn/learnvideo.aspx?video=45278"&gt;Video tutorial su Deep Zoom Composer&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt; &lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93667.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/360657145" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/10/deepzoombabba-deep-zoom-va-di-moda.aspx</guid>
            <pubDate>Sat, 09 Aug 2008 23:26:51 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93667.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/10/deepzoombabba-deep-zoom-va-di-moda.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93667.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93667.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/08/10/deepzoombabba-deep-zoom-va-di-moda.aspx</feedburner:origLink></item>
        <item>
            <title>Installare SQL express 2005 con NSIS</title>
            <category>Varie</category>
            <category>Windows Forms</category>
            <category>NSIS</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/328674174/93302.aspx</link>
            <description>&lt;p&gt;Un setup creato con &lt;a target="_blank" href="http://nsis.sourceforge.net/Main_Page"&gt;Nullsoft installer&lt;/a&gt; che lancia l'installazione di slqexpress solo se non presente.&lt;/p&gt;
&lt;p&gt;Ho specificato un po di opzioni che cmq si possono personalizzare (vedi ExecWait ... )&lt;/p&gt;
&lt;div style="border: 1px solid rgb(208, 208, 208); color: rgb(0, 0, 102); font-family: monospace; background-color: rgb(240, 240, 240);" class="nsis"&gt;
&lt;ol&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;OutFile&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"SQLExpress2005Setup.exe"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;Section&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;SectionEnd &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Function&lt;/span&gt; &lt;span style="color: rgb(0, 102, 0);"&gt;.onInit&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#installazione non visibile  &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(0, 0, 153);"&gt;SetSilent&lt;/span&gt; &lt;span style="color: rgb(255, 102, 0);"&gt;silent&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;# controllo presenza SQL Express 2005&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(0, 0, 153);"&gt;Call&lt;/span&gt; CheckSqlExpress&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(0, 0, 153);"&gt;ExecWait&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;'SQLEXPR_ITA.EXE /qb INSTANCENAME=SQLEXPRESS \&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(102, 0, 102);"&gt;         ADDLOCAL=SQL_Engine SECURITYMODE=SQL \&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(102, 0, 102);"&gt;         SAPWD=strpwd DISABLENETWORKPROTOCOLS=0'&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(0, 0, 153);"&gt;SetOutPath&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"$DESKTOP"&lt;/span&gt;  &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#Start /wait &amp;lt;CD or DVD Drive&amp;gt;\servers\setup.exe /qb &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#INSTANCENAME=&amp;lt;InstanceName&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#ADDLOCAL=All &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#PIDKEY=&amp;lt;pidkey value with no "-"&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#SAPWD=&amp;lt;StrongPassword&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#SQLACCOUNT=&amp;lt;domain\user&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#SQLPASSWORD=&amp;lt;DomainUserPassword&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#AGTACCOUNT=&amp;lt;domain\user&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#AGTPASSWORD=&amp;lt;DomainUserPassword&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#SQLBROWSERACCOUNT=&amp;lt;domain\user&amp;gt; &lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;   &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#SQLBROWSERPASSWORD=&amp;lt;DomainUserPassword&amp;gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;FunctionEnd&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Function&lt;/span&gt; CheckSqlExpress&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;span style="color: rgb(0, 0, 153);"&gt;Call&lt;/span&gt; CheckSqlExpressInstalled&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;Pop&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;StrCmp&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt; &lt;span&gt;1&lt;/span&gt; found.SQLExpress2005 no.SQLExpress2005&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;  found.SQLExpress2005:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;MessageBox&lt;/span&gt; &lt;span style="color: rgb(255, 102, 0);"&gt;MB_OK&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"SQL Express 2005 è già installato."&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;abort&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;  no.SQLExpress2005:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;FunctionEnd&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;Function&lt;/span&gt; CheckSqlExpressInstalled&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;Push&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;Push&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;Push&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;Push&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;Push&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Push&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;5&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;StrCpy&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"0"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;StrCpy&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;1&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"SOFTWARE\Microsoft"&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;registry entry to look in.&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;         &lt;span style="color: rgb(0, 0, 153);"&gt;StrCpy&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span&gt;0&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;  StartEnum:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;EnumRegKey&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(255, 102, 0);"&gt;HKLM&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"$1\Microsoft SQL Server"&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#MessageBox MB_OK "EnumRegKey $3"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;StrCmp&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;""&lt;/span&gt; noSQL notEmpty&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;Trovato qualcosa&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;    notEmpty:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;Inizia per 'MSSQL.'.&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;StrCpy&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;4&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;3&lt;/span&gt;&lt;/span&gt; &lt;span&gt;6&lt;/span&gt; &lt;span&gt;0&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#MessageBox MB_OK "EnumRegKey $4"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;StrCmp&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;4&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"MSSQL."&lt;/span&gt; &lt;span&gt;+1&lt;/span&gt; goNext&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;ReadRegStr&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;5&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(255, 102, 0);"&gt;HKLM&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"$1\Microsoft SQL Server\$3\Setup"&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"Edition"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;span style="color: rgb(0, 0, 153);"&gt;StrCmp&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;5&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 102);"&gt;"Express Edition"&lt;/span&gt; yesSQL goNext &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#MessageBox MB_OK "ok: $5"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;span style="color: rgb(0, 0, 153);"&gt;Goto&lt;/span&gt; noSQL&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;    goNext:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;Vado alla prossima chiave.&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;IntOp&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;2&lt;/span&gt;&lt;/span&gt; + &lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;goto&lt;/span&gt; StartEnum&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;    &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;  noSQL:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#MessageBox MB_OK "NON trovato SQL Express 2005"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;StrCpy&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt; &lt;span&gt;0&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Goto&lt;/span&gt; done&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;  yesSQL:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;#MessageBox MB_OK "Trovato SQL Express 2005"&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;StrCpy&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt; &lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;  done:&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;      &lt;span style="color: rgb(0, 0, 153);"&gt;Pop&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;5&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Pop&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Pop&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Pop&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Pop&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(102, 102, 102); font-style: italic;"&gt;;MessageBox MB_OK $0&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;       &lt;span style="color: rgb(0, 0, 153);"&gt;Exch&lt;/span&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;$&lt;span&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-family: 'Courier New',courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; font-size: 130%; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; color: rgb(0, 48, 48);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt;&lt;span style="color: rgb(0, 0, 102);"&gt;FunctionEnd&lt;/span&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li style="font-weight: bold; color: rgb(0, 96, 96);"&gt;
    &lt;div style="font-weight: normal; color: rgb(0, 0, 32); font-style: normal; font-family: 'Courier New',courier,monospace;"&gt; &lt;/div&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93302.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/328674174" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/07/07/93302.aspx</guid>
            <pubDate>Mon, 07 Jul 2008 07:44:53 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93302.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/07/07/93302.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93302.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93302.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/07/07/93302.aspx</feedburner:origLink></item>
        <item>
            <title>TaskDialog</title>
            <category>C#</category>
            <category>Downloads</category>
            <category>Windows Forms</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/325573881/93267.aspx</link>
            <description>&lt;p&gt;Interessante dll con sorgenti per evolvere le ns. classiche Messagebox.&lt;/p&gt;  &lt;p&gt;Lo trovate a &lt;a href="http://code.msdn.microsoft.com/TaskDialogforWinForm" target="_blank"&gt;questo indirizzo&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.ongari.it/public/BabbaBlogUpload/TaskDialog_8515/TaskDialog.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="328" alt="TaskDialog" src="http://www.ongari.it/public/BabbaBlogUpload/TaskDialog_8515/TaskDialog_thumb.jpg" width="404" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93267.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/325573881" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/07/03/93267.aspx</guid>
            <pubDate>Thu, 03 Jul 2008 07:32:10 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93267.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/07/03/93267.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93267.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93267.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/07/03/93267.aspx</feedburner:origLink></item>
        <item>
            <title>WMI Code Creator tool</title>
            <category>Windows Forms</category>
            <category>Downloads</category>
            <category>C#</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/320440530/93176.aspx</link>
            <description>&lt;p&gt;Tool gratuito di Microsoft che ci aiuta con WMI.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&amp;amp;displaylang=en"&gt;Clicca qui&lt;/a&gt; per scaricare.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://i.technet.microsoft.com/cc161034.fig01.gif" alt="" /&gt;&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/93176.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/320440530" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/06/26/93176.aspx</guid>
            <pubDate>Thu, 26 Jun 2008 10:36:00 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/93176.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/06/26/93176.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/93176.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/93176.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/06/26/93176.aspx</feedburner:origLink></item>
        <item>
            <title>Timestamp server URL</title>
            <category>C#</category>
            <category>Windows Forms</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/307932992/92975.aspx</link>
            <description>&lt;p&gt;Dato che tutte le sante volte che devo usarlo perdo 10 minuti a cercarlo eccolo che me lo appunto e magari torna utile anche a voi:&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&lt;a href="http://timestamp.verisign.com/scripts/timestamp.dll"&gt;http://timestamp.verisign.com/scripts/timestamp.dll&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/92975.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/307932992" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/06/09/92975.aspx</guid>
            <pubDate>Mon, 09 Jun 2008 10:50:52 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/92975.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/06/09/92975.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/92975.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/92975.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/06/09/92975.aspx</feedburner:origLink></item>
        <item>
            <title>NSIS: trucchettini</title>
            <category>Varie</category>
            <category>NSIS</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/281565526/92475.aspx</link>
            <description>&lt;p&gt;Mi segno alcune cosette che spesso mi tornano comodo con &lt;a target="_blank" href="http://nsis.sourceforge.net"&gt;NSIS&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;* &lt;strong&gt;lanciare un eseguibile prima dell'uninstall&lt;/strong&gt;&lt;/p&gt;
&lt;div style="margin: 0px; padding: 0px; display: inline; float: none;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:514c767d-f7c9-4625-84e0-cd4c1870c904" class="wlWriterSmartContent"&gt;
&lt;pre style="overflow: auto; background-color: rgb(248, 248, 248);"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Function un.onInit&lt;br /&gt;  ClearErrors&lt;br /&gt;  ExecWait &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;'&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;C:\MyApp.exe&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;'&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; $&lt;/span&gt;&lt;span style="color: rgb(128, 0, 128);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;   ${If} ${Errors}         Abort        &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;cancel uninstall&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  ${ElseIf} $&lt;/span&gt;&lt;span style="color: rgb(128, 0, 128);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &amp;lt;&amp;gt; &lt;/span&gt;&lt;span style="color: rgb(128, 0, 128);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;     Abort  &lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;;&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt;cancel uninstall&lt;/span&gt;&lt;span style="color: rgb(0, 128, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;${EndIf}&lt;br /&gt;FunctionEnd&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;* &lt;strong&gt;personalizzare la scritta "Nullsoft Install System..."&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;   &lt;/p&gt;
&lt;div style="margin: 0px; padding: 0px; display: inline; float: none;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:b434a5b3-2c2e-4242-a8b1-edb2839ab80c" class="wlWriterSmartContent"&gt;
&lt;pre style="overflow: auto; background-color: rgb(249, 249, 249);"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;BrandingText &lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;nome mia azienda&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;* &lt;strong&gt;lanciare uno dei link installati a fine installazione&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://nsis.sourceforge.net/Run_an_application_shortcut_after_an_install"&gt;leggi articolo&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/92475.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/281565526" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/05/01/92475.aspx</guid>
            <pubDate>Thu, 01 May 2008 17:02:05 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/92475.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/05/01/92475.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/92475.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/92475.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/05/01/92475.aspx</feedburner:origLink></item>
        <item>
            <title>101 Esempi query LINQ</title>
            <category>C#</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/275691294/92331.aspx</link>
            <description>&lt;p&gt;In questa &lt;a href="http://msdn2.microsoft.com/en-us/vcsharp/aa336746.aspx" target="_blank"&gt;pagina&lt;/a&gt; sono riassunti un sacco di esempi di query LINQ.&lt;/p&gt;  &lt;p&gt;Interessanti anche un &lt;a href="http://blogs.devleap.com/marco/archive/2007/11/26/paginazione-in-linq-to-sql.aspx" target="_blank"&gt;esempio di paginazione&lt;/a&gt; fatta da Brunetti e una carrellata di &lt;a href="http://blogs.msdn.com/charlie/archive/2006/11/19/linq-farm-group-and-distinct.aspx" target="_blank"&gt;distinct&lt;/a&gt; su questo blog.&lt;/p&gt;  &lt;p&gt;Per provarli esiste questo &lt;a href="http://www.linqpad.net/" target="_blank"&gt;LINQPad&lt;/a&gt; molto comodo e ben fatto.&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/92331.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/275691294" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/04/22/92331.aspx</guid>
            <pubDate>Tue, 22 Apr 2008 21:45:26 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/92331.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/04/22/92331.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/92331.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/92331.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/04/22/92331.aspx</feedburner:origLink></item>
        <item>
            <title>Odinare numeri pari e dispari con LINQ</title>
            <category>C#</category>
            <link>http://feeds.feedburner.com/~r/Babbablog/~3/271790281/92248.aspx</link>
            <description>&lt;p&gt;Bellissimo &lt;a href="http://blogs.msdn.com/pietrobr/archive/2008/01/18/come-odinare-numeri-pari-e-dispari.aspx" target="_blank"&gt;post&lt;/a&gt; di Pietro Brambati che mi appunto per non dimenticarmene.&lt;/p&gt;  &lt;p&gt;Il problema che risolve 1 riga di codice è: "data una lista di numeri pari e dispari non in ordine come si separano i numeri pari da quelli dispari ?"&lt;/p&gt;  &lt;p&gt;   &lt;/p&gt;&lt;div class="wlWriterSmartContent" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:e5554bef-6d8d-4c63-89da-d13939103c78" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;&lt;pre style="background-color:#F8F8F8;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;
List&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; elenco &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; List&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; { &lt;/span&gt;&lt;span style="color: #800080;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;7&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;9&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;3&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;4&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;3&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;4&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;3&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;4&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;5&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;9&lt;/span&gt;&lt;span style="color: #000000;"&gt; };
var pariEdispari &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elenco.OrderBy(s &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; s &lt;/span&gt;&lt;span style="color: #000000;"&gt;%&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;);
var pariEdispariOrdinati &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elenco.OrderBy(s &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; s &lt;/span&gt;&lt;span style="color: #000000;"&gt;%&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;).ThenBy(s &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; s);

&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;foreach&lt;/span&gt;&lt;span style="color: #000000;"&gt; (var item &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; pariEdispariOrdinati)
{
      Console.WriteLine(item);
}
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;


&lt;p&gt;... che dire C# evolve...&lt;/p&gt;&lt;img src="http://blogs.ugidotnet.org/BabbaBlog/aggbug/92248.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/Babbablog/~4/271790281" height="1" width="1"/&gt;</description>
            <dc:creator>Paolo Ongari</dc:creator>
            <guid isPermaLink="false">http://blogs.ugidotnet.org/BabbaBlog/archive/2008/04/17/92248.aspx</guid>
            <pubDate>Thu, 17 Apr 2008 00:06:35 GMT</pubDate>
            <wfw:comment>http://blogs.ugidotnet.org/BabbaBlog/comments/92248.aspx</wfw:comment>
            <comments>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/04/17/92248.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/BabbaBlog/comments/commentRss/92248.aspx</wfw:commentRss>
            <trackback:ping>http://blogs.ugidotnet.org/BabbaBlog/services/trackbacks/92248.aspx</trackback:ping>
        <feedburner:origLink>http://blogs.ugidotnet.org/BabbaBlog/archive/2008/04/17/92248.aspx</feedburner:origLink></item>
    </channel>
</rss>
