<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2660252888743802526</id><updated>2011-11-06T16:47:52.221-08:00</updated><category term='Visual Studio'/><category term='Google Chrome'/><category term='Microsoft Office'/><category term='Javascript'/><category term='SQL Server'/><category term='HTML'/><category term='Virtual Earth'/><category term='Internet Explorer'/><category term='XHTML'/><category term='Miscellaneous'/><category term='ASP.Net'/><category term='Windows'/><category term='Microsoft Dynamics CRM (MSCRM)'/><title type='text'>My Computer Know-How</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>56</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3381538666203248615</id><published>2011-08-27T10:29:00.001-07:00</published><updated>2011-08-27T10:29:32.895-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Burn audio CDs using iTunes for Windows</title><summary type='text'>iTunes Version 10  Although audio CDs seem to be obsolete, there are some cases that CDs are still relevant. In this post I will explain how to create an audio CD using iTune. Unfortunately, the procedure is not that intuitive which can be attributed to the fact that CDs are not being used anymore.       Create a playlist as follows:             From menu choose File&gt;New Playlist. A new entry </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3381538666203248615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3381538666203248615' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3381538666203248615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3381538666203248615'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2011/08/burn-audio-cds-using-itunes-for-windows.html' title='Burn audio CDs using iTunes for Windows'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8754461548076263237</id><published>2011-06-12T21:38:00.001-07:00</published><updated>2011-08-17T23:44:15.900-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Chrome'/><title type='text'>Using other search engines with Google Chrome</title><summary type='text'>Google Chrome Version 12  Chrome address bar (Omnibox) allows users to directly search the internet. Users can set a search engine as their default engine and at any time they can use the address bar to perform their searches. That’s a very helpful feature of Chrome however we sometimes require to use multiple search engines or even search content of certain sites.   To accommodate this need, </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8754461548076263237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8754461548076263237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8754461548076263237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8754461548076263237'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2011/06/using-other-search-engines-with-google.html' title='Using other search engines with Google Chrome'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-4360164767669748772</id><published>2009-10-01T12:54:00.000-07:00</published><updated>2011-06-12T12:56:19.658-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Software Version Disclaimer</title><summary type='text'>Please note that the point made in the post might not apply to next or previous versions of the software.  </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/4360164767669748772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=4360164767669748772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4360164767669748772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4360164767669748772'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2009/10/software-version-disclaimer.html' title='Software Version Disclaimer'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8849953993316608747</id><published>2009-06-06T21:42:00.000-07:00</published><updated>2009-06-06T21:52:39.182-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Ensure web application security by correct web.config configuration</title><summary type='text'>In his article Bryan Sullivan explains about the most common mistakes in web.config file that leads to web site vulnerabilities.  It's easy to overlook these mistakes in web.config. Moving the application from one stage to another without modifying web.config is one of the common mistakes.  The following is the list of vulnerabilities; It can be used as a checklist for ensuring that the deployed </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8849953993316608747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8849953993316608747' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8849953993316608747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8849953993316608747'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2009/06/ensure-web-application-security-by.html' title='Ensure web application security by correct web.config configuration'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8219944917921643560</id><published>2009-01-18T14:45:00.000-08:00</published><updated>2009-01-18T14:51:00.384-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtual Earth'/><title type='text'>Disabling "See this location in bird's eye view" message</title><summary type='text'>To disable the message, add the following to your style sheet:     #MSVE obliquenotification  { visibility:hidden}     Source:  http://blogs.msdn.com/virtualearth/archive/2008/09/22/disabling-the-bird-s-eye-view-indicator.aspx  </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8219944917921643560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8219944917921643560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8219944917921643560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8219944917921643560'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2009/01/disabling-this-location-in-bird-eye.html' title='Disabling &amp;quot;See this location in bird&amp;#39;s eye view&amp;quot; message'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-7850021773824675468</id><published>2008-10-02T22:40:00.000-07:00</published><updated>2008-10-04T13:59:41.567-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Error connecting to undo manager of source file</title><summary type='text'>Issue   Above error message appears when user tries to debug a web application in Visual Studio 2005.  Solution  This error message can be fixed by simply deleting the designer file (aspx.designer.cs/aspx.designer.vb) of the page that is causing the error; you can get the page name from the complete error message you are receiving.  To recreate the designer file, right click on the page ASPX file</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/7850021773824675468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=7850021773824675468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7850021773824675468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7850021773824675468'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/10/error-connecting-to-undo-manager-of.html' title='Error connecting to undo manager of source file'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2501428110477290984</id><published>2008-10-02T22:29:00.000-07:00</published><updated>2008-10-02T23:29:33.133-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>User control properties do not show up on IDE property window</title><summary type='text'>Issue  When you place a user control (.ascx) on a page, public properties of the user control do not appear on the IDE's property window.  Solution  In order for the properties to show in property window, it must be a public property and also have definition for both get and set accessors.  If the above conditions are met and still the property is not accessible by property window, just close and</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2501428110477290984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2501428110477290984' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2501428110477290984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2501428110477290984'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/10/user-control-properties-do-not-show-up.html' title='User control properties do not show up on IDE property window'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-1142310070025317637</id><published>2008-09-11T22:03:00.000-07:00</published><updated>2008-09-11T22:05:48.167-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet Explorer'/><title type='text'>Internet Explorer Loads Slowly (First Tab)</title><summary type='text'>To fix the problem follow these steps:     Open Internet Explorer.    Point to Tools&gt; Internet Options.    Select Connections tab.    Click on LAN settings.    Uncheck Automatically detect settings.   </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/1142310070025317637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=1142310070025317637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1142310070025317637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1142310070025317637'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/09/internet-explorer-loads-slowly-first.html' title='Internet Explorer Loads Slowly (First Tab)'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-6951481518951932422</id><published>2008-08-21T22:33:00.000-07:00</published><updated>2008-08-25T23:10:14.505-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Generics</title><summary type='text'>In framework 2 Microsoft introduced support for generic types. Generic can take on any type; it might sound familiar to you; objects can do exactly the same. Generics are to replace objects when possible, since they firstly improve the performance by eliminating the need to boxing and unboxing, secondly decrease the number of run-time errors caused by incorrect casting.  Here is an example of </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/6951481518951932422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=6951481518951932422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6951481518951932422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6951481518951932422'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/08/generics.html' title='Generics'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8511793201015355587</id><published>2008-08-16T12:47:00.001-07:00</published><updated>2008-08-16T12:47:46.616-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Disabling Ajax JavaScript error message</title><summary type='text'>By default, if an exception is thrown in the asynchronized code, ScriptManager shows the exception in a JavaScript Alert window. Although this behavior is required some times, mostly for security purposes programmer wants to hide the run-time errors from the end users even if it does not make any clear sense to them. This is especially important for public web sites which can be exposed to all </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8511793201015355587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8511793201015355587' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8511793201015355587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8511793201015355587'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/08/disabling-ajax-javascript-error-message.html' title='Disabling Ajax JavaScript error message'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-609032726612457458</id><published>2008-08-16T12:43:00.001-07:00</published><updated>2008-08-16T12:44:28.708-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>How to create a global error capturing mechanism for your web site</title><summary type='text'>All web sites should include a general error handling code in case anything unexpected happens.   Creating this mechanism is really simple. Add Global Application Class (Global.asax) to your project if it doesn't already include one. Create the following method in the class if there isn't one.     void Application_Error(object sender, EventArgs e)        {            Exception LastException=</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/609032726612457458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=609032726612457458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/609032726612457458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/609032726612457458'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/08/how-to-create-global-error-capturing.html' title='How to create a global error capturing mechanism for your web site'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8790389729869843594</id><published>2008-08-10T00:50:00.001-07:00</published><updated>2008-08-10T01:01:04.802-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Boxing and Unboxing</title><summary type='text'>Boxing simply means converting a value type to a reference type. Unboxing, on other hand, means converting a reference type to a value type.  For more information about reference types and value types, see this post.  The following is an example of boxing and unboxing:  object MyObject= 2.2; //boxing  double MyNumber=(double)MyObject;//unboxing     To improve the performance and maintain type </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8790389729869843594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8790389729869843594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8790389729869843594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8790389729869843594'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/08/boxing-and-unboxing.html' title='Boxing and Unboxing'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8050447164949413457</id><published>2008-08-10T00:45:00.001-07:00</published><updated>2008-08-10T01:02:00.868-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Reference types and value types</title><summary type='text'>Value types are the variables that store the actual values as opposed to reference types that keep a reference to memory where the data is stored.  Note: strings are reference types.  Example:  int MyValueType=123;//Value type  object MyReferenceType=new object();// reference type  </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8050447164949413457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8050447164949413457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8050447164949413457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8050447164949413457'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/08/reference-types-and-value-types.html' title='Reference types and value types'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3559388287328331833</id><published>2008-08-03T16:09:00.001-07:00</published><updated>2009-05-20T00:03:07.909-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Choosing the right .Net Framework data collection</title><summary type='text'>The .Net Framework includes several useful data collection classes; choosing the right one for the task at hand is greatly crucial. In the following, I will explain about some of the most useful collections available in Framework. So, you can easily decide which one to use in different situations.  These classes which are part of System.Collections namespace and System.Collections.Specialized are</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3559388287328331833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3559388287328331833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3559388287328331833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3559388287328331833'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/08/net-framework-data-collections.html' title='Choosing the right .Net Framework data collection'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-272922972356656864</id><published>2008-07-22T20:31:00.000-07:00</published><updated>2008-07-26T17:39:56.937-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>How to page validate when cross-page posting</title><summary type='text'>It is necessary to page validate before processing the information received from the client-side. It's done with checking Page.IsValid on each page but how about when cross-page posting? You can examine PreviousPage.IsValid on the page where you post back to in order to verify validation of the first page.</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/272922972356656864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=272922972356656864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/272922972356656864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/272922972356656864'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/07/how-to-page-validate-when-cross-page.html' title='How to page validate when cross-page posting'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-7429017523052814087</id><published>2008-07-21T21:24:00.000-07:00</published><updated>2008-07-22T11:25:43.446-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Serializing and deserializing objects</title><summary type='text'>To serialize an object, you simply create an instance of  BinaryFormatter which is part of System.Runtime.Serialization.Formatters.Binary namespace and use Serialize or Deserialize methods.  The following example shows how an object can be serialized and deserialized. I used memory stream for my example; you can also use other kinds of stream such as FileStream. SerializingObject is the object </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/7429017523052814087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=7429017523052814087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7429017523052814087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7429017523052814087'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/07/serializing-and-deserializing-objects.html' title='Serializing and deserializing objects'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2087024211890041525</id><published>2008-07-21T20:43:00.000-07:00</published><updated>2008-07-22T00:44:24.760-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Importing namespace to the client-side code</title><summary type='text'>Although client side code is not recommended to contain any code-behind code, some times it's required to write some server-side code on client-side file (aspx files). One example of this situation is when using  ASP.Net Repeater control; programmer might need to call a function to shape the fields to the required specification; therefore, the function has to be called on the aspx file. The need </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2087024211890041525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2087024211890041525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2087024211890041525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2087024211890041525'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/07/importing-namespace-to-client-side-code.html' title='Importing namespace to the client-side code'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-6780433665964174629</id><published>2008-07-20T14:50:00.000-07:00</published><updated>2008-07-20T14:54:35.715-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Converting binary to Hexadecimal String in SQL Server</title><summary type='text'>Here is a stored procedure that can cast binary values to hexadecimal. It becomes very handy when working with binary fields. Unfortunately, SQL Server does not have a build-in cast for converting binary to hexadecimal.     create procedure sp_hexadecimal   @binvalue varbinary(255)   as   declare @charvalue varchar(255)   declare @i int   declare @length int   declare @hexstring char(16)   select</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/6780433665964174629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=6780433665964174629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6780433665964174629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6780433665964174629'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/07/converting-binary-to-hexadecimal-string.html' title='Converting binary to Hexadecimal String in SQL Server'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-9216920855348943303</id><published>2008-07-12T03:17:00.001-07:00</published><updated>2008-07-12T03:20:16.921-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Reading and Writing to Streams</title><summary type='text'>In the following example, I used FileStream to explain how reading and writing to steams work.  The example is self explanatory. It reads the data from TestRead.dat and writes it to TestWrite.dat.  ReadCount is 0 when Read has reached the end of the file; otherwise it is 1&lt;=ReadCount&lt;=100. ReadCount can change every time that Read method is called in the loop.   Buffer length can be modified but </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/9216920855348943303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=9216920855348943303' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/9216920855348943303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/9216920855348943303'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/07/reading-and-writing-to-streams.html' title='Reading and Writing to Streams'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-5968301392147734418</id><published>2008-06-12T00:01:00.001-07:00</published><updated>2008-06-12T00:02:51.811-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Convert regular ASPX pages to content pages</title><summary type='text'>   1) Remove DOCTYPE.  2) Remove html, head, body, and form HTML tags.  3) Add the following to the page directive: MasterPageFile="~/MyMasterPage.master"  4) Add &lt;asp:Content ID="Content1" ContentPlaceHolderID="MyContentPlaceHolderId" runat="server"&gt;My page contents&lt;/asp:Content&gt;  All the page contents should be surrounded by &lt;asp:Content&gt; tag. Therefore, My Page Contents should be replaced by </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/5968301392147734418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=5968301392147734418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5968301392147734418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5968301392147734418'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/06/convert-regular-aspx-pages-to-content.html' title='Convert regular ASPX pages to content pages'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-7789256083759141015</id><published>2008-06-09T23:52:00.000-07:00</published><updated>2008-06-09T23:58:09.500-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>The operation could not be completed. Invalid FORMATETC structure</title><summary type='text'>Issue  When you drag and drop a control from IDE toolbox to Design view, the above error message pops up.   The reason for receiving this error message is that the control is not being referenced correctly. It mostly is generated by composite, third party, or MS Ajax controls.  Solution  In order to fix the problem:      Close all Visual Studio applications that are running.    Open up Visual </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/7789256083759141015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=7789256083759141015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7789256083759141015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7789256083759141015'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/06/operation-could-not-be-completed.html' title='The operation could not be completed. Invalid FORMATETC structure'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2691492205363213685</id><published>2008-06-09T18:57:00.000-07:00</published><updated>2008-06-09T18:57:47.692-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Error: There are no components in 'MyDll.dll that can be placed on the toolbox.</title><summary type='text'>Issue  You will receive the above error message if there is no accessible class in your DLL and you are trying to add the DLL as a control to your IDE toolbox.     Solution  Make at least one of the classes public so it can be accessed from out side of the class.      It is a very simple problem but if you do not know what exactly is causing it, it can get really annoying.  </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2691492205363213685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2691492205363213685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2691492205363213685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2691492205363213685'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/06/error-there-are-no-components-in-that.html' title='Error: There are no components in &amp;#39;MyDll.dll that can be placed on the toolbox.'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-5175695679390412794</id><published>2008-05-04T20:30:00.001-07:00</published><updated>2008-05-04T20:30:13.377-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Fire sequence of events when a web page gets launched</title><summary type='text'>If we assume that Controls is a placeholder for all the controls available in a web page the following is the sequence of the events in which they are fired.  1) Page_PreInit   2) Controls_Init    3) Page_Init    4) Page_InitComplete    5) Page_PreLoad    6) Page_Load    7) Controls_Load    8) Page_LoadComplete    9) Page_PreRender    10) Controls_PreRender    11) Page_PreRenderComplete    12) </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/5175695679390412794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=5175695679390412794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5175695679390412794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5175695679390412794'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/05/fire-sequence-of-events-when-web-page.html' title='Fire sequence of events when a web page gets launched'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-478318290078863895</id><published>2008-04-29T00:27:00.001-07:00</published><updated>2008-04-29T00:27:48.638-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Classes vs Structures</title><summary type='text'>Ever wondered what are the differences between classes and structures and when you should use which one. According to Donis Marshall in his book called Visual C# 2005: The Language he mentions:  "Structures are lightweight classes. Because structures reside on the stack, keep them small. Do not cache large objects on the stack. The implementation of structures in C# enforces the policy of using a</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/478318290078863895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=478318290078863895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/478318290078863895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/478318290078863895'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/04/classes-vs-structures.html' title='Classes vs Structures'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-4940790357774507711</id><published>2008-04-21T23:34:00.001-07:00</published><updated>2008-04-21T23:34:10.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Navigating to other pages using JavaScript</title><summary type='text'>There are many different ways of transferring user from one page to another page without opening up a new page which don't necessarily work either IE or Firefox. The following way works with both IE and Firefox.  Simply assign the new URI to href property of location.  document.location.href="http://www.mycomputerknowhow.blogspot.com";  </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/4940790357774507711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=4940790357774507711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4940790357774507711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4940790357774507711'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/04/navigating-to-other-pages-using.html' title='Navigating to other pages using JavaScript'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-434165573298039954</id><published>2008-02-18T22:52:00.000-08:00</published><updated>2008-02-18T23:11:26.832-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Check the browser to see whether or not cookies are allowed</title><summary type='text'>To see if you can save your cookies on the client's machine, you can simply use JavaScript. I did some search on the internet and realized that some people recommend using code-behind. While there is no need when you can use JavaScript, doing so will require for the web application to post back twice.Use the following code to specify cookies are allowed. It tries to leave a cookie on the client's</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/434165573298039954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=434165573298039954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/434165573298039954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/434165573298039954'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/02/check-browser-to-see-whether-or-not.html' title='Check the browser to see whether or not cookies are allowed'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8263454511085695907</id><published>2008-02-18T22:27:00.000-08:00</published><updated>2008-02-18T22:52:42.285-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Converting SQL server Bit fields to Yes/No values</title><summary type='text'>Usually Yes/No values are saved in the database using bit data type. The problem with this kind of design is that when the table is bound a Visual Studio control, will show 0/1, instead of yes/no. For example, imagine the situation where programmer needs to save whether or not a user should be contacted, in the database and a repeater control will display that on a web page later on. The result </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8263454511085695907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8263454511085695907' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8263454511085695907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8263454511085695907'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/02/converting-sql-server-bit-fields-to.html' title='Converting SQL server Bit fields to Yes/No values'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3345449157535233803</id><published>2008-02-06T21:52:00.000-08:00</published><updated>2008-02-06T22:08:07.419-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Visual Studio 2005 Solution Files</title><summary type='text'>Visual Studio 2005 has two solution files which have .sln and .suo extensions.Project files are located in My Document\Visual Studio 2005\Project folder by default. SLN file is basically a text file that can be modified manually and contains important information including project dependencies.On the other hand, SUO is a binary file that holds information about Visual Studio IDE.</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3345449157535233803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3345449157535233803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3345449157535233803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3345449157535233803'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/02/visual-studio-2005-solution-files.html' title='Visual Studio 2005 Solution Files'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-1789313541229158643</id><published>2008-02-06T21:31:00.000-08:00</published><updated>2008-02-06T22:10:03.987-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Visual Studio 2005 web site types</title><summary type='text'>A Visual Studio 2005 web site can take one of the following types:File-basedWeb pages are placed on an arbitrary folder. To run these projects, Visual Studio temporarily creates ASP.NET development server that is capable of running the application without the need to local IIS. This is particularly suitable for the machines that do not include IIS. Windows XP Home edition is one of the examples </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/1789313541229158643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=1789313541229158643' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1789313541229158643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1789313541229158643'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/02/visual-studio-2005-web-site-types.html' title='Visual Studio 2005 web site types'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2670403313302351921</id><published>2008-02-05T23:45:00.000-08:00</published><updated>2008-02-06T22:08:57.271-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Evaluating a reference type variable in terms of type before casting.</title><summary type='text'>To evaluate a reference type variable, simply use "is" keyword. It will tell you whether or not a variable is capable of being cast to another type. If you are not sure about the type of the variable before casting it, you should use "is". For example if you are iterating through the web controls, you can utilize the following code:for each (control Ctrl in Page.Form.Controls){  if (Ctrl is </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2670403313302351921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2670403313302351921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2670403313302351921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2670403313302351921'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/02/evaluating-reference-type-variable-in.html' title='Evaluating a reference type variable in terms of type before casting.'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-393893997582417040</id><published>2008-02-05T23:10:00.000-08:00</published><updated>2008-02-05T23:42:59.991-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Accessing session state and application state variables from classes which are not code-behind classes in your project.</title><summary type='text'>In some cases developers decide to use application or session state variables in classes that are not code-behind classes. One of the examples of this situation is when programmer chooses to have a common class for all the web pages to do one specific job. The following property of HttpContext class allows you to do just that:System.Web.HttpContext.Current The above property returns </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/393893997582417040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=393893997582417040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/393893997582417040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/393893997582417040'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/02/accessing-session-state-and-application.html' title='Accessing session state and application state variables from classes which are not code-behind classes in your project.'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-4302324331550853628</id><published>2008-01-26T00:50:00.000-08:00</published><updated>2008-02-05T23:43:56.790-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and ...</title><summary type='text'>Error MessageParser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: 'ProjectName.PageName' is not allowed here because it does not extend class 'System.Web.UI.Page'.When running a Visual Studio 2005 web project, the above</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/4302324331550853628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=4302324331550853628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4302324331550853628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4302324331550853628'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2008/01/error-occurred-during-parsing-of.html' title='An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and ...'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-5011820598822893491</id><published>2007-12-24T18:13:00.000-08:00</published><updated>2008-02-05T23:44:15.251-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Passing parameters to SqlDataSource at run-time in order to excute stored procedures</title><summary type='text'>.Net framework allows creating SqlDataSources to execute stored procedures. The following is how to pass values to it if the stored procedure is parametrized:When creating SQL data source, choose None on Parameter Source drop-down list located on configuration data source wizard and add the following code to your code-behind.MySqlDataSource.SelectParameters["SPParameterName"].DefaultValue = "</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/5011820598822893491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=5011820598822893491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5011820598822893491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5011820598822893491'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/passing-parameters-to-sqldatasource-at.html' title='Passing parameters to SqlDataSource at run-time in order to excute stored procedures'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-173084773941847465</id><published>2007-12-24T17:15:00.000-08:00</published><updated>2008-02-05T23:44:35.366-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Send Values From Code-behind to Client Side</title><summary type='text'>IssuePassing values to the client script is sometimes necessary. One example can be when you want to pass an error message generated by code-behind to JavaScript to be shown in an alert message box.SolutionEmbedded code blocks can be used as follows:&lt;script type="text/javascript&gt;    alert("&lt;%=MyVariable%&gt;");&lt;/script&gt;Note: MyVariable is a variable that is accessible from out side the class.public </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/173084773941847465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=173084773941847465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/173084773941847465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/173084773941847465'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/send-values-from-code-behind-to-client.html' title='Send Values From Code-behind to Client Side'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3674161641748950170</id><published>2007-12-23T20:15:00.000-08:00</published><updated>2007-12-23T20:29:18.085-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>There is already an open DataReader associated with this Connection which must be closed first</title><summary type='text'>Some time ago I decide to query the database multiple times using only one connection and some Datareaders. My logic was that I can reduce the server load by doing so. Having multiple DataReaders on one Database connection is not, in fact, practical. Each Datareader can be used only with one connection and a new conncetion is needed for the next Datareader.</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3674161641748950170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3674161641748950170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3674161641748950170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3674161641748950170'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/there-is-already-open-datareader.html' title='There is already an open DataReader associated with this Connection which must be closed first'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-199474154024387790</id><published>2007-12-23T19:56:00.000-08:00</published><updated>2007-12-23T20:13:33.555-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Reading Only Date Section of Datetime Fields values.</title><summary type='text'>IssueMicrosoft SQL Server stores date values in fields using datetime data type. Most programmers only need the date section while time is always attatched to the date when it's saved. When the value is read, time shows up right beside the date section.SolutionUse the following formatting for the column where the date values will be shown:DataFormatString="{0:MM/dd/YYYY}";Also remember to disable</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/199474154024387790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=199474154024387790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/199474154024387790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/199474154024387790'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/reading-only-date-section-of-datetime.html' title='Reading Only Date Section of Datetime Fields values.'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-6494356625589708189</id><published>2007-12-23T19:20:00.000-08:00</published><updated>2007-12-23T19:53:55.798-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Multiple onload event functions</title><summary type='text'>Sometimes it is necessary to use third party JavaScript libraries in your projects. These libraries might use some of the the JavaScript events. As a result, when you pass a new function to event to have it run when, for example page is opened, the event of library gets overwritten. Therefore, the library won't function correctly. This is the case for some of the online mapping software that use </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/6494356625589708189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=6494356625589708189' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6494356625589708189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6494356625589708189'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/multiple-onload-event-functions.html' title='Multiple onload event functions'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-4801279733632109842</id><published>2007-12-11T20:23:00.000-08:00</published><updated>2008-02-02T00:24:57.820-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft Dynamics CRM (MSCRM)'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>The backup of the file or filegroup "sysft_ftcat_documentindex" is not permitted ...</title><summary type='text'>IntroductionAfter upgrading MSCRM database from Microsoft SQL server 2000 to 2005, the following error message may appear when creating backups of the database.IssueSQL Error Message:The backup of the file or filegroup "sysft_ftcat_documentindex" is not permitted because it is not online. BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the selection to include only </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/4801279733632109842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=4801279733632109842' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4801279733632109842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4801279733632109842'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/backup-of-file-or-filegroup.html' title='The backup of the file or filegroup &quot;sysft_ftcat_documentindex&quot; is not permitted ...'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-5736479411956989289</id><published>2007-12-11T19:53:00.000-08:00</published><updated>2007-12-11T20:22:15.128-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Using iframe in web pages causes the browser back button not to function correctly</title><summary type='text'>IntroductionBeing able to embed a web page in another web page can be really handy. Also source page of iframe can be modified which means that programmers can update the embedded page content. IssueThe problem with iframe tag is that when users click on the browsers back button, the embedded page goes one page back instead of the main page if the source URL of the iframe has been dynamically </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/5736479411956989289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=5736479411956989289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5736479411956989289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5736479411956989289'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/12/using-iframe-in-web-pages-causes.html' title='Using iframe in web pages causes the browser back button not to function correctly'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3393911045155060655</id><published>2007-11-07T20:10:00.000-08:00</published><updated>2007-11-08T21:28:44.343-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>HTML area tage and JavaScript onload event problem</title><summary type='text'>IssueUsing JavaScript onload event of HTML area tag, can be problematic.WorkaroundInstead of having onload event, utilize href attribute tag to address this problem. Simply change the code to:&lt;area href="javascript:MyJavaScriptCode" ...</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3393911045155060655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3393911045155060655' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3393911045155060655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3393911045155060655'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/11/html-area-tage-and-javascript-onload.html' title='HTML area tage and JavaScript onload event problem'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-1823046399547087352</id><published>2007-11-07T19:21:00.000-08:00</published><updated>2007-11-07T20:01:35.310-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>JavaScript Onload event on Visual Studio 2005 Content pages.</title><summary type='text'>IssueIf you create Master/Content page setup in Visual Studio 2005, you quickly realize that Content pages do not include essential HTML tags such as Head and body. Therefore, Onload event of JavaScript cannot be used on the body tag.WorkaroundUse the following in you Content page:&lt;script type="text/javascript" &gt;  window.onload=MyFunction;&lt; /script&gt;MyFunction is a placeholder for your function </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/1823046399547087352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=1823046399547087352' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1823046399547087352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1823046399547087352'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/11/javascript-onload-event-on-visual.html' title='JavaScript Onload event on Visual Studio 2005 Content pages.'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-5067143972464017618</id><published>2007-11-01T21:23:00.000-07:00</published><updated>2007-12-23T19:17:54.723-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Removing special characters from query string values using javascript</title><summary type='text'>Query string parameters can not include specific characters. One of the easiest ways of removing these characters, is through using JavaScript encodeURI function.var encodedString=encodeURI("URI String");To get the original string use the following function:var decodedString=decodeURI("URI%20String"));</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/5067143972464017618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=5067143972464017618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5067143972464017618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/5067143972464017618'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/11/removing-special-characters-from-query.html' title='Removing special characters from query string values using javascript'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-4385920893120971176</id><published>2007-10-27T02:45:00.000-07:00</published><updated>2007-10-27T03:06:18.223-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft Office'/><title type='text'>The file you are trying to open, 'MyFile' is in a different format than specified by the file extension. Verify that the file is not corrupted ...</title><summary type='text'>Error:The file you are trying to open, 'MyFile' is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?Scenario:The above error message appears when trying to open an Excel file.Reason:The specified extension for the Excel file does not conform with actual version </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/4385920893120971176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=4385920893120971176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4385920893120971176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/4385920893120971176'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/file-you-are-trying-to-open-myfile-is.html' title='The file you are trying to open, &apos;MyFile&apos; is in a different format than specified by the file extension. Verify that the file is not corrupted ...'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2513699645161794153</id><published>2007-10-27T02:39:00.000-07:00</published><updated>2007-10-27T02:45:07.441-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)</title><summary type='text'>When this problem occurs, CD/DVD drive becomes inaccessible. Follow this Microsoft KB to solve the problem.</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2513699645161794153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2513699645161794153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2513699645161794153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2513699645161794153'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/windows-cannot-load-device-driver-for.html' title='Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3784427354353237438</id><published>2007-10-06T18:06:00.000-07:00</published><updated>2007-10-29T22:45:18.886-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XHTML'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>XHTML quick reference</title><summary type='text'>XHTML elements should be nested correctly.Always close tags.Elements should be in lower case.Tags &lt;html&gt;, &lt;head&gt; and &lt;body&gt; are mandatory in XHTML.Enclose all attributes values in quotes.Do not use minimization (not only in HTML but in all programming languages).Utilize id attribute for naming elements instead of name attribute.All XHTML documents should have a DOCTYPE declaration. There are </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3784427354353237438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3784427354353237438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3784427354353237438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3784427354353237438'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/xhtm-quick-reference.html' title='XHTML quick reference'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2417312088098620079</id><published>2007-10-06T16:21:00.000-07:00</published><updated>2007-10-06T17:04:22.022-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Making parts of images clickable in HTML</title><summary type='text'>&lt;img src="MyImageURL" usemap="#MyMap" /&gt;  &lt;map id="MyMap"&gt;  &lt;area shape="rect" coords="0,0,100,100" alt="" onclick="alert('Clicked');"/&gt;&lt;/map&gt;Note: Shape can get these values: Rect, Circle and Polygon </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2417312088098620079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2417312088098620079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2417312088098620079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2417312088098620079'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/making-parts-of-images-clickable-in.html' title='Making parts of images clickable in HTML'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-7158363139702738642</id><published>2007-10-06T16:02:00.000-07:00</published><updated>2007-10-06T16:15:06.891-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet Explorer'/><title type='text'>Enabling script debugging in Internet Explorer</title><summary type='text'>Point to Tools&gt;Internet Options&gt;Advanced&gt;SettingsFind Browsing from the list and uncheck Disable script debugging (Internet Explorer).</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/7158363139702738642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=7158363139702738642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7158363139702738642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/7158363139702738642'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/enabling-script-debugging-in-internet.html' title='Enabling script debugging in Internet Explorer'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-857811995085342181</id><published>2007-10-06T15:58:00.000-07:00</published><updated>2007-10-06T16:00:38.816-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Cancelling Javascript events</title><summary type='text'>event.returnValue= false;</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/857811995085342181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=857811995085342181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/857811995085342181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/857811995085342181'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/cancel-javascript-events.html' title='Cancelling Javascript events'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-2686715318775584090</id><published>2007-10-05T23:54:00.000-07:00</published><updated>2007-10-05T23:57:43.060-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft Dynamics CRM (MSCRM)'/><title type='text'>MSCRM Installation log file</title><summary type='text'>MSCRM installation log file is located at:C:\Documents and Settings\Administrator\Application Data\Microsoft\MSCRM\Logs\crm30svrsetup.log</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/2686715318775584090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=2686715318775584090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2686715318775584090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/2686715318775584090'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/mscrm-installation-log-file.html' title='MSCRM Installation log file'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3487520990134146505</id><published>2007-10-05T01:18:00.000-07:00</published><updated>2008-02-05T23:44:52.434-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Error message: Unable to start debugging on the web server</title><summary type='text'>Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information. Click Help for more informationYou get the above error message when you start your ASP program.In web.config file, if compilation debug is false, you should change it to true. That is one of</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3487520990134146505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3487520990134146505' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3487520990134146505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3487520990134146505'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/error-message-unable-to-start-debugging.html' title='Error message: Unable to start debugging on the web server'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-143232221330340445</id><published>2007-10-05T01:01:00.000-07:00</published><updated>2008-02-05T23:45:08.405-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>How to store and retrieve settings in web.config file for VS 2005</title><summary type='text'>Add appSettings tag inside configuration tag in your web.config file, as follows:&lt;configuration&gt;&lt;appSettings&gt;&lt;add key="MyKey" value="MyValue" /&gt;&lt;/appSettings&gt;&lt;/configuration&gt;Here is one of the ways you can retrieve the values in your code:string MyValue = System.Configuration.ConfigurationManager.AppSettings.Get("MyKey");</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/143232221330340445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=143232221330340445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/143232221330340445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/143232221330340445'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/how-to-store-and-retrieve-settings-in.html' title='How to store and retrieve settings in web.config file for VS 2005'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-6223281647632720278</id><published>2007-10-05T00:20:00.000-07:00</published><updated>2007-10-05T01:16:46.721-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Creating a linked server using ODBC</title><summary type='text'>Create an ODBC by pointing to Strat&gt;All Programs&gt;Administrative Tools&gt;Data Sources (ODBC)Define the ODBC as your linked server by launching Enterprize Manager. Click on your server name&gt;Security. Right click on Linked Servers and select New linked serverThe following form will appear:- In Linked Server field specify whatever name you want to call your new linked server.Select Other data source.- </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/6223281647632720278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=6223281647632720278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6223281647632720278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/6223281647632720278'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/creating-linked-server-using-odbc.html' title='Creating a linked server using ODBC'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_zqC1I6596QA/RwXqG6rykYI/AAAAAAAAAAM/UK_z_hsZgek/s72-c/window.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-3004064906794224607</id><published>2007-10-04T22:40:00.000-07:00</published><updated>2007-10-05T00:20:00.693-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Orphaned users issue in SQL server</title><summary type='text'>If you move a SQL server database from one server to another, user defined logins cause orphaned users. For example, you have a login in server A and defined it as user in its subsequent databases. When you move the database to another server, server B, the user still exist in the database and not in the server. You can create a new login the same as the one that exist on server B. So far there </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/3004064906794224607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=3004064906794224607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3004064906794224607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/3004064906794224607'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/orphaned-users-issue-in-sql-server.html' title='Orphaned users issue in SQL server'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-139923505749833934</id><published>2007-10-04T22:37:00.000-07:00</published><updated>2007-10-04T22:40:20.498-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to change the database owner</title><summary type='text'>ALTER AUTHORIZATION ON SCHEMA::[Owner1] TO [Owner2]Owner1 changes to Owner2.</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/139923505749833934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=139923505749833934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/139923505749833934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/139923505749833934'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/how-to-change-database-owner.html' title='How to change the database owner'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-1382669743768835237</id><published>2007-10-02T00:19:00.000-07:00</published><updated>2007-10-02T00:39:30.337-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Set authentication to mixed mode in SQL Server 2000</title><summary type='text'>Normally, when you start programming on a machine for the first time or right after installing SQL Server, you need to change the authentication to mixed. The default authentication mode for SQL server 2000 is Windows only. It is especially important for web application since they run under a Windows user that is not allowed to access the database.Here are the steps:1) Open Enterprise manager.2) </summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/1382669743768835237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=1382669743768835237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1382669743768835237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/1382669743768835237'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/10/set-authentication-to-mixed-mode-in-sql.html' title='Set authentication to mixed mode in SQL Server 2000'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2660252888743802526.post-8708676092334151872</id><published>2007-09-25T23:38:00.000-07:00</published><updated>2007-09-25T23:55:43.229-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>How to center your page contents</title><summary type='text'>Have you ever wondered how the contents of all standard web sites stay in the middle of the screen regardless of the width of user's screen. One example of this feature can be found at http://www.msn.com/. You will notice if you change the width of the page there is always an equal amount of margin available in both sides of the page contents. As a result of this feature, the web site can support</summary><link rel='replies' type='application/atom+xml' href='http://mycomputerknowhow.blogspot.com/feeds/8708676092334151872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2660252888743802526&amp;postID=8708676092334151872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8708676092334151872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2660252888743802526/posts/default/8708676092334151872'/><link rel='alternate' type='text/html' href='http://mycomputerknowhow.blogspot.com/2007/09/how-to-center-your-page-contents.html' title='How to center your page contents'/><author><name>Reza A. Azimi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
