<?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-6786428453847734426</id><updated>2012-02-16T02:09:12.260-08:00</updated><category term='Basic .NET and ASP.NET interview questions'/><title type='text'>Dotnet, WCF, VBA, MS SQL Server2005, XML</title><subtitle type='html'>This blog contains information about Dotnet,WCF, Visual Basic for Application(VBA),SQL Server 2005.......</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-2935148011220172324</id><published>2009-12-10T02:26:00.000-08:00</published><updated>2009-12-10T02:26:47.759-08:00</updated><title type='text'>Find First day and Lastday of the month</title><content type='html'>Below is the code to find the first day and last day of the current month in vb code.&lt;br /&gt;&lt;br /&gt;'------------------------------------------------------------------&lt;br /&gt;Dim StartDate As Date&lt;br /&gt;Dim EndDate As Date&lt;br /&gt;&lt;br /&gt;StartDate = DateSerial(CInt(Format(Date, "yyyy")), CInt(Format(Date, "mm")) - 1, 1)&lt;br /&gt;EndDate = MonthLastDay(DateSerial(CInt(Format(Date, "yyyy")), CInt(Format(Date, "mm")) - 1, 1))&lt;br /&gt;'--------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Public Function MonthLastDay(ByVal dCurrDate As Date)&lt;br /&gt;  Dim MonthFirstDay As Date&lt;br /&gt;  &lt;br /&gt;  On Error GoTo lbl_Error&lt;br /&gt; &lt;br /&gt;  MonthLastDay = Empty&lt;br /&gt;  MonthFirstDay = DateSerial(CInt(Format(Date, "yyyy")), CInt(Format(Date, "mm")) + 1, 1)&lt;br /&gt;  MonthLastDay = DateAdd("d", -1, MonthFirstDay)&lt;br /&gt;  &lt;br /&gt;  Exit Function&lt;br /&gt;lbl_Error:&lt;br /&gt;  MsgBox Err.Description, vbOKOnly + vbExclamation&lt;br /&gt;End Function&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-2935148011220172324?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/2935148011220172324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=2935148011220172324' title='42 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2935148011220172324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2935148011220172324'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2009/12/find-first-day-and-lastday-of-month.html' title='Find First day and Lastday of the month'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>42</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-1480783758277255263</id><published>2009-12-04T09:43:00.000-08:00</published><updated>2009-12-04T10:51:51.676-08:00</updated><title type='text'>ASP.NET</title><content type='html'>&lt;a href='http://www.education.vic.gov.au/devreskit/appdev/Standards/ASP/aspnet-standards-summary.htm'&gt;ASP.NET Coding Standards&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href ='http://msdn.microsoft.com/en-us/library/ms178472.aspx'&gt;ASP.NET Page Life Cycle Overview&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://msdn.microsoft.com/en-us/library/ms178473.aspx'&gt;ASP.NET Application Life Cycle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.cgisecurity.com/dotnet-security.html'&gt;.NET Security&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-1480783758277255263?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/1480783758277255263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=1480783758277255263' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1480783758277255263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1480783758277255263'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2009/12/aspnet.html' title='ASP.NET'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-5357015870873577361</id><published>2009-12-04T09:30:00.000-08:00</published><updated>2009-12-04T09:43:06.753-08:00</updated><title type='text'>About WCF</title><content type='html'>&lt;a href='http://social.msdn.microsoft.com/Forums/en-US/wcfprerelease/threads'&gt;&lt;br /&gt;WCF Forums&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.codeproject.com/KB/WCF/wcf_bohansen.aspx'&gt;WCF code samples&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://developers.de/blogs/damir_dobric/archive/2008/10/05/what-is-new-in-net-4-0.aspx'&gt;What is new in .NET 4.0&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/wcf4part107232009021659AM/wcf4part1.aspx'&gt;WCF 4.0 Features &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-5357015870873577361?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/5357015870873577361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=5357015870873577361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/5357015870873577361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/5357015870873577361'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2009/12/about-wcf.html' title='About WCF'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-1702113271352897079</id><published>2009-12-04T09:19:00.000-08:00</published><updated>2009-12-04T09:25:39.539-08:00</updated><title type='text'>Futures of  Visual Studio 2010</title><content type='html'>&lt;a href='http://www.asp.net/LEARN/whitepapers/aspnet4/default.aspx'&gt;&lt;br /&gt;ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview&lt;br /&gt;&lt;/a&gt; &lt;a href='http://www.developerfusion.com/article/9576/the-future-of-net-languages/2/'&gt;&lt;br /&gt;The Future of .NET 4.0&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-1702113271352897079?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/1702113271352897079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=1702113271352897079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1702113271352897079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1702113271352897079'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2009/12/future-of-visual-studio-2010.html' title='Futures of  Visual Studio 2010'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-927731843133429418</id><published>2008-07-16T03:31:00.000-07:00</published><updated>2008-07-16T03:35:24.902-07:00</updated><title type='text'>Code to create a toolbar Icon on excel</title><content type='html'>&lt;p&gt;Private Sub Workbook_Open()&lt;br /&gt;Dim cmd As CommandBarButton&lt;/p&gt;&lt;p&gt;Dim bar As CommandBar        &lt;/p&gt;&lt;p&gt;On Error Resume Next    &lt;/p&gt;&lt;p&gt;Application.CommandBars("New").Delete    &lt;/p&gt;&lt;p&gt;Set bar = Application.CommandBars.Add("New")    &lt;/p&gt;&lt;p&gt;bar.Visible = True    &lt;/p&gt;&lt;p&gt;bar.Position = msoBarTop    &lt;/p&gt;&lt;p&gt;bar.Protection = msoBarNoMove    &lt;/p&gt;&lt;p&gt;Set cmd = bar.Controls.Add(Type:=msoControlButton)    &lt;/p&gt;&lt;p&gt;cmd.FaceId = 351    &lt;/p&gt;&lt;p&gt;cmd.OnAction = "GetReport"    &lt;/p&gt;&lt;p&gt;cmd.Caption = " Report"   &lt;/p&gt;&lt;p&gt; End Sub&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-927731843133429418?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/927731843133429418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=927731843133429418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/927731843133429418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/927731843133429418'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2008/07/code-to-create-toolbar-icon-on-excel.html' title='Code to create a toolbar Icon on excel'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-5389193966004832905</id><published>2007-07-28T06:13:00.000-07:00</published><updated>2007-07-28T06:19:27.940-07:00</updated><title type='text'>Does SQL Server have anything like VB's On Error GoTo?</title><content type='html'>&lt;p&gt;To those familiar with Visual Basic, VB provides the option to use the ON ERROR GOTO ... clause to catch practically any error and handle it in one's program.Does SQL Server 2000 have the analogous clause that will jump to a certain part of code in a stored procedure to handle errors?&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Solution: Errors must be checked after every SQL statement of interest.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;In short: No!  SQL Server does not have anything like Visual Basic's "On Error GoTo" construct.  It acts as if there was always an "On Error Resume Next" statement in effect.&lt;br /&gt;For effective error handling in a SQL Server stored procedure you must test the value of @@ERROR after EVERY SQL statement that might produce an error.  Yes, that's a lot of testing.  A well written stored procedure will often be 1/2 or more error handling code.&lt;br /&gt;There's another important consideration in designing error handling: @@ERROR is reset after each and every SQL statement, @@ROWCOUNT is also similarly reset.  Therefore, you must capture both of these immediatly after each SQL statement that might produce an error. &lt;br /&gt;I start by declaring two variables to hold the values of @@ERROR and @@ROWCOUNT while the error handling code is working with them.  They're declared at the top of every stored procedure and I've added them to my stored procedure template.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;DECLARE @myERROR int -- Local @@ERROR       , @myRowCount int -- Local @@ROWCOUNT&lt;br /&gt;Next let's say that we had a simple INSERT statement&lt;br /&gt;INSERT INTO Authors (au_id, au_fname, au_lname, contract)     VALUES ('123-45-678'            , 'Andrew'            , 'Novick'            , 1            )&lt;br /&gt;Immediately after that statement, you should have the following statement:&lt;br /&gt;SELECT @myERROR = @@ERROR       , @myRowCOUNT = @@ROWCOUNT&lt;br /&gt;These two assignements must be in the same statement.  If you were to split them into two statements, for instance:&lt;br /&gt;SET @myERROR = @@ERRORSET @myRowCOUNT = @@ROWCOUNT&lt;br /&gt;then @myRowCOUNT would always be zero.  That's because it's reflecting the number of rows effected by the SET @myERROR = @@ERROR statement that preceeds it.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Arun.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-5389193966004832905?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/5389193966004832905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=5389193966004832905' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/5389193966004832905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/5389193966004832905'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2007/07/does-sql-server-have-anything-like-vbs.html' title='Does SQL Server have anything like VB&apos;s On Error GoTo?'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-8441053585543917803</id><published>2007-02-23T04:36:00.000-08:00</published><updated>2007-02-23T04:44:33.025-08:00</updated><title type='text'>Create Workbook - Single sheet</title><content type='html'>In some case if you wnat to copy some cell values to a new workbook, in that case you dont want to create a workbook with three sheets(by default), create a workbook with single sheet using the code&lt;br /&gt;         ------------ ' &lt;strong&gt;Workbooks.Add(xlWBATWorksheet)&lt;/strong&gt; '---------------&lt;br /&gt;this code create a workbook with single sheet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-8441053585543917803?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/8441053585543917803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=8441053585543917803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/8441053585543917803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/8441053585543917803'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2007/02/create-workbook-single-sheet.html' title='Create Workbook - Single sheet'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-1834365618176479865</id><published>2007-02-01T01:51:00.000-08:00</published><updated>2007-02-01T02:04:04.157-08:00</updated><title type='text'>What is Microsoft .NET?</title><content type='html'>&lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;What is Microsoft .NET?&lt;/strong&gt;&lt;br /&gt;Microsoft .NET is the Microsoft strategy for connecting systems, information, and devices through Web services so people can collaborate and communicate more effectively. .NET technology is integrated throughout Microsoft products, providing the capability to quickly build, deploy, manage, and use connected, security-enhanced solutions through the use of Web services.  &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;What are Web Services?&lt;/strong&gt;&lt;br /&gt;Web services are small, reusable applications that help computers from many different operating system platforms work together by exchanging messages. Web services are based on industry protocols that include XML (Extensible Markup Language), SOAP (Simple Object Access Protocol), and WSDL (Web Services Description Language). These protocols help computers work together across platforms and programming languages.&lt;br /&gt;From a business perspective, Web services are used to reenable information technology so that it can change, move, and adapt like other aspects of a business.  They not only connect systems, they can help connect people with the information they need, within the software applications they are used to using, and wherever they happen to be.&lt;br /&gt;Microsoft offers a complete range of software that helps organizations and individuals benefit from Web service-based connectivity. These include theMicrosoft Visual Studio .NET 2003 developer tools, the Windows Server System that hosts Web services, and familiar desktop applications such as the Microsoft Office System that "consume" Web services. &lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;What are the Benefits of .NET?&lt;/strong&gt;&lt;br /&gt;.NET technologies use Web services to help enhance the computing experience with highly integrated communications and information. Because .NET includes the core technologies for building Web services, it benefits everyone: individual users, organizations, and developers. • &lt;br /&gt;.NET benefits organizations by helping them get the most out of their existing technology investments while creating new ways to implement powerful, cost-effective information technology that will meet future needs. .NET technologies and Web services can be used to integrate even the most disparate computing environments. .NET frees organizations from the confines of proprietary technology, providing the flexibility and scalability that can help organizations connect their existing IT systems and build a foundation for the next wave of computer technology. .NET and Web services can help organizations lower operating costs by helping connect systems; increase sales by helping employees access the right information when and where they need it; integrate services and applications with customers and partners; and lower the costs of information technology with tools that help developers quickly create new solutions to address business issues. • &lt;br /&gt;.NET benefits individuals by helping provide a more personal and integrated computing experience. .NET-enabled computing is centered on the user–not on the features of the software or hardware. The user's experience becomes very customizable and provides integrated data and customized interactions that work well with a wide range of computing hardware, such as Pocket PCs, Smartphones, laptops, and other devices. The .NET-based experience enhances the mobile computing experience so user's can get their information regardless of their location. For example, it can take place on a desktop computer, in the car on a Smartphone, or at the store on a Pocket PC. • &lt;br /&gt;.NET benefits developers by providing a tightly integrated set of tools for building and integrating Web services. Visual Studio .NET and the .NET Framework provide comprehensive development platforms that offer the best, fastest, and most cost-effective way to build Web services. With Visual Studio .NET and the .NET Framework, developers can take advantage of a programming model designed from the ground up for creating Web services in a highly productive, multilanguage environment. With scalable, high-performance execution, the .NET tools allow developers to use existing skills to create a wide range of solutions that work across a broad array of computing devices. .NET also provides a foundation for building Service Oriented Architectures (SOA).  &lt;/p&gt;&lt;p&gt;&lt;strong&gt;What are Service Oriented Architectures (SOA)?&lt;br /&gt;&lt;/strong&gt;SOA describes an information technology architecture that enables distributed computing environments with many different types of computing platforms and applications. Web services are one of the technologies that help make SOAs possible. As a concept, SOA has been around since the 1980s, but many early IT technologies failed to achieve the goal of linking different types of applications and systems. By making early investments with .NET, Microsoft has helped provide the building blocks that today are putting many enterprise customers on the path to successfully implementing SOAs. With SOAs, companies can benefit from the unimpeded flow of information that is the hallmark of connected systems.  What are Web Services&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Enhancements for Microsoft .NET (WSE)?&lt;/strong&gt;&lt;br /&gt;WSE is an add-on to Microsoft Visual Studio .NET and the Microsoft .NET Framework that helps developers build greater security features into Web services using the latest Web services protocol specifications and standards. With WSE 2.0 developers can create security-enhanced connected systems that help improve business processes within–and beyond–corporate trust boundaries and create new revenue-generating opportunities.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;What is a Smart Client?&lt;br /&gt;&lt;/strong&gt;Smart clients are client applications that consume Web services and reside on user hardware such as desktop PCs, laptops, Pocket PCs, and Smartphones. They are easily deployed and managed and provide an adaptive, responsive, and rich interactive experience by taking advantage of the computing resources on the device and intelligently connecting to distributed data sources.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt; What is .NET Passport?&lt;br /&gt;&lt;/strong&gt;.NET Passport is a Web-based service that is designed to make signing in to Web sites fast and easy. Passport enables participating sites to authenticate a user with a single set of sign-in credentials, alleviating the need for users to remember numerous passwords and user names.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;What are the Current Microsoft Products and &lt;/span&gt;&lt;strong&gt;&lt;span style="font-weight: bold;"&gt;Technologies That Use .NET?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;Microsoft .NET provides everything that is needed to develop and deploy a Web service-based IT architecture: servers to host Web services; development tools to create Web services; applications to use them; and a network of more than 35,000 Microsoft partners to help organizations deploy and manage them. .NET technologies are supported throughout the family of Microsoft products, including the Windows Server System, the Windows XP desktop operating system, and the Microsoft Office System. And .NET technologies will play an even larger role in future versions of Microsoft products.&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Who is Using .NET?&lt;br /&gt;&lt;/strong&gt;Organizations worldwide are implementing .NET technologies and Web services to create connected businesses and to help individuals communicate and collaborate more effectively. For example, Honeywell, GlaxoSmithKline, Sony, Dollar Rent A Car, Farmers Insurance, and the United States Postal Service are just a few of the well-known names that are using .NET. To read more about .NET technology in use today, visit the Microsoft .NET Case Study site.&lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;How Do I Find a Microsoft Partner to Help Me Connect My Organization Using .NET?&lt;br /&gt;&lt;/strong&gt;Microsoft Certified Partners are independent companies that can provide you with the highest levels of technical expertise, strategic thinking, and hands-on skills. Microsoft Certified Partners encompass a broad range of expertise and vendor affiliations. Their real-world perspective can help you prioritize and effectively deliver your technology solutions. &lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-1834365618176479865?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/1834365618176479865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=1834365618176479865' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1834365618176479865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1834365618176479865'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2007/02/what-is-microsoft-net.html' title='What is Microsoft .NET?'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-8027935549390434501</id><published>2007-01-22T04:34:00.000-08:00</published><updated>2007-01-22T04:40:52.146-08:00</updated><title type='text'>Dynamically Create  a tool bar in Excel VBA</title><content type='html'>&lt;p&gt;&lt;br /&gt;In Excel the tool bar button is used to call the xla file, for that i written a code to create the tool bar dynamicallyno need to add the xla file manually in to the workbook.Place the code in the one seperate module, the code is written in the "Auto_Open" event of excel workbook,the below code will create a tool bor with two buttons.Take a look at that and try it once,&lt;/p&gt;&lt;p&gt;'--------------------------------------------------------------------&lt;br /&gt;Public Sub Auto_Open()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim cm As Office.CommandBar&lt;br /&gt;On Error Resume Next&lt;br /&gt;'Delete the toolbar if it already exists&lt;br /&gt;Application.CommandBars("NewToolBar").delete&lt;br /&gt;On Error GoTo 0&lt;br /&gt;'Create the new toolbar each time  this workbook opens&lt;/p&gt;&lt;p&gt;Set cm = Application.CommandBars.Add("NewToolBar", , , Temporary:=True)&lt;br /&gt;&lt;br /&gt;With cm.Controls&lt;br /&gt;&lt;br /&gt;'Add a button to the tool bar&lt;br /&gt;With .Add(msoControlButton)&lt;br /&gt;.Caption = "New Button"&lt;br /&gt;'While click the button in the tool bar&lt;br /&gt;'the method name entered here will called&lt;br /&gt;.OnAction = "EntertheMethodName"&lt;br /&gt;.FaceId = 1763&lt;br /&gt;.Style = msoButtonIcon&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;'Can add more than one button in the same tool bar&lt;br /&gt;With .Add(msoControlButton)&lt;br /&gt;.Caption = "New Button1"&lt;br /&gt;'While click the button in the tool bar&lt;br /&gt;'the method name entered here will called&lt;br /&gt;.OnAction = "EntertheMethodName1"&lt;br /&gt;.FaceId = 2882&lt;br /&gt;.Style = msoButtonIcon&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;cm.Position = msoBarTop&lt;br /&gt;cm.Visible = True&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;'--------------------------------------------------------------------&lt;br /&gt;Cheers........&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-8027935549390434501?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/8027935549390434501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=8027935549390434501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/8027935549390434501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/8027935549390434501'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2007/01/dynamically-create-tool-bar-in-excel.html' title='Dynamically Create  a tool bar in Excel VBA'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-6153840640904328563</id><published>2007-01-22T04:08:00.000-08:00</published><updated>2007-01-22T04:13:51.411-08:00</updated><title type='text'>Creating a simple XML file in VB.net</title><content type='html'>The below is code for creating the XML file in VB.net.&lt;br /&gt;copy and paste the code in on module and see how its work...&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;Private sub CreateXMLFile (strRootDirectoryName as string)&lt;br /&gt;&lt;br /&gt;Dim mywriter As System.Xml.XmlTextWriter&lt;br /&gt;mywriter = New &lt;span style="color:#000000;"&gt;System&lt;/span&gt;.Xml.XmlTextWriter(strRootDirectoryName &amp;amp; "AddressType.xml", Nothing)&lt;br /&gt;mywriter.WriteStartDocument()&lt;br /&gt;mywriter.WriteStartElement("AddressType")&lt;br /&gt;mywriter.WriteElementString("Company", strCompany)&lt;br /&gt;mywriter.WriteElementString("Address1", strAddress1)&lt;br /&gt;mywriter.WriteElementString("Address2", strAddress1)&lt;br /&gt;mywriter.WriteElementString("City", strCity)&lt;br /&gt;mywriter.WriteElementString("State", strState)&lt;br /&gt;mywriter.WriteElementString("Country", strCountry)&lt;br /&gt;mywriter.WriteElementString("Zip", strZip)&lt;br /&gt;mywriter.WriteElementString("Fax", strFax)&lt;br /&gt;mywriter.WriteElementString("Phone", strPhone)&lt;br /&gt;mywriter.WriteElementString("Email", strEmail)&lt;br /&gt;mywriter.WriteEndDocument()&lt;br /&gt;mywriter.Flush()&lt;br /&gt;mywriter.Close()&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;Hope this is more helpfull for XML beginners.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-6153840640904328563?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/6153840640904328563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=6153840640904328563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6153840640904328563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6153840640904328563'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2007/01/creating-simple-xml-file-in-vbnet.html' title='Creating a simple XML file in VB.net'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-2886927446184609513</id><published>2007-01-10T02:44:00.000-08:00</published><updated>2007-01-10T03:51:20.271-08:00</updated><title type='text'>Workbook Opened or not (VBA code)</title><content type='html'>&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;The below is the VBA code to check whether the workbook is already opened or not.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;If the file is already opened means we dont want ot open the file no need to open it again, &lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;just activate the file and proceed.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;if the file is open the function returns true other wise false.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;copy and pase the below code in one module.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;Public Function IsFileOpen(filename As String)&lt;br /&gt;   Dim filenum As Integer, errnum As Integer&lt;br /&gt;   On Error Resume Next   ' Turn error checking off.&lt;br /&gt;   filenum = FreeFile()   ' Get a free file number.&lt;br /&gt;   ' Attempt to open the file and lock it.&lt;br /&gt;   Open filename For Input Lock Read As #filenum&lt;br /&gt;   Close filenum          ' Close the file.&lt;br /&gt;   errnum = Err           ' Save the error number that occurred.&lt;br /&gt;   On Error GoTo 0        ' Turn error checking back on.&lt;br /&gt;&lt;br /&gt;   ' Check to see which error occurred.&lt;br /&gt;   Select Case errnum&lt;br /&gt;&lt;br /&gt;       ' No error occurred.&lt;br /&gt;       ' File is NOT already open by another user.&lt;br /&gt;       Case 0&lt;br /&gt;        IsFileOpen = False&lt;br /&gt;&lt;br /&gt;       ' Error number for "Permission Denied."&lt;br /&gt;       ' File is already opened by another user.&lt;br /&gt;       Case 70&lt;br /&gt;           IsFileOpen = True&lt;br /&gt;&lt;br /&gt;       ' Another error occurred.&lt;br /&gt;       Case Else&lt;br /&gt;           Error errnum&lt;br /&gt;   End Select&lt;br /&gt;&lt;br /&gt;End Function&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 0, 0);"&gt;&lt;span style="color: rgb(204, 153, 51);"&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-2886927446184609513?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/2886927446184609513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=2886927446184609513' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2886927446184609513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2886927446184609513'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2007/01/workbook-opened-or-not-vba-code.html' title='Workbook Opened or not (VBA code)'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-1571369988003351260</id><published>2006-12-08T01:49:00.001-08:00</published><updated>2006-12-08T02:07:49.195-08:00</updated><title type='text'>VBA - Dynamic UserForms (Controls Created Dynamically)</title><content type='html'>Did you know that you can add and remove controls from a UserForm (also known as custom dialog boxes) at run-time? This means &lt;br /&gt;&lt;br /&gt;that you can change your UserForms based on certain conditions that exist during the operation of your VBA project—you’re not &lt;br /&gt;&lt;br /&gt;limited to the design of the UserForm that you created in the VBA designer!&lt;br /&gt;&lt;br /&gt;Below is the sample code, this will create one checkbox control and one command button contol in runtime.&lt;br /&gt;&lt;br /&gt;'Copy and paste the below code in one module and run the macro.&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;Sub CreateControls()&lt;br /&gt;Dim CtrlChk As MSForms.CheckBox&lt;br /&gt;Dim CtrlCMD As MSForms.CommandButton&lt;br /&gt;Dim CtrlObj As New clmodCHK&lt;br /&gt;&lt;br /&gt; 'Load UserForm1&lt;br /&gt; With UserForm1 'Create an user form(userform1) to display controls.&lt;br /&gt;     ' Set object for CheckBox Control&lt;br /&gt;     Set CtrlChk = .Controls.Add("Forms.CheckBox.1", "ChkBox1") '&lt;br /&gt;     CtrlChk.Top = 50&lt;br /&gt;     CtrlChk.Left = 50&lt;br /&gt;     CtrlChk.WordWrap = False&lt;br /&gt;     CtrlChk.Caption = "Checkbox Created at Runtime"&lt;br /&gt;     Set CtrlObj = Nothing&lt;br /&gt; '   Set CtrlObj.chkCtrl = CtrlChk&lt;br /&gt;         'Command button&lt;br /&gt;         Set CtrlCMD = .Controls.Add("Forms.CommandButton.1", "cmdCB1")&lt;br /&gt;     CtrlCMD.Top = 100&lt;br /&gt;     CtrlCMD.Left = 50&lt;br /&gt;     CtrlCMD.WordWrap = False&lt;br /&gt;     CtrlCMD.AutoSize = True&lt;br /&gt;     CtrlCMD.Caption = "CommandButton Created"&lt;br /&gt;     Set CtrlObj = Nothing&lt;br /&gt;     Set CtrlObj.cmdCtrl = CtrlCMD&lt;br /&gt; End With&lt;br /&gt;End Sub&lt;br /&gt;----------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-1571369988003351260?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/1571369988003351260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=1571369988003351260' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1571369988003351260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/1571369988003351260'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/vba-dynamic-userforms-controls-created.html' title='VBA - Dynamic UserForms (Controls Created Dynamically)'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-2585554804789729091</id><published>2006-12-08T01:05:00.003-08:00</published><updated>2006-12-08T02:08:09.432-08:00</updated><title type='text'>Timer Process (Excel Macro)</title><content type='html'>To start the process, use a procedure called StartProcess, similar to the code shown below. &lt;br /&gt;&lt;br /&gt;Sub StartProcess()&lt;br /&gt; Application.OnTime earliesttime:=Now + TimeValue("00:01:00"),procedure:="Call_Timer", schedule:=True&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This stores the date and time 1 minute from the current time in the RunWhen variable, and then calls the OnTime method to instruct Excel when to run the Call_Timer procedure.&lt;br /&gt;&lt;br /&gt;Since is a string variable containing "Call_Timer", Excel will run that procedure at the appropriate time. Below is a sample procedure: &lt;br /&gt;&lt;br /&gt;Sub Call_Timer()&lt;br /&gt;    StartTime&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Note : that the last line of Call_Timer calls the StartProcess procedure.  This reschedules the procedure to run again.  And when the Call_Timer procedure  is called by OnTime the next time, it will again call StartProcess to reschedule itself.  This is how the periodic loop is implemented. &lt;br /&gt;&lt;br /&gt;Below is a procedure called StopProcess which will stop the pending OnTime procedure.&lt;br /&gt;&lt;br /&gt;Sub StopProcess()&lt;br /&gt;   On Error Resume Next&lt;br /&gt;   Application.OnTime earliesttime:=Now + TimeValue("00:01:00"),procedure:=Call_Timer, schedule:=False&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-2585554804789729091?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/2585554804789729091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=2585554804789729091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2585554804789729091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2585554804789729091'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/timer-process-excel-macro_08.html' title='Timer Process (Excel Macro)'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-9025135381242198514</id><published>2006-12-04T22:52:00.001-08:00</published><updated>2006-12-04T22:52:55.984-08:00</updated><title type='text'>Sql Queries</title><content type='html'>&lt;strong&gt;Questions&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;[use NorthWind Database]&lt;br /&gt;1. Select the Order Details of all the orders ordered by the Customer whose CustomerID='ANATR'&lt;br /&gt;2. Select the number of Orders for the Product whose ProductID='12'&lt;br /&gt;3. Select the CustomerID, who has placed the maximum number of Orders&lt;br /&gt;4. Select the maximum Freight Charge for a Ship from 'Brazil'&lt;br /&gt;5. Display the First Name of the Reporting Manager of the Employee whose EmployeeID='9'&lt;br /&gt;6. Select the Employee who has the maximum Service Years&lt;br /&gt;7. Select the distinct Countries of the Customers for which the Employee serves whose EmployeeID='5'.&lt;br /&gt;8. Find the Seniormost Employee (like CEO) from the Employee Table&lt;br /&gt;9. Display the OrderDetails of the Orders which are placed in the October month of 1997&lt;br /&gt;10. Display the sum of the Freight Charges for each of the Employee from the Orders Table&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;Answers&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1.Select * from [Order Details] od,Orders o where o.OrderID=od.OrderID and CustomerID='ANATR'&lt;br /&gt;2.select count(ProductID) from [Order Details] od where ProductID=12&lt;br /&gt;3.select customerID from orders ta group by customerid having count(CustomerID) &gt;= ALL (select count(customerid) cou from orders group by customerid)&lt;br /&gt;4.select max(Freight) from Orders where ShipCountry='Brazil'&lt;br /&gt;5.select e2.firstname from employees e1,employees e2 where e2.employeeID=e1.ReportsTo and e1.EmployeeId=9&lt;br /&gt;6.select firstname from employees where hiredate=(select min(hiredate) from employees)&lt;br /&gt;7.select distinct(customers.country) from customers,orders,employees where customers.customerid=orders.customerid and orders.employeeid=employees.employeeid and employees.employeeid=5&lt;br /&gt;8.select firstname from employees where ReportsTo is null&lt;br /&gt;9.select * from [Order details],Orders where Orders.OrderId=[Order details].OrderId and Orders.OrderDate between '1997-10-01' and '1997-10-31'&lt;br /&gt;10.select sum(freight) from Orders Group by employeeId order by employeeID&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-9025135381242198514?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/9025135381242198514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=9025135381242198514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/9025135381242198514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/9025135381242198514'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/sql-queries.html' title='Sql Queries'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-6116644684474416103</id><published>2006-12-04T22:51:00.002-08:00</published><updated>2007-01-10T02:24:34.152-08:00</updated><title type='text'>5000 + Sample Resumes for fresher &amp; experienced</title><content type='html'>Hi friends,I have got this very much useful information. I would like to share with all.Are you confused what to write in a resume being a fresher? OR How to improve your resume being an experienced person?Here is my personal links which I use. You will find more then 5000+ resume samples in all the links below. So why wait… Start making / improving.&lt;br /&gt;&lt;a href="http://resume.monster.com/archives/samples"&gt;resume.monster.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://susanireland.com/resumeindex.htm"&gt;susanireland.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.jobweb.com/Resources/Library/Samples/default.htm"&gt;jobweb.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.resume-resource.com/"&gt;resume-resource.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.careeresumes.com/resume_samples.html"&gt;resume-resource.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.career.vt.edu/JOBSEARC/Resumes/formats.htm"&gt;career.vt.edu&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.resumesandcoverletters.com/sample_resumes.html"&gt;resumesandcoverletters.com&lt;/a&gt;&lt;br /&gt;Many resume formats on left side of the page&lt;br /&gt;.Download Resume formats&lt;br /&gt;&lt;a href="http://www.careerperfect.com/CareerPerfect/resumeExampleMain.htm"&gt;careerperfect.com&lt;/a&gt;&lt;br /&gt;For Freshers &lt;a href="http://www.quintcareers.com/resume_samples.html"&gt;quintcareers.com&lt;/a&gt;&lt;br /&gt;I hope this is useful to all&lt;br /&gt;&lt;a href="http://www.bestsampleresume.com/Download%20Resume%20formats"&gt;bestsampleresume.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.careerperfect.com/CareerPerfect/resumeExampleMain.htm"&gt;careerperfect.com&lt;/a&gt;&lt;br /&gt;For Freshers&lt;br /&gt;&lt;a href="http://www.quintcareers.com/resume_samples.html"&gt;quintcareers.com&lt;/a&gt;&lt;br /&gt;I hope this is useful to all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-6116644684474416103?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/6116644684474416103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=6116644684474416103' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6116644684474416103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6116644684474416103'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/5000-sample-resumes-for-fresher.html' title='5000 + Sample Resumes for fresher &amp; experienced'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-3300206905076416557</id><published>2006-12-04T22:51:00.001-08:00</published><updated>2006-12-04T22:51:33.441-08:00</updated><title type='text'>BizTalk Server in a nut shell</title><content type='html'>BizTalk Server is built completely around the .NET Framework and Microsoft Visual Studio® .NET. It also has native support for communicating through Web services, along with the ability to import and export business processes described in BPEL(Business Process Execution Language).It should be in the following scenarios:&lt;br /&gt;&lt;br /&gt;-- Connecting applications within a single organization, commonly referred to as enterprise application integration (EAI)-- Connecting applications in different organizations, often called business-to-business (B2B) integration-- Connecting applications within a single organization, commonly referred to as enterprise application integration (EAI)-- Connecting applications in different organizations, often called business-to-business (B2B) integrationFor further details luk into http://biztalkblogs.com/&lt;br /&gt;ample of articles and resources are available for BizTalk&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-3300206905076416557?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/3300206905076416557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=3300206905076416557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/3300206905076416557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/3300206905076416557'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/biztalk-server-in-nut-shell.html' title='BizTalk Server in a nut shell'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-4917576078574642233</id><published>2006-12-04T22:50:00.003-08:00</published><updated>2006-12-04T22:50:50.941-08:00</updated><title type='text'>Save an Image in a SQL Server Database</title><content type='html'>Most of the web applications have a lot of images used in it. These images are usually stored in a web server folder and they are accessed by giving the relative path to the file with respect to the root folder of the website. .Net being the platform for distributed application now, ASP.Net can be used to store images that are small to be stored in a database like SQL Server 2000 and later versions. For this purpose the SQL Server database provides a data type called â€œimageâ€ which is used to store images in the database.&lt;br /&gt;To access these images stored in the database we will be using the ADO.Net classes. To find out how to insert and retrieve an image in to the SQL Server database, you can create a .aspx page which can have a HTMLInputFile control which is used to select the image file that is to be saved in the database. You can also create a textbox control in which you can add the image name or some comment or an image id for the image saved. Use a button control to upload the image to the database. Namespaces like System.Data.SqlClient, System.Drawing, System.Data, System.IO, and System.Drawing.Imaging are used in this task.&lt;br /&gt;In the OnClick property of the button you can write the following code to upload an image to the database.&lt;br /&gt;// create a byte[] for the image file that is uploaded&lt;br /&gt;int imagelen = Upload.PostedFile.ContentLength; &lt;br /&gt;byte[] picbyte = new byte[imagelen]; &lt;br /&gt;Upload.PostedFile.InputStream.Read (picbyte, 0, imagelen); &lt;br /&gt;// Insert the image and image id into the database &lt;br /&gt;SqlConnection conn = new SqlConnection (@"give the connection string here..."); &lt;br /&gt;try { &lt;br /&gt;conn.Open (); &lt;br /&gt;SqlCommand cmd = new SqlCommand ("insert into ImageTable " + "(ImageField, ImageID) values (@pic, @imageid)", conn);&lt;br /&gt;cmd.Parameters.Add ("@pic", picbyte); &lt;br /&gt;cmd.Parameters.Add ("@imageid", lblImageID.Text); cmd.ExecuteNonQuery (); } &lt;br /&gt;finally { conn.Close (); } &lt;br /&gt;&lt;br /&gt;You can also write the above code in a function and call that function in the OnClick event of the upload button. The code given above performs the following steps in the process of inserting an image into the database.&lt;br /&gt;1. Get the content length of the image that is to be uploaded&lt;br /&gt;2. Create a byte[] to store the image&lt;br /&gt;3. Read the input stream of the posted file&lt;br /&gt;4. Create a connection object&lt;br /&gt;5. Open the connection object&lt;br /&gt;6. Create a command object&lt;br /&gt;7. Add parameters to the command object&lt;br /&gt;8. Execute the sql command using the ExecuteNonQuery method of the command object&lt;br /&gt;9. Close the connection object&lt;br /&gt;To retrieve the image from the SQL Database you can perform the following steps.&lt;br /&gt;1. Create a MemoryStream object. The code can be something like, MemoryStream mstream = new MemoryStream ();&lt;br /&gt;2. Create a Connection object&lt;br /&gt;3. Open the connection to the database&lt;br /&gt;4. Create a command object to execute the command to retrieve the image&lt;br /&gt;5. Use the command objectâ€™s ExecuteScalar method to retrieve the image&lt;br /&gt;6. Cast the output of the ExecuteScalar method to that of byte[] byte[] image = (byte[]) command.ExecuteScalar ();&lt;br /&gt;7. Write the stream mstream.Write (image, 0, image.Length);&lt;br /&gt;8. Create a bitmap object to hold the stream Bitmap bitmap = new Bitmap (stream);&lt;br /&gt;9. Set the content type to â€œimage/gifâ€ Response.ContentType = "image/gif";&lt;br /&gt;10. Use the Save method of the bitmap object to output the image to the OutputStream. bitmap.Save (Response.OutputStream, ImageFormat.Gif);&lt;br /&gt;11. Close the connection&lt;br /&gt;12. Close the stream mstream.Close();&lt;br /&gt;Using the above steps you can retrieve and display the image from the database to the web page.&lt;br /&gt;You can use these algorithms and take advantage of the â€œimageâ€ data type available in the SQLServer 2000 database to store small images that correspond to a particular record in the table of the database. This method of storing avoids the tedious task of tracking the path of the web folder if the images are stored in a web folder.&lt;br /&gt;&lt;br /&gt;Source : Balaji&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-4917576078574642233?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/4917576078574642233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=4917576078574642233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/4917576078574642233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/4917576078574642233'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/save-image-in-sql-server-database.html' title='Save an Image in a SQL Server Database'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-5383963886340299093</id><published>2006-12-04T22:50:00.001-08:00</published><updated>2006-12-04T22:50:23.225-08:00</updated><title type='text'>WebDesigning Ideas</title><content type='html'>Whenever a web designer gets a web design project, he or she will require to take a step back and go through the research process in order to complete the job. The research process is a tedious process, it determines how well, and successful will the result of your web design. Ideas for web design will share with you how to go through that research process smoothly and obtain results.&lt;br /&gt;One fine day, you received a call from some client and he requests you to design a website for his company. Over the phone, he briefly tells you what his company is about and asks about the prices, you then fixed an appointment with him for discussion. You will probably get excited about it and starts to get more details of the company by checking them on Google, and thinks about some prelim ideas for the website. At this stage, your research process has already started.&lt;br /&gt;RETREIVING THE DETAILS:&lt;br /&gt;After meeting up with the client, you get a lot of details that will assist you in your design process. This details applies even when you are designing a personal website.&lt;br /&gt;1. Nature of the Company&lt;br /&gt;2. Client Preferences (Example websites?)&lt;br /&gt;3. Target Audiences (kids? Young adults? Everyone in the world?)&lt;br /&gt;4. Platform (Flash? Html? Php? Asp? ).net ebooks, .net tutorials , vb.net , c#.net , .net framework books, asp.net&lt;br /&gt;By organizing these details, you get a bigger picture of:&lt;br /&gt;1. What are you going to design?&lt;br /&gt;2. What style of design are you approaching?&lt;br /&gt;3. Whom you should design for?&lt;br /&gt;4. How will your design work?&lt;br /&gt;5. How will your design please both the audiences and the client in order to be successful?&lt;br /&gt;DETERMINING THE STYLE:&lt;br /&gt;With the information you have on hand, its time to determine the style. For a start, you should base on the client’s description of his company, his nature of the company to give a rough gauge on the design style. Examples below:&lt;br /&gt;Example 1:&lt;br /&gt;Web Hosting business &gt;&gt; High tech web design, sleek and professional design&lt;br /&gt;Example 2:&lt;br /&gt;Dolls and Toys business &gt;&gt; Kiddy, Girly, Colorful, Fun design&lt;br /&gt;COLOR THEMES:&lt;br /&gt;Having a good and suitable color theme on your web design will give users a pleasing experience while surfing through the web site you designed. One of the important techniques is to get a color chart from your local art store or use some color chooser tools to aid in your color selection. Your color theme will affect the mood and feel you want to create. Colors also have their own meanings. For example, white is clean, blue is cool and corporate, having a white and blue color theme gives you a clean and corporate web design. Orange and yellow are warm and friendly colors, Grey is cool, combining a Orange-Grey theme will give you a friendly and fun mood. Dark colors are also popular among many, because they easily matched other bright colors. A common match is using a black background and light colored text as a combination.&lt;br /&gt;There are thousands and one meaning to choose your color theme. Whether your color theme turns out successful depends heavily on the first step “Determining the style” of your website.&lt;br /&gt;PHOTOS &amp; GRAPHICS:&lt;br /&gt;After getting the colors done, its time to think about the graphics and images. As a graphic says a thousand words, it is good to think about how you want to approach this portion. Here are some recommendations you can try:&lt;br /&gt;1. Stock photos – Some are free, some requires you to pay a certain amount before providing you with high resolutions image. If your client has the money and there are suitable photos he would like to use, this is the way to go. Searching in Google for “stock photos” will give you plenty of results on this.&lt;br /&gt;2. Take your own photos – When budget is involve, usually the project will require you to take a relevant photos and use them as supporting images on the website. Having a mid-range camera should do the trick as images for website are all on low resolution. Seldom there is a chance for you to use an image more than 640 x 480 pixels.&lt;br /&gt;3. Creating Graphics Images – A web design will always need custom-made graphics images. For example, icons for a Shoe section, button for submitting information. You will need some skills in creating the graphics of your needs, or you will feel stuck while designing. Consider looking for tutorials on creating certain effects, like rounded corners, Mac alike buttons, pattern backgrounds and more. Learn about vector graphics tool like Adobe Illustrator and Macromedia Fireworks. They can help you to create graphics, mockups and layout fast and efficiently. This will greatly aid in your next web design project.&lt;br /&gt;INSPIRATION AND REFERENCES:&lt;br /&gt;If you already have some inspiration on how to design the layout, great, but if you do not, consider looking at related websites for some references on how they are being done. A search in Google also reveals some websites of the same genre. You can also check out ready-made templatesas well. I am not teaching you to copy exactly, but as a new learner, you should take reference and see how they are being designed.&lt;br /&gt;Why bother looking at them?&lt;br /&gt;Reference sites will give you ideas on usability, color theme, ideas on relevant images, navigation, features and many more guides to work on your web design project. Always consider them as useful references to help you whenever you need inspiration and ideas for your web design. It is all about looking more, reading more and getting your eyes and brain more exposed to the web design styles. www.sitecritic.net has alot of website reviews by different web designers all over the world and is worth taking a look.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-5383963886340299093?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/5383963886340299093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=5383963886340299093' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/5383963886340299093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/5383963886340299093'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/webdesigning-ideas.html' title='WebDesigning Ideas'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-858126609594621136</id><published>2006-12-04T22:48:00.000-08:00</published><updated>2006-12-08T01:56:56.920-08:00</updated><title type='text'>Troubleshooting Common IIS Errors</title><content type='html'>&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/5d8a5d43-66f9-4185-8270-804d1dc4d4ca.asp"&gt;Debug Common IIS Errors&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-858126609594621136?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/858126609594621136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=858126609594621136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/858126609594621136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/858126609594621136'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/troubleshooting-common-iis-errors.html' title='Troubleshooting Common IIS Errors'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-2564082100225847134</id><published>2006-12-04T22:44:00.000-08:00</published><updated>2006-12-04T22:45:58.583-08:00</updated><title type='text'>Want your C# Win Forms Applications to look like Windows XP buttons</title><content type='html'>Dear Friends,&lt;br /&gt;         Want your Applications to look like Windows XP buttons and so on...Justadd the following line of Code to achieve theming in your winform applicationsC#In the Application Initialization event And apply the System Property of Flat Style in the properties of the respective control.&lt;br /&gt;{&lt;br /&gt;Enter the following codeApplication.EnableVisualStyles();&lt;br /&gt;Application.DoEvents();&lt;br /&gt;Application.Run (New Form1);&lt;br /&gt;}&lt;br /&gt;VBPublic Shared Sub Main()&lt;br /&gt;Application.EnableVisualStyles()&lt;br /&gt;Application.DoEvents()&lt;br /&gt;End Sub&lt;br /&gt;Thats it and your apps will have the look and feel like XP :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-2564082100225847134?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/2564082100225847134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=2564082100225847134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2564082100225847134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2564082100225847134'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/want-your-c-win-forms-applications-to.html' title='Want your C# Win Forms Applications to look like Windows XP buttons'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-6864338895680006006</id><published>2006-12-04T22:34:00.001-08:00</published><updated>2006-12-04T22:42:15.712-08:00</updated><title type='text'>Send Mail using CDONTS</title><content type='html'>CDO is microsoft inbuild component to send EMail,&lt;br /&gt;To send a mail firts add a reference(Project-&gt; Add Reference -&gt; in the COM tab choose the microsoft CDO library)&lt;br /&gt;then use the below code.&lt;br /&gt;&lt;br /&gt;Dim oMsg As CDO.Message = New CDO.Message&lt;br /&gt;oMsg.From = strFrom&lt;br /&gt;oMsg.To = strTo&lt;br /&gt;oMsg.Subject = strSub&lt;br /&gt;strBody = "email"&lt;br /&gt;oMsg.TextBody = strBody&lt;br /&gt;oMsg.Send()&lt;br /&gt;oMsg = Nothing&lt;br /&gt;&lt;br /&gt;Using this tyou can send a mail with SMTP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-6864338895680006006?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/6864338895680006006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=6864338895680006006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6864338895680006006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6864338895680006006'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/12/send-mail-using-cdonts_04.html' title='Send Mail using CDONTS'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-153643780738849731</id><published>2006-11-24T01:18:00.000-08:00</published><updated>2006-12-04T05:47:03.612-08:00</updated><title type='text'>Using the registry from a VB.Net application</title><content type='html'>&lt;h1&gt;&lt;span style="font-size:85%;"&gt;Creating the demo project&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;  &lt;p&gt;If you want to build this demo yourself, start by creating a user interface looking like the image you see here. Don't forget that a complete demo is available for download at the end of this article. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;At the top of the code in your form, you need to add the line to imports the namespace: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;Imports Microsoft.Win32&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h2&gt;&lt;span style="font-size:85%;"&gt;Adding values to the registry&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;  &lt;p&gt;The code needed to create a key into the registry and place some values in it is very simple (this code can be placed into the Click event of a button): &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;Dim oReg As RegistryKey&lt;br /&gt;oReg = Registry.LocalMachine.OpenSubKey("Software", True)&lt;br /&gt;oReg = oReg.CreateSubKey("UTMagDemo")&lt;br /&gt;oReg.SetValue(txtName.Text, txtValue.Text)&lt;br /&gt;oReg.Close()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;The code starts by opening the Software key of the HKEY_LOCAL_MACHINE registry hive. Notice that all the hives are available (LocalMachine and CurrentUser are probably the ones you will most often use). The second parameter means that you are opening this key and that you will later write in it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Once the Software key is opened, the UTMagDemo sub key is created in it. If this key already exists, nothing happens. No exceptions are raised. The key content will remain untouched. Notice that you can create a complete hierarchy in a single call (ie oReg.CreateSubKey("UTMagDemo\\Level1\\Level2\\Level3") is correct). Don't ask me why all the backslashes are doubled. Even if you put only one, it will be working. Even a mix of single and double backslashes is working (according to my own tests). It may have something to do with C# since the backslash is an escape character in C# (but has no impact in VB.Net). If you find out why, drop me a line! &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;The next line adds a new value to the sub key just created. If you let the Name parameter empty (or you set it to Nothing), the value will be saved in the (Default) key name. If you provide a value for a name that exists, the value is simply replaced without warnings. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;The last line is closing the key we opened. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Many exceptions may be triggered while trying to write to the registry. The most encountered are: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;The user does not have      permissions to create registry keys. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The key name cannot exceeds      255 characters &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The key is closed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The key is read-only.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;h2&gt;&lt;span style="font-size:85%;"&gt;&lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;Reading&lt;/st1:city&gt;&lt;/st1:place&gt; the value back&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;  &lt;p&gt;Many of the lines needed to read from the registry are the same as the ones we used to write: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;Dim oReg As RegistryKey&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;Dim strValue As String&lt;br /&gt;oReg = Registry.LocalMachine.OpenSubKey("Software\\UTMagDemo")&lt;br /&gt;strValue = oReg.GetValue(txtName.Text, "DEFAULT-VALUE").ToString&lt;br /&gt;MessageBox.Show(strValue, _&lt;br /&gt;&lt;span style=""&gt; &lt;/span&gt;"Stored Registry Value", _&lt;br /&gt;MessageBoxButtons.OK, _MessageBoxIcon.Information)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;oReg.Close()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p class="MsoNormal"&gt;The code starts by opening the sub key we created in the previous sample. One thing you really need to check (and it is not done here – but it is done into the downloadable demo) is if the oReg is Nothing after the call of the OpenSubKey method. This indicates that the key you passed to the method does not exist. No exceptions are raised when this occurs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;The following line uses GetValue to retrieve the value with the Name parameter. Again, if you let the Name parameter empty (or you set it to Nothing), the value in the (Default) key name will be retrieved. If the Name does not exist, the default value (if you provide one) will be returned. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;The last line is closing the key we opened. &lt;/p&gt;  &lt;p&gt;any exceptions may be triggered while trying to write to the registry. The most encountered are: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;The user does not have      permissions to create registry keys. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The key name cannot exceeds      255 characters &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The key is closed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The key is read-only. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;h2&gt;&lt;span style="font-size:85%;"&gt;Wiping out our stuff&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;  &lt;p&gt;The Delete method has 3 flavors: &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;u&gt;DeleteValue&lt;/u&gt; deletes a      single value (using the Name parameter to specify which one to delete). &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;u&gt;DeleteSubKey&lt;/u&gt; deletes a      complete key and all the values it contains in a single shot (but raises      an exception if it contains sub keys). &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal"  style="color:blue;"&gt;&lt;u&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;DeleteSubKeyTree&lt;/span&gt;&lt;/u&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; deletes a complete key and all the values it      contains as well as &lt;/span&gt;&lt;span style="color:black;"&gt;all sub keys in a      single shot. The code I use for this demo is the following&lt;/span&gt;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;Dim oReg As RegistryKey&lt;br /&gt;oReg = Registry.LocalMachine.OpenSubKey("Software", True)&lt;br /&gt;oReg.DeleteSubKey("UTMagDemo")&lt;br /&gt;oReg.Close()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h1&gt;&lt;span style="font-size:85%;"&gt;Retrieving file type of a file extension&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;  &lt;p&gt;This other example shows how to retrieve the file type from a file extension. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:blue;"&gt;Dim oReg As RegistryKey&lt;br /&gt;Dim strIndexerKey As String&lt;br /&gt;Dim strType As String&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;'Opens the key to retrieve the class name&lt;br /&gt;oReg = Registry.ClassesRoot.OpenSubKey(txtFileExtension.Text)&lt;br /&gt;If oReg Is Nothing Then&lt;br /&gt;&lt;span style=""&gt; &lt;/span&gt;MessageBox.Show("The file extension " &amp; _&lt;br /&gt;  txtFileExtension.Text &amp;amp; _&lt;br /&gt;  " is unknown.", _&lt;br /&gt;  "File Type", _&lt;br /&gt;  MessageBoxButtons.OK, _&lt;br /&gt;  MessageBoxIcon.Information)&lt;br /&gt;Exit Sub&lt;br /&gt;End If&lt;br /&gt;strIndexerKey = oReg.GetValue("").ToString&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;'Opens the class name to retrieve the file type&lt;br /&gt;oReg = Registry.ClassesRoot.OpenSubKey(strIndexerKey)&lt;br /&gt;strType = oReg.GetValue("", "").ToString&lt;br /&gt;MessageBox.Show("The file extension " &amp; _&lt;br /&gt; txtFileExtension.Text &amp;amp; _&lt;br /&gt; " is a " &amp;amp; strType, _&lt;br /&gt; "File Type", _&lt;br /&gt; MessageBoxButtons.OK, _&lt;br /&gt; MessageBoxIcon.Information)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;'Close the registry keys.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:blue;"&gt;oReg.Close()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-153643780738849731?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/153643780738849731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=153643780738849731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/153643780738849731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/153643780738849731'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/11/using-registry-from-vbnet-application.html' title='Using the registry from a VB.Net application'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-6153273338480420171</id><published>2006-11-22T05:14:00.000-08:00</published><updated>2006-11-24T01:32:55.213-08:00</updated><title type='text'>XML Integration</title><content type='html'>&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is the version information in XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is ROOT element in XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;If XML does not have closing tag will it work? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;Is XML case sensitive? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What’s the difference between XML and HTML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;Is XML meant to replace HTML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;Can you explain why your project needed XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is DTD (Document Type definition)? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is well formed XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is a valid XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is CDATA section in XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is CSS? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is XSL? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is Element and attributes in XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;Can we define a column as XML? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;How do we specify the XML data type as typed or untyped? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;How can we create the XSD schema? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;How do I insert in to a table which has XSD schema attached to it? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is maximum size for XML datatype? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is Xquery? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What are XML indexes? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What are secondary XML indexes? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is FOR XML in SQL Server? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;Can I use FOR XML to generate SCHEMA of a table and how? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is the OPENXML statement in SQL Server? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;I have huge XML file which we want to load in database? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;How to call stored procedure using HTTP SOAP? &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:times new roman;" &gt;What is XMLA ?  &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-6153273338480420171?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/6153273338480420171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=6153273338480420171' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6153273338480420171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/6153273338480420171'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/11/xml-integration.html' title='XML Integration'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-2254498540590650376</id><published>2006-11-22T04:49:00.000-08:00</published><updated>2006-11-24T01:33:36.215-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Basic .NET and ASP.NET interview questions'/><title type='text'>Basic .NET and ASP.NET interview questions</title><content type='html'>&lt;ol style="color: rgb(153, 102, 51);" type="1"&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;Explain the .NET    architecture.&lt;/b&gt; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;How many languages    .NET is supporting now?&lt;/b&gt; - When .NET was introduced it came with    several languages. &lt;a href="http://vb.net/" target="_blank"&gt;VB.NET&lt;/a&gt;, C#, COBOL and Perl, etc. The site DotNetLanguages.Net &lt;/span&gt;&lt;a href="http://www.dotnetlanguages.net/DNL/Resources.aspx" target="_blank"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;u&gt;says 44 languages    are supported&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;How is .NET able    to support multiple languages?&lt;/b&gt; - a language should comply with the    Common Language Runtime standard to become a .NET language. In .NET,    code is compiled to Microsoft Intermediate Language (MSIL for short).    This is called as Managed Code. This Managed code is run in .NET environment.    So after compilation to this IL the language is not a barrier. A code    can call or use a function written in another language. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;How ASP .NET    different from ASP?&lt;/b&gt; - Scripting is separated from the HTML, Code    is compiled as a DLL, these DLLs can be executed on the server. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;Resource Files:    How to use the resource files, how to know which language to use?&lt;/b&gt; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;What is smart    navigation?&lt;/b&gt; - The cursor position is maintained when the page gets    refreshed due to the server side validation and the page gets refreshed. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;What is view    state?&lt;/b&gt; - The web is stateless. But in &lt;a href="http://asp.net/" target="_blank"&gt;ASP.NET&lt;/a&gt;, the state of a page    is maintained in the in the page itself automatically. How? The values    are encrypted and saved in hidden controls. this is done automatically    by the &lt;a href="http://asp.net/" target="_blank"&gt;ASP.NET&lt;/a&gt;. This can be switched off / on for a single control &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;Explain the life    cycle of an ASP .NET page.&lt;/b&gt; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;How do you validate    the controls in an ASP .NET page?&lt;/b&gt; - Using special validation controls    that are meant for this. We have Range Validator, Email Validator. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;Can the validation    be done in the server side? Or this can be done only in the Client side?&lt;/b&gt;    - Client side is done by default. Server side validation is also possible.    We can switch off the client side and server side can be done. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;How to manage    pagination in a page?&lt;/b&gt; - Using pagination option in DataGrid control.    We have to set the number of records for a page, then it takes care    of pagination by itself. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;b&gt;What is ADO    .NET and what is difference between ADO and &lt;a href="http://ado.net/" target="_blank"&gt;ADO.NET&lt;/a&gt;?&lt;/b&gt; - &lt;a href="http://ado.net/" target="_blank"&gt;ADO.NET&lt;/a&gt; is    stateless mechanism. I can treat the ADO.Net as a separate in-memory    database where in I can use relationships between the tables and select    insert and updates to the database. I can update the actual database    as a batch. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: rgb(153, 102, 51);"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 102, 51);"&gt;  &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-2254498540590650376?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/2254498540590650376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=2254498540590650376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2254498540590650376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/2254498540590650376'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/11/basic-net-and-aspnet-interview.html' title='Basic .NET and ASP.NET interview questions'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6786428453847734426.post-8517878982370221702</id><published>2006-11-21T23:22:00.000-08:00</published><updated>2006-11-21T23:25:25.107-08:00</updated><title type='text'>inviting-dotnet-people</title><content type='html'>&lt;p&gt;Hai guys,I am Arunachalam. Working as developer in Gl infotech. I am doing my projects in ASP.net, C#, SQL Server2000 &amp; MS Access. Am inviting people who want to share their ideas &amp;amp; their doubts in dotnet &amp;amp; SQL Server.Lets have passion about Dotnet.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Arun&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6786428453847734426-8517878982370221702?l=arun-dotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arun-dotnet.blogspot.com/feeds/8517878982370221702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6786428453847734426&amp;postID=8517878982370221702' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/8517878982370221702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6786428453847734426/posts/default/8517878982370221702'/><link rel='alternate' type='text/html' href='http://arun-dotnet.blogspot.com/2006/11/inviting-dotnet-people.html' title='inviting-dotnet-people'/><author><name>Arun</name><uri>http://www.blogger.com/profile/01731625460387089382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/-j0gXxrZUPzQ/TnsjI3gEYeI/AAAAAAAAAXY/OpErHEOsGoQ/s220/Zk02p08.jpg'/></author><thr:total>2</thr:total></entry></feed>
