<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-7001399157156208387</atom:id><lastBuildDate>Wed, 03 Feb 2010 16:52:25 +0000</lastBuildDate><title>Mrt</title><description>Blog for programming issues.
Especially Microsoft based technologies.</description><link>http://blog.mrt-web.com/</link><managingEditor>noreply@blogger.com (Mrt)</managingEditor><generator>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-1601669280767758497</guid><pubDate>Thu, 21 Jan 2010 06:38:00 +0000</pubDate><atom:updated>2010-01-21T14:08:02.397+03:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ESXi</category><category domain='http://www.blogger.com/atom/ns#'>XenServer</category><category domain='http://www.blogger.com/atom/ns#'>Virtualizaiton</category><title>Which server virtualization platform is better?</title><description>Which server virtualization platform is better?&lt;br /&gt;&lt;br /&gt;Answering this question is extremely hard! Supposing we have these server virtualization platforms:&lt;br /&gt;VMWare ESXi&lt;br /&gt;Citrix XenServer&lt;br /&gt;Microsoft Hyper-V&lt;br /&gt;&lt;br /&gt;I've been using and testing these different solutions for a while, now I've come to a conclusion:&lt;br /&gt;It is better not to talk about Hyper-V here, I think it does not worth talking about it. Between Citrix XenServer and VMWare ESXi, I'd personally prefer Citrix XenServer.&lt;br /&gt;ESXi and XenServer are both free, but Hyper-V is not.&lt;br /&gt;&lt;br /&gt;XenServer works with a wide variety of hardwares, without a hassle. But my main problem with ESXi (despite fewer features than XenServer), was the hardware incompatibility problems, especially with NICs. ESXi supposes that you use some special hardwares, it is not working with ordinary ones. But XenServer works very well with ordinary hardwares (even notebooks!) and professionals as well.&lt;br /&gt;&lt;br /&gt;My short experience of using ESXi, XenServer and Hpyer-V, says that XenServer is the best solution among these three solutions (at least about price with Hyper-V and about hardware compatibility with ESXi)...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-1601669280767758497?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2010/01/which-server-virtualization-platform-is.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-1895197270548744521</guid><pubDate>Thu, 18 Jun 2009 07:57:00 +0000</pubDate><atom:updated>2009-08-19T15:46:22.726+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>vcf</category><category domain='http://www.blogger.com/atom/ns#'>Import Contacts</category><category domain='http://www.blogger.com/atom/ns#'>Nokia</category><category domain='http://www.blogger.com/atom/ns#'>VCARD</category><category domain='http://www.blogger.com/atom/ns#'>iPhone</category><title>How to import your exisiting contacts from your old Nokia phone to your new iPhone?</title><description>You may want to import your existing contacts from your old Nokia (or in general &lt;a href="http://en.wikipedia.org/wiki/VCard"&gt;VCard&lt;/a&gt; format) to your new iPhone.&lt;br /&gt;You need to do some simple steps:&lt;br /&gt;First you need to have Outlook and iTunes installed on your computer, then copy your .vcf files to a location in your hard disk, e.g. C:\VCARDS. Now when you open .vcf files, Outlook brigs a window, then you can save and close the window, the contact file is imported to your Outlook's Contacts. You need to repeat this action for all of your .vcf files. (I'll explain a way for bulk importing contacts later in this article)&lt;br /&gt;After that you import all of your contacts to Outlook, you can simply synchronize iTunes contacts with Outlook and your iPhone. Done!&lt;br /&gt;&lt;br /&gt;But there is still one issue remaining, importing all of your .vcf files manually is a very time consuming and boring job, let's write a code to do this automatically for you!&lt;br /&gt;I've taken this code from &lt;a href="http://forums.techguy.org/business-applications/532618-import-multiple-vcard-files-outlook.html"&gt;here&lt;/a&gt;. Nice piece of code!&lt;br /&gt;&lt;br /&gt;Here is the steps you need to do:&lt;br /&gt;This can also be done using a VBA macro. First create a folder on the root of the C: drive and name it VCARDS. Next copy all your individual vCard files (.vcf) to this newly created folder. Next open Outlook and click ALT + F11 to open the VBA editor.&lt;br /&gt;&lt;br /&gt;Click TOOLS --&gt; REFERENCES and then select Microsoft Scripting Runtime and Windows Script Host Object Model from the list and place checks in the box next to each and click OK.&lt;br /&gt;&lt;br /&gt;Next click INSERT --&gt; MODULE and copy and paste the code below into the blank module. Save and run the macro to automatically import and save all the individual files into Outlook.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Sub OpenSaveVCard()&lt;br /&gt;    &lt;br /&gt;Dim objWSHShell As IWshRuntimeLibrary.IWshShell&lt;br /&gt;Dim objOL As Outlook.Application&lt;br /&gt;Dim colInsp As Outlook.Inspectors&lt;br /&gt;Dim strVCName As String&lt;br /&gt;Dim fso As Scripting.FileSystemObject&lt;br /&gt;Dim fsDir As Scripting.Folder&lt;br /&gt;Dim fsFile As Scripting.File&lt;br /&gt;Dim vCounter As Integer&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;Set fso = New Scripting.FileSystemObject&lt;br /&gt;Set fsDir = fso.GetFolder("C:\VCARDS")&lt;br /&gt;&lt;br /&gt;For Each fsFile In fsDir.Files&lt;br /&gt;&lt;br /&gt;    strVCName = "C:\VCARDS\" &amp; fsFile.Name&lt;br /&gt;    Set objOL = CreateObject("Outlook.Application")&lt;br /&gt;    Set colInsp = objOL.Inspectors&lt;br /&gt;        If colInsp.Count = 0 Then&lt;br /&gt;        Set objWSHShell = CreateObject("WScript.Shell")&lt;br /&gt;        objWSHShell.Run strVCName&lt;br /&gt;        Set colInsp = objOL.Inspectors&lt;br /&gt;    If Err = 0 Then&lt;br /&gt;            Do Until colInsp.Count = 1&lt;br /&gt;                DoEvents&lt;br /&gt;            Loop&lt;br /&gt;            colInsp.Item(1).CurrentItem.Save&lt;br /&gt;            colInsp.Item(1).Close olDiscard&lt;br /&gt;            Set colInsp = Nothing&lt;br /&gt;            Set objOL = Nothing&lt;br /&gt;            Set objWSHShell = Nothing&lt;br /&gt;        End If&lt;br /&gt;    End If&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Thanks Rollin for the code.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3959091" rel="tag" style="display:none"&gt;CodeProject&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-1895197270548744521?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/06/how-to-import-your-exisiting-contacts.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-8045352478302372342</guid><pubDate>Tue, 09 Jun 2009 08:54:00 +0000</pubDate><atom:updated>2009-09-03T12:24:34.411+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>HTTP stats 417 exception</category><title>The request failed with HTTP status 417: Expectation failed.</title><description>When using WebServices and calling some Web Methods, you may come across to this exception:&lt;br /&gt;&lt;blockquote&gt;The request failed with HTTP status 417: Expectation failed.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;When Expect 100-Continue property is set to true (this is actually set within part of the .Net framework, which makes this a difficult problem to overcome.  You have to override this in more than one place), this 417 error occurs when the proxy server doesn't support 100-Continue.&lt;br /&gt;&lt;br /&gt;In the case of expect 100-Continue, the client will expect to receive a 100-Continue response from the server to indicate that the client should send the data to be posted. This mechanism allows clients to avoid sending large amounts of data over the network when the server, based on the request headers, intends to reject the request.&lt;br /&gt;&lt;br /&gt;The Expect 100-Continue behavior is fully described in IETF RFC 2616 Section 10.1.1.&lt;br /&gt;&lt;br /&gt;You can also read more about it in &lt;a href="http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.expect100continue.aspx"&gt;MSDN&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To workaround this exception you can do a simple thing: Disable expect 100 continue.&lt;br /&gt;&lt;br /&gt;So you may ask how to disable expect 100 continue?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Warning:&lt;/span&gt; When you disable Expect 100-Continues and your application sends a large amount of data on the network, if for any reason the server rejects your request, you have to re-send the entire data again, this may cause some extra traffic in your network. Also multiple calls to a server will take longer, since each call will wait until the prior call's response is received.&lt;br /&gt;&lt;br /&gt;It is easy, here are two alternative ways:&lt;br /&gt;&lt;br /&gt;1) We need to have this line of code before making any web requests.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: plain"&gt;System.Net.ServicePointManager.Expect100Continue = false; &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;2) Add these lines to the application's configuration file (between &lt;configuration&gt; and &lt;/configuration&gt;):&lt;br /&gt;&amp;lt;configuration&amp;gt; and &amp;lt;/configuration&amp;gt;):&lt;br /&gt;&lt;pre class="brush:plain"&gt;&amp;lt;system.net&amp;gt;&lt;br /&gt; &amp;lt;settings&amp;gt;&lt;br /&gt;  &amp;lt;servicePointManager expect100Continue="false" /&amp;gt;&lt;br /&gt; &amp;lt;/settings&amp;gt;&lt;br /&gt;&amp;lt;/system.net&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;While this workaround is nice, I think a better long term solution is to upgrade/replace the proxy server to handle 100-continue calls.&lt;br /&gt;&lt;br /&gt;So far in this short tip we've learned what is Expect 100, how it is caused and how to workaround this expectation.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3959091" rel="tag" style="display:none"&gt;CodeProject&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-8045352478302372342?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/06/request-failed-with-http-status-417.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-6209942137858874589</guid><pubDate>Wed, 03 Jun 2009 09:20:00 +0000</pubDate><atom:updated>2009-08-20T13:49:05.800+04:30</atom:updated><title>Passing parameters of char* data types from C# or VB code to a C++ function</title><description>Some times you may need to use some C++ functions in your managed C# or VB code.&lt;br /&gt;According to &lt;a href="http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/299da822-5539-4e5b-9ba7-b614e564c9f4/?prof=required"&gt;Frank Boyne&lt;/a&gt;, there are three ways to do this, if you choose the third method (which is easier and better, I think), you may have some problems passing variables of char* (or other pointer types) from your C# or VB code to your C++ code (in this case the wrapper class).&lt;br /&gt;Suppose that you have something like this in your C++ wrapper class:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="brush:cpp"&gt;static char* foo(char *name)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;the problem is this: How can I pass the value of the parameter &lt;span style="font-style:italic;"&gt;name&lt;/span&gt; and how can I use the value returned by the function.&lt;br /&gt;&lt;br /&gt;To pass the value of parameter &lt;span style="font-style:italic;"&gt;name&lt;/span&gt;, you can simply use:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="brush:cpp"&gt;(char*)Marshal.StringToBSTR("VALUE")&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;in your C# code.&lt;br /&gt;&lt;br /&gt;And to get the returning value of the function, you can use this code:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code"&gt;&lt;br /&gt;string s = &lt;br /&gt;    new string( &lt;br /&gt;      CPP_Managed_DLL.Class1.foo( &lt;br /&gt;        (char*)Marshal.StringToBSTR("VALUE") &lt;br /&gt;        )&lt;br /&gt;    );&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3959091" rel="tag" style="display:none"&gt;CodeProject&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-6209942137858874589?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/06/passing-parameters-of-char-data-types.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-4274191611235517196</guid><pubDate>Thu, 28 May 2009 20:07:00 +0000</pubDate><atom:updated>2009-08-20T13:52:21.905+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>IE8</category><category domain='http://www.blogger.com/atom/ns#'>Compatibility View</category><title>Internet Explorer 8: Compatibility View</title><description>There is a new feature in Internet Explorer 8, called Compatibility View&lt;br /&gt;Microsoft redesigned layout rendering engine of IE 8, some times this causes older web sites not to be correctly displayed in IE 8, which were looking good in IE 7 and earlier.&lt;br /&gt;So resolve this issue, IE 8 has a feature to change the layout rendering, called "Compatibility View", by selecting this option, you tell the browser to render as if it is IE 7.&lt;br /&gt;&lt;br /&gt;If your old web sites have some trouble displaying in IE 8, and you do not want to solve those problems, an easy way is just to say the IE to render it in IE 7 mode.&lt;br /&gt;&lt;br /&gt;You just need to add this line of code in your head section of your HTML pages:&lt;br /&gt;&lt;pre name="code"&gt;&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&amp;gt;&lt;/pre &gt;&lt;br /&gt;&lt;br /&gt;That's all!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=3959091" rel="tag" style="display:none"&gt;CodeProject&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-4274191611235517196?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/05/internet-explorer-8-compatibility-view.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-4630296267911471049</guid><pubDate>Mon, 25 May 2009 16:34:00 +0000</pubDate><atom:updated>2009-05-25T21:11:23.460+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Windows 7 Managed Code APIs for NET</category><title>Windows 7 Managed Code APIs</title><description>Have you ever tried to use some Windows APIs in programming languages other than C/C++?&lt;br /&gt;You had to write some wrapper classes and that was really a time consuming and some times a complicated job, and some times you may ended doing that job, canceling the entire project, or using C/C++.&lt;br /&gt;&lt;br /&gt;Some APIs are easy to implement in other programming languages, but some are really challenging.&lt;br /&gt;&lt;br /&gt;Here is a good news for .NET developers: Microsoft announced "Windows API Code Pack for Microsoft .NET Framework"&lt;br /&gt;&lt;br /&gt;Simplifying the use of Taskbar, Libraries, Sensor, and multi-touch from your .NET application.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://windowsteamblog.com/blogs/developers/archive/2009/05/18/windows-7-managed-code-apis.aspx"&gt;Here&lt;/a&gt; you can read more about this pack and you can download it from &lt;a href="http://code.msdn.microsoft.com/WindowsAPICodePack/Release/ProjectReleases.aspx?ReleaseId=2636"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-4630296267911471049?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/05/windows-7-managed-code-apis.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-3377047976562845463</guid><pubDate>Wed, 06 May 2009 09:39:00 +0000</pubDate><atom:updated>2009-05-06T14:17:36.237+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>iPhone</category><category domain='http://www.blogger.com/atom/ns#'>internet</category><category domain='http://www.blogger.com/atom/ns#'>cellular data network</category><title>How to Disable Cellular Data Network (Internet) on iPhone?</title><description>You may need to disable cellular data network on your iPhone in some conditions, after tapping menus and wasting your time, you may find out it is impossible, or you can not find it!&lt;br /&gt;&lt;br /&gt;Your first choice is right, it is simply impossible!&lt;br /&gt;&lt;br /&gt;So how you can prevent your iPhone from accessing cellular data network?&lt;br /&gt;&lt;br /&gt;1) Tap Setting -&gt; General -&gt; Network -&gt; Cellular Data Network&lt;br /&gt;There you will see some boxes to enter user name, password and etc. You need to simple enter some wrong data! Then turn your phone off and power it on again.&lt;br /&gt;That's all! &lt;br /&gt;And if you would like to use cellular data network again, you just need to roll back the settings you made.&lt;br /&gt;&lt;br /&gt;2) Simply ask your operator to disable cellular data network for your sim-card!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-3377047976562845463?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/05/how-to-disable-cellular-data-network-on.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-5769881328873497578</guid><pubDate>Tue, 07 Apr 2009 13:15:00 +0000</pubDate><atom:updated>2009-04-07T18:04:34.188+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>VMWare</category><title>How to Increase VMWare Hard Disk Size?</title><description>I've been playing with virtual machines and testing some odd things that can not be easily tested on a real computer, suddenly I come across to a situation that my virtual machine's hard disk size needed to be increased.&lt;br /&gt;&lt;br /&gt;It is one simple command! You just need to go where you installed VMWare WorkStation, there is a file named: vmware-vdiskmanager.exe &lt;br /&gt;&lt;br /&gt;You just need to open a command window and run:&lt;br /&gt;&lt;pre name="code" class="c-sharp"&gt;&lt;br /&gt;vmware-vdiskmanager.exe -x sizeGB virtualDiskFile.vmdk&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-5769881328873497578?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2009/04/how-to-increase-vmware-hard-disk-size.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-2893623517270836937</guid><pubDate>Mon, 20 Oct 2008 09:33:00 +0000</pubDate><atom:updated>2008-10-20T13:55:39.067+03:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Load image from uri into a NET Image object</category><title>How to load images from URI into a .NET image object?</title><description>In one of my recent projects, I was working with IP cameras, I need to take some pictures from the camera and do some processing on it.&lt;br /&gt;&lt;br /&gt;The first step, was to retrieve the image from camera into &lt;pre name="code" class="c-sharp"&gt;Image&lt;/pre&gt; object. So that it can be displayed or do some processing on it.&lt;br /&gt;&lt;br /&gt;Some of the IP cameras have an interface to acquire images or streams. One of the easiest interfaces is giving some steel JPEG images. For example via a simple HTTP request (e.g. &lt;a href="http://webcam.mmhk.cz/axis-cgi/jpg/image.cgi"&gt;http://webcam.mmhk.cz/axis-cgi/jpg/image.cgi&lt;/a&gt;) we have an JPEG image.&lt;br /&gt;&lt;br /&gt;Here is code snippet to acquire an image from a URI and display in a PictureBox.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="c-sharp"&gt;&lt;br /&gt;//uri resource&lt;br /&gt;Uri uri = new Uri(&lt;br /&gt;  "http://webcam.mmhk.cz/axis-cgi/jpg/image.cgi");&lt;br /&gt;&lt;br /&gt;//create a stream using a http web request&lt;br /&gt;System.IO.Stream s = &lt;br /&gt;  System.Net.HttpWebRequest.Create(uri)&lt;br /&gt;  .GetResponse().GetResponseStream();&lt;br /&gt;&lt;br /&gt;//create an image object from stream&lt;br /&gt;Image img = Image.FromStream(s);&lt;br /&gt;&lt;br /&gt;//display image in a picture box&lt;br /&gt;this.pictureBox1.Image = img;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Simple and easy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-2893623517270836937?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/10/how-to-load-images-from-uri-into-net.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-723587237005407316</guid><pubDate>Sat, 18 Oct 2008 08:53:00 +0000</pubDate><atom:updated>2008-10-18T12:30:13.919+03:30</atom:updated><title>ASP.NET MVC Beta Released</title><description>According to &lt;a href="http://weblogs.asp.net/scottgu/archive/2008/10/16/asp-net-mvc-beta-released.aspx?CommentPosted=true#commentmessage"&gt;this&lt;/a&gt;, today beta version of ASP.NET MVC framework has released. You can download it from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A24D1E00-CD35-4F66-BAA0-2362BDDE0766&amp;displaylang=en"&gt;here&lt;/a&gt;. You can also visit &lt;a href="http://www.asp.net/mvc"&gt;www.asp.net/mvc&lt;/a&gt; to explore &lt;a href="http://www.asp.net/learn/mvc/"&gt;tutorials&lt;/a&gt;, &lt;a href="http://quickstarts.asp.net/previews/mvc/"&gt;quickstarts&lt;/a&gt;, and &lt;a href="http://www.asp.net/learn/mvc-videos/default.aspx"&gt;videos &lt;/a&gt;to learn more.&lt;br /&gt;&lt;br /&gt;The ASP.NET MVC Beta works with both .NET 3.5 and .NET 3.5 SP1, and supports both VS 2008 and Visual Web Developer 2008 Express SP1 (which is free - and now supports class libraries and web application project types).&lt;br /&gt;&lt;br /&gt;The Model-View-Controller (MVC) pattern separates the components of an MVC Web application. This separation gives you more control over the individual parts of the application, which lets you more easily develop, modify, and test them.&lt;br /&gt;&lt;br /&gt;In an ASP.NET Web site, URLs typically map to files that are stored on disk (usually .aspx files). These .aspx files include markup and code that is processed in order to respond to the request.&lt;br /&gt;&lt;br /&gt;The ASP.NET MVC framework maps URLs to server code differently than a typical ASP.NET Web site. Instead of mapping URLs to ASP.NET pages or handlers, the framework maps URLs to controller classes. Controller classes handle incoming requests, such as user input and interactions, and execute appropriate application and data logic, based on user input. (ASP.NET MVC controllers implement a pattern known as the Front Controller pattern.) A controller class typically calls a separate view component that generates HTML output as the response.&lt;br /&gt;&lt;br /&gt;You can read more &lt;a href="http://quickstarts.asp.net/previews/mvc/mvc_Framework.htm"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This is a new and great feature that have been added. Have a look at samples to learn more about it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-723587237005407316?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/10/aspnet-mvc-beta-released.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-7757287717314439259</guid><pubDate>Wed, 15 Oct 2008 10:59:00 +0000</pubDate><atom:updated>2008-10-16T12:21:51.800+03:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Paraller Extensions</category><category domain='http://www.blogger.com/atom/ns#'>Dot NET Framework 4 features</category><title>.NET Framework 4 features: Parallel Extensions</title><description>Today most of new processors are dual core (let me say multi-core).&lt;br /&gt;Intel and AMD are trying to convince programmers to use the benefits of multi-core processing. You can find many white papers from both Intel and AMD that explains how we can write our codes so that it can be executed better in multi core processors.&lt;br /&gt;&lt;br /&gt;One way of achieving this goal is to write your programs using multi threads, and let compiler decide which threads can be executed concurrently in different cores.&lt;br /&gt;Of course this is the easiest way possible, but not the best approach.&lt;br /&gt;&lt;br /&gt;Intel have some tools that with using them you can define a new thread (rather than the thread which is provided by your programming language) and you can define some flags to say which threads can run concurrently. This approach works well with Intel processors, but making a general purpose code with this approach is a headache!&lt;br /&gt;&lt;br /&gt;Today when I was reading some beta news about .NET features, I saw something very interesting: Parallel Extensions.&lt;br /&gt;&lt;br /&gt;In perhaps the most significant development in the brief history of the field of implicit parallelism in computing, one of Microsoft's development teams announced last Friday that the next .NET Framework 4.0 -- the first glimpses of which we'll see later this month from PDC in Los Angeles -- will include the so-called Parallel Extensions as a standard feature. This after the Extensions were first introduced in a Community Technology Preview last November.&lt;br /&gt;&lt;br /&gt;The significance of these extensions is that they enable existing .NET languages (today, most predominantly, C#) to incorporate implicit parallelism directly in programs. In other words, rather than simply write ordinary procedural code and use compiler switches to determine whether code can be forked into parallel threads, a developer can use entirely new syntax to invoke methods that execute multiple threads concurrently.&lt;br /&gt;&lt;br /&gt;You can read more about this feature in &lt;a href="http://www.betanews.com/article/print/Everyone_talk_at_once_NET_40_will_include_Parallel_Extensions/1223931673"&gt;BetaNews&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For C/C++ developers, Intel has a software solution, named Intel Parallel Studio. &lt;a href="http://www3.intel.com/cd/software/products/asmo-na/eng/399359.htm?cid=sw:multicore073"&gt;Here&lt;/a&gt; you can find more about this solution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-7757287717314439259?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/10/net-framework-4-features-parallel.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-7976924194285225556</guid><pubDate>Thu, 07 Aug 2008 05:28:00 +0000</pubDate><atom:updated>2008-08-07T10:07:26.972+04:30</atom:updated><title>Need to create BarCodes in your .NET Web/Desktop Application?</title><description>&lt;span style="font-weight:bold;"&gt;Need to create BarCodes in your .NET Web/Desktop Application? And you do not want to pay?&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.squaregear.net/fonts/free3of9.shtml"&gt;Here&lt;/a&gt; is a free barcode font to create "Code 39" barcodes very easily.&lt;br /&gt;All you need to do is to install this font (in Windows XP, Vista %systemroot%\fonts) and where you need to place a barcode in your application, just change the font to "Free 3 of 9" and place asterisks before and after your data. e.g. when you want to have a barcode for ABC123 you just need to draw *ABC123* using "Free 3 of 9" font.&lt;br /&gt;&lt;br /&gt;And &lt;a href="http://www.codeproject.com/KB/cpp/wsbarcode.aspx"&gt;here&lt;/a&gt; there is good article from &lt;a href="http://www.codeproject.com/script/Membership/Profiles.aspx?mid=162056"&gt;Rui Miguel Barbosa&lt;/a&gt; in &lt;a href="http://www.codeproject.com"&gt;CodeProject&lt;/a&gt; about using this font in a web application.&lt;br /&gt;&lt;br /&gt;And &lt;a href="http://www.codeproject.com/KB/graphics/ean_13_barcodes.aspx"&gt;here&lt;/a&gt; there is another free barcode generating tool from &lt;a href="http://www.codeproject.com"&gt;CodeProject&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-7976924194285225556?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/08/need-to-create-barcodes-in-your-net.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-679218238452090191</guid><pubDate>Tue, 01 Jul 2008 13:04:00 +0000</pubDate><atom:updated>2008-07-29T09:37:03.821+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Run executable files ASP .NET</category><title>Runing Executable Files in ASP .NET</title><description>In this post I will provide you with a code snippet that runs an executable file (.exe) on server side.&lt;br /&gt;For this you need to first declare an object of System.Diagnostics.Process type.&lt;br /&gt;Then set few parameters and then start executing!&lt;br /&gt;&lt;pre name="code" class="c-sharp"&gt;&lt;br /&gt;System.Diagnostics.Process batch = &lt;br /&gt;  new System.Diagnostics.Process();&lt;br /&gt;batch.StartInfo.FileName = &lt;br /&gt;  Server.MapPath("~/YourExeFile.exe");&lt;br /&gt;batch.StartInfo.Arguments = &lt;br /&gt;  String.Format("Arguments go here");&lt;br /&gt;batch.StartInfo.CreateNoWindow = true;&lt;br /&gt;//if you do not want &lt;br /&gt;//to display the window...&lt;br /&gt;batch.StartInfo.WindowStyle = &lt;br /&gt;  System.Diagnostics.ProcessWindowStyle.Hidden;&lt;br /&gt;&lt;br /&gt;//now you can start the job...&lt;br /&gt;batch.Start();&lt;br /&gt;        &lt;br /&gt;//if you want to wait until &lt;br /&gt;//the process terminates, &lt;br /&gt;//you can use the following line:&lt;br /&gt;batch.WaitForExit();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Also note that in order to be able to execute files, you need to have some permissions, &lt;a href="http://forums.asp.net/p/1277084/2430175.aspx"&gt;here&lt;/a&gt; you can find more about security permissions.&lt;br /&gt;&lt;br /&gt;You can use this snippet in conjunction with my previous post to build some thing like YouTube ;)&lt;br /&gt;&lt;br /&gt;After the user uploads a new video (MPG, AVI and etc.) you can convert the uploaded file to .flv file using this code and &lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;FFmpeg&lt;/a&gt; tool.&lt;br /&gt;&lt;br /&gt;This is a short code for converting videos:&lt;br /&gt;&lt;pre name="code" class="c-sharp"&gt;&lt;br /&gt;batch.StartInfo.FileName = &lt;br /&gt;  Server.MapPath("~/ffmpeg.exe");&lt;br /&gt;batch.StartInfo.Arguments = &lt;br /&gt;  String.Format(@"-i ""{0}\t.mpg""&lt;br /&gt; ""{0}\t.flv"" -y",&lt;br /&gt;  Server.MapPath("~"));&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-679218238452090191?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/07/runing-executable-files-in-asp-net.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-6083548687106861217</guid><pubDate>Tue, 01 Jul 2008 12:15:00 +0000</pubDate><atom:updated>2008-07-01T17:01:16.508+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ASP .NET FLV Flash Video Player</category><title>YouTube like FLV Flash Video Player for ASP .NET</title><description>You may need to show some videos on your ASP .NET site, right?&lt;br /&gt;You can use YouTube and upload your videos to YouTube and put the link of your uploaded video in your site, it's very easy, but you might not like to have YouTube code in your site...&lt;br /&gt;Here is the solution:&lt;br /&gt;Have your own ASP .NET FLV (Flash Video) Player, sounds great!&lt;br /&gt;The &lt;a href="http://www.aspnetflashvideo.com/"&gt;ASPNetFlashVideo&lt;/a&gt; Component allows you to add YouTube style Flash Videos (.flv files) to ASP.Net websites. ASPNetFlashVideo requires no Flash programming and is unique.&lt;br /&gt;Flash Video can be encoded easily using free tools provided by &lt;a href="http://www.rivavx.com/index.php?encoder&amp;L=3"&gt;Riva&lt;/a&gt; and &lt;a href="http://www.adobe.com/products/flash/flashpro/productinfo/encoder/"&gt;Adobe&lt;/a&gt;.&lt;br /&gt;You can also use &lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;FFmpeg&lt;/a&gt;  free tool.&lt;br /&gt;It is a command-line based program, and you can easily use it like:&lt;br /&gt;&lt;blockquote&gt;ffmpege.exe -i test.avi test.flv&lt;/blockquote&gt;&lt;br /&gt;You also index your flv files with &lt;a href="http://inlet-media.de/flvtool2"&gt;flvTool2&lt;/a&gt; like this:&lt;br /&gt;&lt;blockquote&gt;flvtool2.exe -U test.flv&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It's now done!&lt;br /&gt;&lt;br /&gt;All you need to do is to place a ASPNETFlashVideo control on your ASPX pages and set it's 'VideoURL' property to .flv file's path.&lt;br /&gt;&lt;br /&gt;This control also supports skinning, full screen playback, does not display "Click to activate and use this control" message and etc.&lt;br /&gt;&lt;br /&gt;There is also another YouTube like flash video player available at &lt;a href="http://www.mycsharpcorner.com/Post.aspx?postID=46"&gt;MyCSharpCorner&lt;/a&gt; that automatically converts your uploaded videos to .flv files. But it's source code is not available.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-6083548687106861217?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/07/youtube-like-flv-flash-video-player-for.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-7264578571730837428</guid><pubDate>Fri, 20 Jun 2008 20:23:00 +0000</pubDate><atom:updated>2008-06-21T01:14:03.701+04:30</atom:updated><title>Need to access your files every where?</title><description>&lt;span style="font-weight:bold;"&gt;Need to access your files every where? And again you do not want to pay?&lt;/span&gt;&lt;br /&gt;Accessing your files every where is a vital thing that most of us need to have.&lt;br /&gt;Normally accessing files remotely need to have an static IP in your source computer, but you do not like to pay?&lt;br /&gt;Here are some solutions:&lt;br /&gt;&lt;br /&gt;Use the services provided by &lt;a href="http://www.logmein.com/"&gt;LogMeIn&lt;/a&gt;&lt;br /&gt;With LogMeIn you can access to your desktop and files from a remote computer. All you need is just an Internet connection in your source computer and signing up in LogMeIn services and have a small program installed on your source computer...&lt;br /&gt;That's all!&lt;br /&gt;&lt;br /&gt;LogMeIn have some free services that only support desktop sharing, it is easy to use...&lt;br /&gt;You control your computer's desktop remotely using a browser-based program.&lt;br /&gt;And if you pay a little and upgrade your account, you can have file-transfer service as well.&lt;br /&gt;You can test these features for a limited time, but as I say before, desktop sharing is free...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.mrt-web.com/uploaded_images/logolmi-702669.gif"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://blog.mrt-web.com/uploaded_images/logolmi-702667.gif" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;The second solution is to have a VPN and simply connecting to your Virtual Private Network and accessing your shared files and folders...&lt;br /&gt;But there is an small problem here and that is: Your IP changes every time, so you need an static IP.&lt;br /&gt;You do NOT want to pay for an Static IP? Here is the solution:&lt;br /&gt;&lt;a href="http://www.no-ip.org"&gt;No-IP&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.mrt-web.com/uploaded_images/no-ip-743547.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://blog.mrt-web.com/uploaded_images/no-ip-743545.gif" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Signing up and installing an small program, then you choose a sub domain name for your source computer, that's all!&lt;br /&gt;Now you have a URL that every time points to your source computer...&lt;br /&gt;The resident program updates your computer's IP address (each time it changes) in the sub domain's records.&lt;br /&gt;&lt;br /&gt;With this free service, you can setup your own web server (e.g. for testing purposes), set up your own VPN and better than all: have remote-connections to your computer using Remote Desktop.&lt;br /&gt;&lt;br /&gt;It is really fantastic!&lt;br /&gt;&lt;br /&gt;I've setup my own &lt;a href="http://mrthome.serveblog.net"&gt;web-server&lt;/a&gt; in my home computer for testing purposes.&lt;br /&gt;I've also setup remote connections so when ever I need to access my files, it could not be easier than this using these free services...&lt;br /&gt;&lt;br /&gt;Have a try!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-7264578571730837428?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/06/need-to-access-your-files-every-where.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-1601517220254594665</guid><pubDate>Wed, 18 Jun 2008 05:52:00 +0000</pubDate><atom:updated>2008-06-18T11:54:59.302+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>FireFox 3</category><title>FireFox 3 Released!</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.mrt-web.com/uploaded_images/full-v-lockup-691x1000.thumbnail-781800.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://blog.mrt-web.com/uploaded_images/full-v-lockup-691x1000.thumbnail-781794.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Mozilla Firefox 3 has been released. Available for Windows, Mac OS X and Linux in 46 different localisations, Firefox 3 is the most major Mozilla browser release since the launch of Firefox 2 in October 2006 and represents the culmination of over three years work (development on Firefox 3 began before even Firefox 1.5 came out). According to the press release announcing Firefox 3, the new version has over 15,000 improvements.&lt;br /&gt;&lt;br /&gt;Firefox 3 can be downloaded from the redesigned Firefox product page or the Firefox 3.0 directory on releases.mozilla.org (it's not yet being offered to Firefox 2 users via the software update system). More information can be found in the Firefox 3 Release Notes.&lt;br /&gt;&lt;br /&gt;The use of newer technologies means that Firefox 3 has higher system requirements than Firefox 2. In Microsoft land, Windows 95, 98, ME and NT 4.0 are no longer supported. On the Mac side, the minimum OS X version jumps from 10.2 Jaguar to 10.4 Tiger. In both cases, the operating system versions that are no longer supported have long since been abandoned by even Microsoft and Apple.&lt;br /&gt;&lt;br /&gt;The Mozilla servers have been experiencing problems due to high demand for Firefox 3. This actually delayed the full release of Firefox 3 by more than an hour. According to a Mozilla Developer News weblog post, Firefox 3 is being downloaded more than 14,000 times a minute.&lt;br /&gt;&lt;br /&gt;With the launch of Firefox 3, Mozilla is hoping to set a Guinness World Record for the most downloads in twenty-four hours. The number of downloads so far can be tracked at downloadcounter.sj.mozilla.com. Only full, completed downloads count and users have until 11:16am Pacific Daylight Time on Wednesday (6:16pm UTC/GMT) to make a participating download. The official Mozilla Blog has an entry about the Download Day with more details.&lt;br /&gt;&lt;br /&gt;Those who just can't get enough of the Firefox 3 launch are invited to attend a Mozilla Party to celebrate or watch the action live from Mozilla HQ on Air Mozilla.&lt;br /&gt;&lt;br /&gt;Read the full article for more details about what's new in Firefox 3 &lt;a href="http://www.mozillazine.org/articles/article23974.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-1601517220254594665?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/06/firefox-3-released.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-5226200751366844503</guid><pubDate>Wed, 18 Jun 2008 05:52:00 +0000</pubDate><atom:updated>2008-06-18T11:51:35.343+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SQL Express</category><title>SQL Express</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.mrt-web.com/uploaded_images/sqlserver_express_logo-752432.gif"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://blog.mrt-web.com/uploaded_images/sqlserver_express_logo-752431.gif" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Most often our apps are involved with databases. Since the release of SQL Server 2005, Microsoft announced a light-weight version of SQL named: SQL Express.&lt;br /&gt;SQL Express is a successor of Microsoft Database Engine and is the freely-downloadable and distributable version of Microsoft's SQL Server relational database management system.&lt;br /&gt;It offers a database solution specifically targeted for embedded and smaller-scale applications. Unlike its predecessor, MSDE, there is no concurrent workload governor which "limit[s] performance if the database engine receives more work than is typical of a small number of users." It does, however, have a number of technical restrictions which make it undesirable for large-scale deployments.&lt;br /&gt;You can find these restrictions list from &lt;a href="http://en.wikipedia.org/wiki/SQL_Server_Express"&gt;here&lt;/a&gt;.&lt;br /&gt;The latest release of it is SQL Express Service Pack 2.&lt;br /&gt;You can get it from &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4448-8848-dcc397514b41&amp;displaylang=en"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;SQL Express have a small setup file size (about 54 MB) and can be installed very easily.&lt;br /&gt;&lt;br /&gt;You can have silent setup of SQL Express with these command arguments:&lt;br /&gt;-q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename="sqlexpress" SQLAUTOSTART=1 ADDUSERASADMIN=1&lt;br /&gt;&lt;br /&gt;(For complete listing visit &lt;a href="http://msdn.microsoft.com/en-us/library/ms144259.aspx"&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Also note that SQL Express has some prerequisites like:&lt;br /&gt;Windows Installer 3.1 and .NET Framework 2.0&lt;br /&gt;&lt;br /&gt;Before your install script tries to install SQL Express, you check whether SQL Express is installed or not.&lt;br /&gt;You just need to check this registry entry:&lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\CurrentVersion&lt;br /&gt;&lt;br /&gt;If the value of "CurrentVersion" is some thing like (or greater than) this: 9.00.3042.00&lt;br /&gt;Then the SQL Express SP2 is already installed and your setup program does not need to install it again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-5226200751366844503?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/06/sql-express-silent-installation.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-9066774240467015252</guid><pubDate>Wed, 11 Jun 2008 11:45:00 +0000</pubDate><atom:updated>2008-06-11T19:29:00.720+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PDF .NET</category><title>Need to create PDF files from your .NET applications?</title><description>&lt;span style="font-weight:bold;"&gt;Need to create PDF files from your .NET applications?&lt;/span&gt; and you do &lt;span style="font-weight:bold;"&gt;NOT&lt;/span&gt; want to pay for a component?&lt;br /&gt;Here is the solution:&lt;br /&gt;iTextSharp&lt;br /&gt;&lt;br /&gt;iText is a free and open source library for creating and manipulating PDF, RTF, and HTML files in Java. It was written by Bruno Lowagie, Paulo Soares, and others; it is distributed under the Mozilla Public License with the LGPL as alternative license.&lt;br /&gt;iText# (iTextSharp) is a port of the iText open source java library written entirely in C# for the .NET platform. iText# is a library that allows you to generate PDF files on the fly. It is implemented as an assembly.&lt;br /&gt;&lt;br /&gt;This open source project is hosted in sourceforge.net&lt;br /&gt;You can get it from: &lt;a href="http://itextsharp.sourceforge.net/"&gt;iTextSharp Home Page&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And &lt;a href="http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx"&gt;here&lt;/a&gt; is a nice tutorial of iTextSharp on CodeProject.com&lt;br /&gt;&lt;br /&gt;Also note that this component is not working for Persian (Farsi) language...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-9066774240467015252?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/06/need-to-create-pdf-files-from-your-net.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-2479793103922009030</guid><pubDate>Fri, 30 May 2008 07:45:00 +0000</pubDate><atom:updated>2008-05-31T16:09:42.213+04:30</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Windows Vista Source Code</category><title>Windows Vista Source Code Leaked!</title><description>Days ago while I was surfing the web, I come across to this code!&lt;br /&gt;It it cool!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.mrt-web.com/uploaded_images/2429787717_b20eceb84d_o-732956.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://blog.mrt-web.com/uploaded_images/2429787717_b20eceb84d_o-732916.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-2479793103922009030?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/05/windows-vista-source-code-leaked.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7001399157156208387.post-8909091895975897739</guid><pubDate>Tue, 15 Apr 2008 09:39:00 +0000</pubDate><atom:updated>2008-04-15T14:14:05.652+04:30</atom:updated><title>Call server side code by javascript using Ajax.Net framework</title><description>&lt;div dir="ltl" style="text-align: left;"&gt;&lt;br /&gt;&lt;b&gt;Call server side code by javascript using Ajax.Net framework&lt;/b&gt;&lt;br /&gt;&lt;i&gt;taken from: http://www.codeproject.com/KB/ajax/Ajax_Call_using_AjaxNet.aspx &lt;/i&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;Lot of time we require to call server side code using JavaScript (it means Ajax Call) and without post back. There are lots of technologies are available for that. Some people use Ajax.dll to perform this operation. But now when Ajax.Net framework is available then there is no need to use third party dll for Ajax Call...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/KB/ajax/Ajax_Call_using_AjaxNet.aspx"&gt;View the complete article...&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001399157156208387-8909091895975897739?l=blog.mrt-web.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mrt-web.com/2008/04/call-server-side-code-by-javascript.html</link><author>noreply@blogger.com (Mrt)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>