<?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-7638152</id><updated>2011-04-21T18:14:09.392-07:00</updated><title type='text'>Hashim's Blogs</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7638152.post-114534424855055073</id><published>2006-04-18T00:09:00.000-07:00</published><updated>2006-04-18T00:18:23.146-07:00</updated><title type='text'>How to Add Custom Tag in Web.Config Page (ASP.NET)</title><content type='html'>How to Add Custom Tag in Web.Config Page (ASP.NET)&lt;br /&gt;To add a custom tag to Web.config you need to first explicitly specify the new tag name in Web.config via the &lt;configSections&gt; tag&lt;br /&gt;For Example:&lt;br /&gt;&lt;br /&gt;&lt;configuration&gt;&lt;br /&gt;&lt;br /&gt;&lt;configSections&gt;&lt;br /&gt;&lt;br /&gt;&lt;section name="MyAppSettings"&lt;br /&gt;type="System.Configuration.NameValueFileSectionHandler,&lt;br /&gt;System, Version=1.0.3300.0, Culture=neutral,&lt;br /&gt;PublicKeyToken=b77a5c561934e089" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/configSections&gt;&lt;br /&gt;...&lt;br /&gt;&lt;/configuration&gt;&lt;br /&gt;&lt;br /&gt;This &lt;section ... /&gt; tag indicates that we are going to be adding New tag named MyAppSettings. &lt;br /&gt;Now we can add a &lt;MyAppSettings&gt; tag to our Web.config file and&lt;br /&gt;add &lt;add ... /&gt; tags to add application-wide parameters, &lt;br /&gt;For Example:&lt;br /&gt;&lt;br /&gt;&lt;configuration&gt;&lt;br /&gt;&lt;br /&gt;&lt;configSections&gt;&lt;br /&gt;&lt;br /&gt;&lt;section name="MyAppSettings"&lt;br /&gt;type="System.Configuration.NameValueFileSectionHandler,&lt;br /&gt;System, Version=1.0.3300.0, Culture=neutral,&lt;br /&gt;PublicKeyToken=b77a5c561934e089" /&gt;&lt;br /&gt;&lt;/configSections&gt;&lt;br /&gt;&lt;br /&gt;&lt;MyAppSettings&gt;&lt;br /&gt;&lt;add key="connString" value="connection string" /&gt;&lt;br /&gt;&lt;/MyAppSettings&gt;&lt;br /&gt;...&lt;br /&gt;&lt;/configuration&gt;&lt;br /&gt;How to Read Custom Tag&lt;br /&gt;&lt;br /&gt;To read this custom value from an ASP.NET Web page we use the following syntax:&lt;br /&gt;&lt;br /&gt;ConfigurationSettings.GetConfig("MyAppSettings")("connString")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-114534424855055073?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/114534424855055073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=114534424855055073' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/114534424855055073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/114534424855055073'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2006/04/how-to-add-custom-tag-in-webconfig.html' title='How to Add Custom Tag in Web.Config Page (ASP.NET)'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-110809306475906282</id><published>2005-02-10T19:34:00.000-08:00</published><updated>2005-02-10T19:37:44.760-08:00</updated><title type='text'>How to prevent sending emails without subject in Outlook</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;1. Open your outlook&lt;br /&gt;2. Press Alt+F11. This will open the Visual Basic editor&lt;br /&gt;3. On the Left Pane, one can see "Project1", expand this, you can see “Microsoft&lt;br /&gt;Office Outlook Objects”, expand this. Now one can see the “ThisOutLookSession”.&lt;br /&gt;(If you are not seeing "Project1", press Ctrl+R or View-&gt; Project&lt;br /&gt;Explorer).&lt;br /&gt;4. Click on “ThisOutLookSession”.&lt;br /&gt;5. Copy and Paste the following code in the right pane.(Code Pane)&lt;br /&gt;Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)&lt;br /&gt; Dim strSubject As String&lt;br /&gt; strSubject = Item.Subject&lt;br /&gt;  If Len(strSubject) = 0 Then&lt;br /&gt;     Prompt$ = "Subject is Empty !!!, Are you sure? you want to send the Mail?"&lt;br /&gt;     If MsgBox(Prompt$, vbOKCancel + vbQuestion + vbSystemModal +&lt;br /&gt;        vbMsgBoxSetForeground, "Check for Subject:-") = vbCancel Then&lt;br /&gt;      Cancel = True&lt;br /&gt;     End If&lt;br /&gt;  End If&lt;br /&gt;End Sub&lt;br /&gt;6. Now close the VB editor. From now on , this macro will make sure you do not make&lt;br /&gt;the mistake of sending an email without subject&lt;br /&gt;&lt;br /&gt;Note: You need to enable macros in the outlook for this code snippet to work. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-110809306475906282?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/110809306475906282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=110809306475906282' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110809306475906282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110809306475906282'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2005/02/how-to-prevent-sending-ema_110809306475906282.html' title='How to prevent sending emails without subject in Outlook'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-110809269432737527</id><published>2005-02-10T19:26:00.001-08:00</published><updated>2005-02-10T19:31:34.330-08:00</updated><title type='text'>How to prevent sending emails without subject in Outlook</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;1. Open your outlook&lt;br /&gt;2. Press Alt+F11. This will open the Visual Basic editor&lt;br /&gt;3. On the Left Pane, one can see "Project1", expand this, you can see “Microsoft Office Outlook Objects”, expand this. Now one can see the “ThisOutLookSession”. (If you are not seeing "Project1", press Ctrl+R or View-&gt; Project Explorer).&lt;br /&gt;4. Click on “ThisOutLookSession”.&lt;br /&gt;5. Copy and Paste the following code in the right pane.(Code Pane)&lt;br /&gt;Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)&lt;br /&gt;Dim strSubject As String&lt;br /&gt;strSubject = Item.Subject&lt;br /&gt;If Len(strSubject) = 0 Then&lt;br /&gt;Prompt$ = "Subject is Empty !!!, Are you sure? you want to send the Mail?"&lt;br /&gt;If MsgBox(Prompt$, vbOKCancel + vbQuestion + vbSystemModal +&lt;br /&gt;vbMsgBoxSetForeground, "Check for Subject:-") = vbCancel Then&lt;br /&gt;Cancel = True&lt;br /&gt;End If&lt;br /&gt;End If&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;6. Now close the VB editor. From now on , this macro will make sure you do not make the mistake of sending an email without subject&lt;br /&gt;Note: You need to enable macros in the outlook for this code snippet to work. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-110809269432737527?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/110809269432737527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=110809269432737527' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110809269432737527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110809269432737527'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2005/02/how-to-prevent-sending-emails-without_11.html' title='How to prevent sending emails without subject in Outlook'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-110809244880427210</id><published>2005-02-10T19:26:00.000-08:00</published><updated>2005-02-10T19:27:28.806-08:00</updated><title type='text'>How to prevent sending emails without subject in Outlook</title><content type='html'>1.      Open your outlook2.      Press Alt+F11. This  will open the Visual Basic editor 3.      On the Left Pane, one can see "Project1", expand this, you can see “Microsoft Office Outlook Objects”, expand this. Now one can see the “ThisOutLookSession”. (If you are not seeing "Project1", press Ctrl+R or View-&gt; Project Explorer).4.      Click on “ThisOutLookSession”.5.      Copy and Paste the following code in the right pane.(Code Pane) Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)    Dim strSubject As String    strSubject = Item.Subject        If Len(strSubject) = 0 Then        Prompt$ = "Subject is Empty !!!, Are you sure? you want to send the Mail?"        If MsgBox(Prompt$, vbOKCancel + vbQuestion + vbSystemModal + vbMsgBoxSetForeground, "Check for Subject:-") = vbCancel Then                Cancel = True        End If    End If    End Sub 6.      Now close the VB editor. From now on , this macro will make sure you do not make the mistake of sending an email without subject Note:       You need to enable macros in the outlook for this code snippet to work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-110809244880427210?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/110809244880427210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=110809244880427210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110809244880427210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110809244880427210'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2005/02/how-to-prevent-sending-emails-without.html' title='How to prevent sending emails without subject in Outlook'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-110405671310770277</id><published>2004-12-26T02:24:00.000-08:00</published><updated>2004-12-26T02:26:24.636-08:00</updated><title type='text'>GnuPG - The GNU Privacy Guard</title><content type='html'>Recently got a chance to work on GnuPG to send and recieve secure data.worked with GnuPG with C#.NET to encrypt/decrypt data.&lt;br /&gt;&lt;br /&gt;GnuPG is GNU's tool for secure communication and data storage.It can be used to encrypt data and to create digital signatures.It includes an advanced key management facility and is compliantwith the proposed OpenPGP Internet standard as described in RFC2440.&lt;br /&gt;GnuPG works best on GNU/Linux or *BSD systems. Most other Unicesare also supported but are not as well tested as the Free Unices.See &lt;a href="http://www.gnupg.org/download/supported_systems.html"&gt;http://www.gnupg.org/download/supported_systems.html&lt;/a&gt; for alist of systems which are known to work.&lt;br /&gt;&lt;br /&gt;Because GnuPG does not use use any patented algorithms it is notby default fully compatible with PGP 2.x, which uses the patentedIDEA algorithm. See &lt;a href="http://www.gnupg.org/why-not-idea.html"&gt;http://www.gnupg.org/why-not-idea.html&lt;/a&gt; formore information on this subject, including what to do if you arelegally entitled to use IDEA.&lt;br /&gt;&lt;br /&gt;The default public key algorithms are DSA and Elgamal, but RSA isalso supported. Symmetric algorithms available are AES (with 128,192, and 256 bit keys), 3DES, Blowfish, CAST5 and Twofish. Digestalgorithms available are MD5, RIPEMD/160, SHA-1, SHA-256, SHA-384,and SHA-512. Compression algorithms available are ZIP, ZLIB, andBZIP2 (with libbz2 installed).&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-110405671310770277?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/110405671310770277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=110405671310770277' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110405671310770277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/110405671310770277'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/12/gnupg-gnu-privacy-guard.html' title='GnuPG - The GNU Privacy Guard'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109827344299135032</id><published>2004-10-20T04:54:00.000-07:00</published><updated>2004-10-20T05:00:47.640-07:00</updated><title type='text'>10 Steps to Help Secure SQL Server 2000</title><content type='html'>Read at : &lt;a href="http://www.microsoft.com/sql/techinfo/administration/2000/security/securingsqlserver.asp"&gt;10 Steps to Help Secure SQL Server 2000&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109827344299135032?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109827344299135032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109827344299135032' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109827344299135032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109827344299135032'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/10/10-steps-to-help-secure-sql-server.html' title='10 Steps to Help Secure SQL Server 2000'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109603200604562241</id><published>2004-09-24T06:16:00.000-07:00</published><updated>2004-09-24T06:20:06.046-07:00</updated><title type='text'>How to Share Session State Between Classic ASP and ASP.NET</title><content type='html'>Discusses how to share session state between classic ASP and Microsoft ASP.NET using Microsoft .NET Framework classes and the serialization feature of the .NET Framework. Sharing session state allows converting existing ASP applications to ASP.NET applications in stages while running the applications side by side&lt;br /&gt;&lt;br /&gt;Read in Detail at : &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp"&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;How to Share Session State Between Classic ASP and ASP.NET&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109603200604562241?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109603200604562241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109603200604562241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109603200604562241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109603200604562241'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/09/how-to-share-session-state-between.html' title='How to Share Session State Between Classic ASP and ASP.NET'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109333850617449414</id><published>2004-08-24T02:04:00.000-07:00</published><updated>2004-08-24T02:09:32.586-07:00</updated><title type='text'>Visual Studio .NET Technical Articles</title><content type='html'>Build Windows-based components and applications, create scripts, develop Web sites and applications, and manage source code with Visual Studio .NET and the individual tools and languages it contains.&lt;br /&gt;&lt;br /&gt;This can be found at: &lt;a href="http://www.microsoft.com/serviceproviders/whitepapers/vsnet.asp"&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;Visual Studio .NET Technical Articles&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109333850617449414?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109333850617449414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109333850617449414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109333850617449414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109333850617449414'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/08/visual-studio-net-technical-articles.html' title='Visual Studio .NET Technical Articles'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109274340530868763</id><published>2004-08-17T04:48:00.000-07:00</published><updated>2004-08-17T04:50:05.306-07:00</updated><title type='text'>Visual Sudio 2005 Beta Documentation</title><content type='html'>The .NET Framework class library is a library of classes, interfaces, and value types that are included in the Microsoft .NET Framework SDK. This library provides access to system functionality and is designed to be the foundation on which .NET Framework applications, components, and controls are built.&lt;br /&gt;&lt;br /&gt;This can be found at: &lt;a href="http://lab.msdn.microsoft.com/library/?url=/library/en-us/dv_fxnetstart/html/50c4d770-0bb4-4e6a-bcf0-966bc7a3de77.asp?frame=true"&gt;.NET 2.0 Reference Docs&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109274340530868763?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109274340530868763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109274340530868763' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109274340530868763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109274340530868763'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/08/visual-sudio-2005-beta-documentation.html' title='Visual Sudio 2005 Beta Documentation'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109274216154896427</id><published>2004-08-17T04:28:00.000-07:00</published><updated>2004-08-17T04:34:19.770-07:00</updated><title type='text'>Creating a Scrollable DataGrid Web Server Control</title><content type='html'>A most common question in many of the newsgroups and message board is “how to have a scrollable DataGrid” in a web page. In this article you can see how to create a scrollable DataGrid in a web page. By default DataGrid (Web Server control) doesn’t provide any features for scrolling. But this can be done with help of Cascading Style Sheet (CSS). CSS contains a property called “Overflow” which can used for this purposes.&lt;br /&gt;&lt;br /&gt;Nice artical to read :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/india/msdn/articles/CreatingaScrollableDataGridWebServerControl.aspx"&gt;Creating a Scrollable DataGrid Web Server Control&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109274216154896427?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109274216154896427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109274216154896427' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109274216154896427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109274216154896427'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/08/creating-scrollable-datagrid-web.html' title='Creating a Scrollable DataGrid Web Server Control'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109274195501373175</id><published>2004-08-17T04:24:00.000-07:00</published><updated>2004-08-17T04:27:40.666-07:00</updated><title type='text'>How to use InsertAfter() with XmlDOM. </title><content type='html'>The InsertAfter() is a great function if you want to add elements to an already existing file. In this short example you will see how easily you can do this. Let's see how the XML file looks like. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;see :&lt;a href="http://dotnetjunkies.com/WebLog/sayadhashim/archive/2004/08/17/22287.aspx"&gt;How to use InsertAfter() with XmlDOM.&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109274195501373175?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109274195501373175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109274195501373175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109274195501373175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109274195501373175'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/08/how-to-use-insertafter-with-xmldom.html' title='How to use InsertAfter() with XmlDOM. '/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109119283299274075</id><published>2004-07-30T06:05:00.000-07:00</published><updated>2004-07-30T06:07:12.993-07:00</updated><title type='text'>Consuming Webservices over HTTPS (SSL) </title><content type='html'>When Webservices are used, a common concern is security: SOAP messages are transferred in plain text over the network, so anyone with a sniffer could intercept the SOAP message and read it. In my opinion this could happen also to binary data, but probably it requires a little bit more hacker skills. So a solution is to use HTTPS (SSL) instead of HTTP, so the communication is encrypted. To accomplish this, you need to get and install a certificate (issued by a Certificate Authority) on your webserver. In a production environment you would buy a certificate from Verisign or another well known CA, or you would install your own CA, which is a component of Windows Server. If you only want to play with HTTPS, SSL and certificates or your project is in the development phase, you can also generate a test certificate using the MakeCert.exe tool (included in the .NET Framework SDK). After that you have to add this certificate to a website in IIS, and set a port which HTTPS should use.&lt;br /&gt;&lt;br /&gt;When you browse to a HTTPS site, you probably get a dialog window asking you if you want to trust the certificate provided by the webserver. So the responsibility of accepting the certificate is handled by the user. Let's get back to the webservice scenario, if you want to invoke a webservice located on a webserver which uses SSL and HTTPS there is a problem. When you make the call from code, there is no dialog window popping up, and asking if you trust the certificate (luckily because this would be pretty ugly in server-side scenarios); probably you'll get following exception:&lt;br /&gt;An unhandled exception of type 'System.Net.WebException' occurred in system.dll&lt;br /&gt;&lt;br /&gt;Additional information: The underlying connection was closed: Could not establish trust relationship with remote server.&lt;br /&gt;&lt;br /&gt;But there is a solution for this problem, you can solve this in your code by creating your own CertificatePolicy class (which implements the ICertificatePolicy interface). In this class you will have to write your own CheckValidationResult function that has to return true or false, like you would press yes or no in the dialog window. For development purposes I've created the following class which accepts all certificates, so you won't get the nasty WebException anymore:&lt;br /&gt;&lt;br /&gt;public class TrustAllCertificatePolicy : System.Net.ICertificatePolicy&lt;br /&gt;{&lt;br /&gt; public TrustAllCertificatePolicy() &lt;br /&gt; {}&lt;br /&gt;&lt;br /&gt; public bool CheckValidationResult(ServicePoint sp, &lt;br /&gt;  X509Certificate cert,WebRequest req, int problem)&lt;br /&gt; {&lt;br /&gt;  return true;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;As you can see the CheckValidationResult function always returns true, so all certificates will be trusted. If you want to make this class a little bit more secure, you can add additional checks using the X509Certificate parameter for example. To use this CertificatePolicy, you'll have to tell the ServicePointManager to use it:&lt;br /&gt;System.Net.ServicePointManager.CertificatePolicy = new TrustAllCertificatePolicy();&lt;br /&gt;This must be done (one time during the application life cycle) before making the call to your webservice.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109119283299274075?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109119283299274075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109119283299274075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109119283299274075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109119283299274075'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/07/consuming-webservices-over-https-ssl.html' title='Consuming Webservices over HTTPS (SSL) '/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109107344130060513</id><published>2004-07-28T20:53:00.000-07:00</published><updated>2004-07-29T02:49:46.676-07:00</updated><title type='text'>J2EE vs. Microsoft.NET By Chad Vawter and Ed Roman (Good Article to Read)</title><content type='html'>J2EE vs. Microsoft.NET &lt;br /&gt;A comparison of building XML-based web services &lt;br /&gt;By Chad Vawter and Ed Roman June 2001 &lt;br /&gt;Prepared for Sun Microsystems, Inc.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.theserverside.com/articles/article.tss?l=J2EE-vs-DOTNET"&gt;J2EE vs. Microsoft.NET A comparison of building XML-based web services&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this whitepaper, the authors has made a powerful comparison between the two choices that businesses have for building XML-based web services: the Java 2 Platform, Enterprise Edition (J2EE)1 , built by Sun Microsystems and other industry players, and Microsoft.NET2, built by Microsoft Corporation.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109107344130060513?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109107344130060513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109107344130060513' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109107344130060513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109107344130060513'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/07/j2ee-vs-microsoftnet-by-chad-vawter.html' title='J2EE vs. Microsoft.NET By Chad Vawter and Ed Roman (Good Article to Read)'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109038310950899400</id><published>2004-07-20T21:09:00.000-07:00</published><updated>2004-07-20T21:25:43.376-07:00</updated><title type='text'>Lock the system without using CTRL+ALT+DEL</title><content type='html'>Hi, &lt;br /&gt;&lt;br /&gt;This is a interesting piece of info that you can use to lock your&lt;br /&gt;work-stations without using the combo key "CTRL- ALT- DEL"&lt;br /&gt;If CTRL-ALT-DELETE seems like too much of a hassle, try this instead:&lt;br /&gt;1. Right click an empty spot on the desktop, point to New and click&lt;br /&gt;Shortcut.&lt;br /&gt;2. In the Create Shortcut dialog box, type the following into the Type the&lt;br /&gt;location of the item text box:&lt;br /&gt;"rundll32 user32.dll,LockWorkStation" // remove quotes while typing&lt;br /&gt;3. Click Next.&lt;br /&gt;4. In the Select a Title for the Program dialog box, type "Lock Desktop" in&lt;br /&gt;the Type a name for this shortcut text box. &lt;br /&gt;5. Click Finish.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109038310950899400?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109038310950899400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109038310950899400' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109038310950899400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109038310950899400'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/07/lock-system-without-using-ctrlaltdel.html' title='Lock the system without using CTRL+ALT+DEL'/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7638152.post-109032908808260579</id><published>2004-07-20T06:11:00.000-07:00</published><updated>2004-07-26T05:14:00.193-07:00</updated><title type='text'>Simple Encryption and Decryption Using VB.NET </title><content type='html'>Imports System.Security.Cryptography &lt;br /&gt;Imports System.Text &lt;br /&gt;******* Encrypt the Data *******&lt;br /&gt;Public Function GetEncryptedData(ByVal Data As String) As String&lt;br /&gt;   Dim shaM As New SHA1Managed&lt;br /&gt;   Convert.ToBase64String(shaM.ComputeHash(Encoding.ASCII.GetBytes(Data)))&lt;br /&gt;   Dim eNC_data() As Byte = ASCIIEncoding.ASCII.GetBytes(Data)&lt;br /&gt;   Dim eNC_str As String = Convert.ToBase64String(eNC_data)&lt;br /&gt;   GetEncryptedData = eNC_str&lt;br /&gt;End Function&lt;br /&gt;******* Decrypt the Data *******&lt;br /&gt;Public Function GetDecryptedData(ByVal Data As String) As String&lt;br /&gt;   Dim dEC_data() As Byte = Convert.FromBase64String(Data)&lt;br /&gt;   Dim dEC_Str As String = ASCIIEncoding.ASCII.GetString(dEC_data)&lt;br /&gt;   GetDecryptedData = dEC_Str&lt;br /&gt;End Function&lt;br /&gt;*********************************&lt;br /&gt;&lt;br /&gt;The above code snippet demonstrates simple encryption/Decryption a given string very use full in password encryption. &lt;br /&gt;The function uses SHA1 to Compute the SHA1 hash for the input data. &lt;br /&gt;The hash is used as a unique value of fixed size representing a large amount of data. &lt;br /&gt;The hash size for the SHA1 algorithm is 160 bits.&lt;br /&gt;This function Imports the&amp;nbsp; System.Security.Cryptography and System.Text namespace for this. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7638152-109032908808260579?l=sayadhashim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sayadhashim.blogspot.com/feeds/109032908808260579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7638152&amp;postID=109032908808260579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109032908808260579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7638152/posts/default/109032908808260579'/><link rel='alternate' type='text/html' href='http://sayadhashim.blogspot.com/2004/07/simple-encryption-and-decryption-using.html' title='Simple Encryption and Decryption Using VB.NET '/><author><name>Sayad Hashim Ali Kazi</name><uri>http://www.blogger.com/profile/09120088617932400765</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
