<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Programming Life &#187; .NET</title>
	<atom:link href="http://blog.coding.ro/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coding.ro</link>
	<description>Coding Through Life</description>
	<lastBuildDate>Fri, 13 Jan 2012 09:03:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Embedded Database For .NET</title>
		<link>http://blog.coding.ro/embedded-database-for-net/</link>
		<comments>http://blog.coding.ro/embedded-database-for-net/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 21:39:28 +0000</pubDate>
		<dc:creator>sonix</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[embed database]]></category>
		<category><![CDATA[Firebird]]></category>

		<guid isPermaLink="false">http://blog.coding.ro/?p=87</guid>
		<description><![CDATA[One of the major fights I had while making a jump from Delphi programming to C# and .NET was the one related to embedded databases. In Delphi there are many options and I&#8217;ve used most of them in my programming endeavors. On the other side, .NET  seems poor by comparison. However, I discovered that one [...]]]></description>
			<content:encoded><![CDATA[<p>One of the major fights I had while making a jump from Delphi programming to C# and .NET was the one related to <strong>embedded databases</strong>. In Delphi there are many options and I&#8217;ve used most of them in my programming endeavors. On the other side, .NET  seems poor by comparison. However, I discovered that one of the solutions I used with Delphi also supports .NET languages.</p>
<p><strong>Firebird</strong> project seems to have an embeddable library for .NET available. I&#8217;ve successfully used Firebird database in my Delphi projects in the past and it was the perfect solution for a client-server architecture I&#8217;ve developed.</p>
<p>This database engine has a strong community behind it and it&#8217;s  continuously developed further and further. Also, there are a lot of tools to manage firebird databases, some of them completely free. Deployment of a Firebird based application is simplified as the entire database is encapsulated in one single file and the actual DB engine consists of a single dll.</p>
<p>As a bonus, Firebird has one of the most relaxed license possible (basically you can use it for whatever purposes) <img src='http://blog.coding.ro/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<p>So, long story short,  for anybody looking for an embeddable database for .NET just check the <a title="Firebird" href="http://www.firebirdsql.org/" target="_blank">Firebird Project&#8217;s page </a> .</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.coding.ro%2Fembedded-database-for-net%2F&amp;title=Embedded%20Database%20For%20.NET" id="wpa2a_2"><img src="http://blog.coding.ro/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.coding.ro/embedded-database-for-net/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.NET Form Transparency</title>
		<link>http://blog.coding.ro/net-form-transparency/</link>
		<comments>http://blog.coding.ro/net-form-transparency/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 08:16:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[form transparency]]></category>
		<category><![CDATA[MouseEventHandler]]></category>
		<category><![CDATA[opacity]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://blog.coding.ro/?p=9</guid>
		<description><![CDATA[A little tip on the .NET Form Transparency. The following code shall provide a simple way to adjust the form transparency using the mouse wheel button. //=== in the initialization section insert this: this.MouseWheel += new MouseEventHandler(TransparencyHandle); //=== in the form&#8217;s class : private void TransparencyHandle(object sender, MouseEventArgs e) { if (e.Delta &#62; 0) { [...]]]></description>
			<content:encoded><![CDATA[<p>A little tip on the .NET Form Transparency.<br />
The following code shall provide a simple way to adjust the form transparency using the mouse wheel button.</p>
<p>//=== in the initialization section insert this:</p>
<p>this.MouseWheel += new MouseEventHandler(TransparencyHandle);</p>
<p>//=== in the form&#8217;s class :<br />
private void TransparencyHandle(object sender, MouseEventArgs e)<br />
{<br />
if (e.Delta &gt; 0)<br />
{<br />
this.Opacity = this.Opacity + 0.05;<br />
}<br />
else<br />
{<br />
this.Opacity = this.Opacity &#8211; 0.05;<br />
}<br />
}<br />
This should do it.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.coding.ro%2Fnet-form-transparency%2F&amp;title=.NET%20Form%20Transparency" id="wpa2a_4"><img src="http://blog.coding.ro/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.coding.ro/net-form-transparency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET TEXT-TO-SPEECH example</title>
		<link>http://blog.coding.ro/text-to-speech/</link>
		<comments>http://blog.coding.ro/text-to-speech/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 08:09:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[BackgroundWorker]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[SpVoice]]></category>
		<category><![CDATA[TEXT-TO-SPEECH]]></category>

		<guid isPermaLink="false">http://blog.coding.ro/?p=8</guid>
		<description><![CDATA[Some methods to implement text-to-speech in a .NET application: ?View Code CSHARP1 2 3 4 5 6 7 8 9 10 11 12 13 14 public void Sing&#40;string vMessage&#41; &#123; BackgroundWorker bw = new BackgroundWorker&#40;&#41;; bw.DoWork += new DoWorkEventHandler&#40;bw_DoWork&#41;; bw.RunWorkerAsync&#40;vMessage&#41;; &#125; &#160; private static void bw_DoWork&#40;object sender, DoWorkEventArgs e&#41; &#123; SpVoice voice = new SpVoice&#40;&#41;; [...]]]></description>
			<content:encoded><![CDATA[<p>Some methods to implement text-to-speech in a .NET application:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p8code2'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p82"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code" id="p8code2"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">void</span> Sing<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span> vMessage<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    BackgroundWorker bw <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> BackgroundWorker<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    bw<span style="color: #008000;">.</span><span style="color: #0000FF;">DoWork</span> <span style="color: #008000;">+=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> DoWorkEventHandler<span style="color: #008000;">&#40;</span>bw_DoWork<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    bw<span style="color: #008000;">.</span><span style="color: #0000FF;">RunWorkerAsync</span><span style="color: #008000;">&#40;</span>vMessage<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">static</span> <span style="color: #6666cc; font-weight: bold;">void</span> bw_DoWork<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">object</span> sender, DoWorkEventArgs e<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    SpVoice voice <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> SpVoice<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    voice<span style="color: #008000;">.</span><span style="color: #0000FF;">Speak</span><span style="color: #008000;">&#40;</span>e<span style="color: #008000;">.</span><span style="color: #0000FF;">Argument</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>, SpeechVoiceSpeakFlags<span style="color: #008000;">.</span><span style="color: #0000FF;">SVSFDefault</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span> 
<span style="color: #008000;">&#125;</span>
&nbsp;
Sing<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Hello&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.coding.ro%2Ftext-to-speech%2F&amp;title=.NET%20TEXT-TO-SPEECH%20example" id="wpa2a_6"><img src="http://blog.coding.ro/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.coding.ro/text-to-speech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET DataSet Creation</title>
		<link>http://blog.coding.ro/net-dataset-creation/</link>
		<comments>http://blog.coding.ro/net-dataset-creation/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 08:07:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[DataSet]]></category>
		<category><![CDATA[DataSet Creation]]></category>

		<guid isPermaLink="false">http://blog.coding.ro/?p=7</guid>
		<description><![CDATA[private void GetData(string selectCommand) { try { // Specify a connection string. Replace the given value with a // valid connection string for a Northwind SQL Server sample // database accessible to your system. String connectionString = &#8220;Integrated Security=SSPI;Persist Security Info=False;&#8221; + &#8220;Initial Catalog=Northwind;Data Source=localhost&#8221;; // Create a new data adapter based on the specified [...]]]></description>
			<content:encoded><![CDATA[<p>private void GetData(string selectCommand)<br />
{<br />
try<br />
{<br />
// Specify a connection string. Replace the given value with a<br />
// valid connection string for a Northwind SQL Server sample<br />
// database accessible to your system.<br />
String connectionString =<br />
&#8220;Integrated Security=SSPI;Persist Security Info=False;&#8221; +<br />
&#8220;Initial Catalog=Northwind;Data Source=localhost&#8221;;</p>
<p>// Create a new data adapter based on the specified query.<br />
dataAdapter = new SqlDataAdapter(selectCommand, connectionString);</p>
<p>// Create a command builder to generate SQL update, insert, and<br />
// delete commands based on selectCommand. These are used to<br />
// update the database.<br />
SqlCommandBuilder commandBuilder = new SqlCommandBuilder(dataAdapter);</p>
<p>// Populate a new data table and bind it to the BindingSource.<br />
DataTable table = new DataTable();<br />
table.Locale = System.Globalization.CultureInfo.InvariantCulture;<br />
dataAdapter.Fill(table);<br />
bindingSource1.DataSource = table;</p>
<p>// Resize the DataGridView columns to fit the newly loaded content.<br />
dataGridView1.AutoResizeColumns(<br />
DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);<br />
}<br />
catch (SqlException)<br />
{<br />
MessageBox.Show(&#8220;To run this example, replace the value of the &#8221; +<br />
&#8220;connectionString variable with a connection string that is &#8221; +<br />
&#8220;valid for your system.&#8221;);<br />
}<br />
}</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.coding.ro%2Fnet-dataset-creation%2F&amp;title=.NET%20DataSet%20Creation" id="wpa2a_8"><img src="http://blog.coding.ro/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.coding.ro/net-dataset-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

