<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8245232030106985674</atom:id><lastBuildDate>Fri, 01 Nov 2024 06:36:27 +0000</lastBuildDate><category>Tutorials</category><category>General</category><category>vb.net</category><category>Introduction to dot net</category><category>Tips for asp.net</category><category>registry</category><category>Asp basics</category><category>PHP</category><category>Software Development</category><category>Web hosting</category><category>dot net</category><category>errors</category><category>functions</category><category>sql</category><title>Dot Net tutorials and code source</title><description>Dot Net Tutorials and ready to use Code sources and projects</description><link>http://thedotnetsource.blogspot.com/</link><managingEditor>noreply@blogger.com (Mozie)</managingEditor><generator>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-887908390985466524</guid><pubDate>Fri, 21 Jan 2011 19:19:00 +0000</pubDate><atom:updated>2011-01-21T11:20:49.228-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PHP</category><title>Requirements essential for learning this programming language, PHP Training Objectives, Prerequisites For Training and Course Details</title><description>The recent boom in field of Information Technology has seen a steep rise in the demand of trained professionals in PHP and MySQL. Software companies specializing in php mysql web development are always searching for skilled professionals for recruitment in several important projects. The current supply of PHP experts is much below par, in terms of potential growth in the industry.&lt;br /&gt;&lt;br /&gt;To train the educated work force in this regard various MySQL and PHP training courses have been developed. These courses provide elaborate training to the professionals for developing website with the usage of these languages. &lt;br /&gt;&lt;br /&gt;PHP Training Objectives&lt;br /&gt;&lt;br /&gt;Two main objectives of php and mysql web development program are:&lt;br /&gt;&lt;br /&gt;• To develop skills to create interactive and data-driven sites&lt;br /&gt;&lt;br /&gt;• Skill development for database creation in MySQL programming&lt;br /&gt;&lt;br /&gt;Prerequisites For Training&lt;br /&gt;&lt;br /&gt;The most important criteria for acquiring PHP training is thorough knowledge of HTML. The course should focus on any level in programming for teaching database creation.     &lt;br /&gt;&lt;br /&gt;On the other hand there are courses for fresher in the field of php and mysql web development. Some institutes like Indus Net Academy, has launched ACE Web Developer course with the aim of teaching real applications in PHP and MySQL. These courses are beneficial for creating awareness among candidates about programming language. &lt;br /&gt;&lt;br /&gt;Course Details&lt;br /&gt;&lt;br /&gt;Once you get enrolled into these training courses you can acquire knowledge in areas like PHP Programming Fundamentals, Strings Functions, Arrays Functions, HTML/CSS and Forms, File Handling and Email Handling in PHP, Object Oriented PHP and Session Handling etc. On the other hand, the ACE Web Developer course emphasizes on other programming languages such as MySQL Basics, Extended PHP, OOPS in PHP 5, Exception handling in PHP 5, XML / SOAP etc. &lt;br /&gt;&lt;br /&gt;Another vital aspect of these php mysql development courses are; 70% hands-on and 30% lecture ratio, as far as the training part of the course are concerned. By engaging the students in live projects the courses ensure that the students have a thorough understanding of the actual application of such programming languages. &lt;br /&gt;&lt;br /&gt;So if you have some knowledge about HTML, then you can get online training as well as work as a freelancer for php mysql web development. Some of the requirements essential for learning this programming language are:&lt;br /&gt;&lt;br /&gt;• A personal computer at home&lt;br /&gt;• Linux, Windows, MacOS X, or Solaris operating system&lt;br /&gt;• Web server (either Apache httpd or Microsoft IIS)&lt;br /&gt;• PHP 5 or later with the PEAR extensions enabled&lt;br /&gt;• MySQL 4.1 or later (5 or later recommended)&lt;br /&gt;• Internet Explorer 6 or Firefox 2&lt;br /&gt;&lt;br /&gt;PHP programmers can now get quality work through the Internet from the freelancing websites. It is an open source language and is free to install and use. This is the main reason for the increase in the popularity of this language.</description><link>http://thedotnetsource.blogspot.com/2011/01/requirements-essential-for-learning.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-1601314778150710770</guid><pubDate>Fri, 07 May 2010 15:52:00 +0000</pubDate><atom:updated>2010-05-07T08:53:48.537-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><title>Credit card counseling</title><description>You may have seen the commercials on TV &quot;Freedom Debt Relief&quot; and credit card counseling. These services allow helping you control your life to get back by offering credit card &lt;a href=&quot;http://www.debtconsolidation3.com/debt-articles/20-ways-to-become-debt-free/&quot;&gt;debt free&lt;/a&gt; reduction. In some cases they may even be able to repair your credit to some extent. In fact, the &lt;a href=&quot;http://www.debtconsolidation3.com/personal-finances/tips-for-selecting-a-debt-consolidation-company/&quot;&gt;debt consolidation&lt;/a&gt; has become a 7 billion U.S. dollars a year industry, but how do you know that the debt / credit repair scam or legitimate business?&lt;br /&gt;&lt;br /&gt;Ten years ago, the National Foundation for Credit Counseling and its affiliates in Consumer Credit Counseling Services Credit card counseling dominated the scene. She worked with the plan to repay creditors, debt settlement and to negotiate lower rates for those who slip behind. However, the increase in consumer debt prompted hundreds of start-ups were as savvy in the world of advertising if they were credit repair scams.&lt;br /&gt;&lt;br /&gt;Some of the competitors, who were often called &quot;debt settlement specialists,&quot; charged large upfront fees for multiple creditor’s mere pennies on the dollar. Often, people pay as much as $ 3000 off-the-bat to their accounts up to date, only to find that the colonists had no debt to repay their creditors at all! Finding a legitimate business, it is recommended that you verify their identity through the Better Business Bureau and the stick with one of the famous, non-profit organizations such as the NFCC and CCCS said and &lt;a href=&quot;http://www.debtconsolidation3.com/interesting-articles/40-ways-to-get-out-of-debt/&quot;&gt;get out of debt&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In dealing with credit card counseling services, research the company before signing up. You needn&#39;t pay exorbitant advance for most legitimate businesses. Consumer Credit Counseling Services, for example, only costs a $ 10 set-up fee. If the company isn&#39;t joined the National Foundation for Credit Counseling or the Association of Independent Consumer Credit Counseling Agencies, may be a scam.&lt;br /&gt;&lt;br /&gt;If you find yourself delayed or missed payments within the first month of service, then get out, because there may be money from your pocket. Also beware of false promises to your debts for little or no money to arrange. If you&#39;ve missed several payments over a long period of time, then you&#39;re going to a low credit score for the next year or two. The information will remain on your record for seven years after the initial delinquency, so patience is needed to restore your credit.&lt;br /&gt;&lt;br /&gt;&quot;People faced with credit card debt is not their financial problems and can not be resolved so they are leaving,&quot; said Ben Woolsey, director of consumer research for the &quot;Credit Card &quot;. In a recent study 35% of cardholders who carry a balance on their credit cards and 15% said they&#39;ve had some trouble making payments. Credit card counseling is a good way out of the cycle of denial and ignorance, Woolsey added. Many people would rather talk about something other than personal finance. A credit repair company debt or supervisor will put everything on the table, setting up an agenda and identify hotspots.</description><link>http://thedotnetsource.blogspot.com/2010/05/credit-card-counseling.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-6439402163398656118</guid><pubDate>Wed, 28 Apr 2010 15:10:00 +0000</pubDate><atom:updated>2010-04-28T08:11:54.188-07:00</atom:updated><title>Dot Net Questions: COM - DCOM - COM+</title><description>The dot net frameworks allow you to build serviced components that can use com+ services. These components of dot net framework runs in the manages execution environment of dot net framework that is share their content with com+ application.&lt;br /&gt;&lt;br /&gt;Now the question arise what com+ and what is doing how is its comes in existence. Before com+ comes into existence. COM (Component Object Model) is first programming model that provide component based approach to software development. This component based approach of com allowed us to develop small, logical reusable and stand alone modules that integrates into a single application. But these components could not be display on over network.&lt;br /&gt;&lt;br /&gt;So these drawback produce another model that is DCOM (distributes COM). DCOM programming model enabled you to display com components over network and distribute application easily across platforms. DCOM components also help in two-tier client/server applications. These models also have some drawback that helps to development of COM+ approach. What these drawbacks are…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;These two-tier architecture helps us to sharing of resources and data but these approach have some drawbacks that are as follows.&lt;br /&gt;&lt;br /&gt;The DCOM approach overburdened client computer with the responsibility of performing all processing functions while the server merely acted as traffic controller, helps movement of data to and from the client and server components. So availability of resources was therefore, always a problem and the performance of application suffered. Multiple request of data cause to network traffic. So performance of application decreases.&lt;br /&gt;&lt;br /&gt;Dot Net Interview Questions - Dot Net FAQ&lt;br /&gt;&lt;br /&gt;After all these Microsoft introduced windows DNA(Windows Distributed internet applications) architecture that overcomes the shortcoming of the two-tier system. The windows DNA helps us to develop three-tier application architecture which helps us to maintain the business logic and data access code in separate components that is business objects. These separate the client application from the business logic and data access code so no need of recompiling and redeveloping client application after change in code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Know more about dot net questions and COM - DCOM.</description><link>http://thedotnetsource.blogspot.com/2010/04/dot-net-questions-com-dcom-com.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-623799872587469109</guid><pubDate>Thu, 22 Apr 2010 21:15:00 +0000</pubDate><atom:updated>2010-04-22T14:18:55.640-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Asp basics</category><title>Basic ASP NET programming tips</title><description>ASP net programming is a web application developed by Microsoft. It is a powerful web application that allows programmers to build dynamic websites, web services and web applications.&lt;br /&gt;&lt;br /&gt;There are two important things to note about ASP. It is not a programming language, but a technology that allows a web application development . The action involved in this technology takes place on the server and not the personal computer. When on a server, it can interpret different programming languages including JavaScript, PerlScript and VBScript. It is also possible to mix these languages on the same ASP web page framework in order to obtain better results.&lt;br /&gt;&lt;br /&gt;In order to get started with it, you need a web server and a .NET framework. Make sure the web server supports the .NET framework. It can wither be Microsoft IIS (Internet Information Services) or an Apache 2 with mod_aspdotnet in it. Once the web server has bee set up, you need to consider the text editor you would use. Notepad on Windows or Emacs on Linux are good editor choices. Of late, Notepad ++ has been used extensively since it has enhanced features like syntax highlighting, enables FTP and an integrated word count function as well.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the series of steps in creating a simple ASP.NET web page:&lt;br /&gt;• Choose and define the language you want to use on the framework. Typically it is C# or VB.&lt;br /&gt;• Next, create a HTML form.&lt;br /&gt;• Ping this form to the server you want to use.&lt;br /&gt;• Any processing on the server should be carried out.&lt;br /&gt;• Return the necessary results to the client according to their requirements.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am working as an asp net programmer in an&lt;br /&gt;offshore web development company. &lt;a href=&quot;http://www.indiansoftwareoutsourcing.com/offshore-it-staffing-services/hire-aspnet-programmer.php&quot;&gt;ASP NET programming&lt;/a&gt; is one of my interests and I like to educate public about it through my articles.</description><link>http://thedotnetsource.blogspot.com/2010/04/basic-asp-net-programming-tips.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-5095582607092351618</guid><pubDate>Thu, 04 Mar 2010 09:25:00 +0000</pubDate><atom:updated>2010-03-04T01:34:08.358-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Web hosting</category><title>Why is 24/7 Customer Service Important?</title><description>One of the main things that I would recommend when it comes to look at your next/first &lt;a href=&quot;http://www.cheapwebhosting.org/&quot;&gt;cheap web hosting&lt;/a&gt; company is one that offers 24/7 customer support. You shouldn’t have a problem in finding a company that does offer this because many hosting companies recognize how important this is. The reason it is important is because of time differences Its all very well at signing up to a company that offer support 9am-5pm but if that’s for an American company that’s not going to be very helpful if your are in the UK. 9am in American can range from 1pm to around 5pm in England. If your web hosting is down or you need some support, its not going to be very helpful waiting until the afternoon before you can get some help. If your website is down then you are losing money as no one can get to your site. Also if a new person visits and your website isn’t working then the chances of them coming back are very slim, so you are affecting your future traffic too. For this reason you want a company that will be there to fix it, no matter the time of day!</description><link>http://thedotnetsource.blogspot.com/2010/03/why-is-247-customer-service-important.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-4053323874285369065</guid><pubDate>Thu, 18 Feb 2010 11:02:00 +0000</pubDate><atom:updated>2010-02-18T03:05:00.310-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">dot net</category><category domain="http://www.blogger.com/atom/ns#">Tips for asp.net</category><title>Dot Net Remoting In Dot Net Questions</title><description>Remoting helps in communication between two or more application. It does not matter whether it is on same computer or on different computers and it is also possible that both are using different operating system. The dot net remoting helps in number of services such as control on the lifetime of objects and also helps in transporting message in different objects using communication channels. Communication channels helps in transport message in between the remote objects.&lt;br /&gt;&lt;br /&gt;When any messages are sent with communication channels are encoded and after this decoded with the help of dot net serialization formatters these are binary and soap. These are two kinds of encoding possible just like binary and xml encoding. Both of these have different users. Binary encoding helps full where performance is first requirement. Xml coding helps where interoperability is required.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dot net remoting enables to perform communication between different object by using number of transportation protocols such as HTP and TCP/IP.&lt;br /&gt;&lt;br /&gt;Dot net remoting system allows client to call objects in remoting boundaries. This boundary includes application domains, and processes in computer. To communicate between server objects and client objects we need to use object reference of server objects in client application in dot net Remoting. When we create a instance of remote objects using new keyword client get a reference to this server objects. After getting this reference client can call methods on server objects this object resides in client’s process not on different computer.&lt;br /&gt;&lt;br /&gt;Dot net remoting proxy objects to allow the client process to get server objects. When we create instance of remoting objects dot net remoting creates a proxy object and send this to client application.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For more info on Dot Net Interview Questions and Dot Net Questions visit &lt;a href=&quot;http://www.dotnetquestion.info/&quot;&gt;dotnetquestion.info&lt;/a&gt;</description><link>http://thedotnetsource.blogspot.com/2010/02/dot-net-remoting-in-dot-net-questions.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-342497450901149227</guid><pubDate>Sun, 31 Jan 2010 11:47:00 +0000</pubDate><atom:updated>2010-01-31T03:50:06.902-08:00</atom:updated><title>The Java Programming Language</title><description>Java - an island of Indonesia, a type of coffee, and a programming language. Three very different meanings, each in varying degrees of importance. Most programmers, though, are interested in the Java programming language. In just a few short years (since late 1995), Java has taken the software community by storm. Its phenomenal success has made Java the fastest growing programming language ever. There&#39;s plenty of hype about Java, and what it can do. Many programmers, and end-users, are confused about exactly what it is, and what Java offers.&lt;br /&gt;Java is a revolutionary language&lt;br /&gt;&lt;br /&gt;The properties that make Java so attractive are present in other programming languages. Many languages are ideally suited for certain types of applications, even more so than Java. But Java brings all these properties together, in one language. This is a revolutionary jump forward for the software industry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let&#39;s look at some of the properties in more detail: -&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;object-oriented&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;portable&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;multi-threaded&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;automatic garbage collection&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;secure&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;network and &quot;Internet&quot; aware&lt;br /&gt;*&lt;br /&gt;&lt;br /&gt;simplicity and ease-of-use&lt;br /&gt;&lt;br /&gt;Object-oriented&lt;br /&gt;&lt;br /&gt;Many older languages, like C and Pascal, were procedural languages. Procedures (also called functions) were blocks of code that were part of a module or application. Procedures passed parameters (primitive data types like integers, characters, strings, and floating point numbers). Code was treated separately to data. You had to pass around data structures, and procedures could easily modify their contents. This was a source of problems, as parts of a program could have unforeseen effects in other parts. Tracking down which procedure was at fault wasted a great deal of time and effort, particularly with large programs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In some procedural language, you could even obtain the memory location of a data structure. Armed with this location, you could read and write to the data at a later time, or accidentally overwrite the contents.&lt;br /&gt;&lt;br /&gt;Java is an object-oriented language. An object-oriented language deals with objects. Objects contain both data (member variables) and code (methods). Each object belongs to a particular class, which is a blueprint describing the member variables and methods an object offers. In Java, almost every variable is an object of some type or another - even strings. Object-oriented programming requires a different way of thinking, but is a better way to design software than procedural programming.&lt;br /&gt;&lt;br /&gt;There are many popular object-oriented languages available today. Some like Smalltalk and Java are designed from the beginning to be object-oriented. Others, like C++, are partially object-oriented, and partially procedural. In C++, you can still overwrite the contents of data structures and objects, causing the application to crash. Thankfully, Java prohibits direct access to memory contents, leading to a more robust system.&lt;br /&gt;Portable&lt;br /&gt;&lt;br /&gt;Most programming languages are designed for a specific operating system and processor architecture. When source code (the instructions that make up a program) are compiled, it is converted to machine code which can be executed only on one type of machine. This process produces native code, which is extremely fast.&lt;br /&gt;&lt;br /&gt;Another type of language is one that is interpreted. Interpreted code is read by a software application (the interpreter), which performs the specified actions. Interpreted code often doesn&#39;t need to be compiled - it is translated as it is run. For this reason, interpreted code is quite slow, but often portable across different operating systems and processor architectures.&lt;br /&gt;&lt;br /&gt;Java takes the best of both techniques. Java code is compiled into a platform-neutral machine code, which is called Java bytecode. A special type of interpreter, known as a Java Virtual Machine (JVM), reads the bytecode, and processes it. Figure One shows a disassembly of a small Java application. The bytecode, indicated by the arrow, is represented in text form here, but when compiled it is represented as bytes to conserve space.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Figure One - Bytecode disassembly for &quot;HelloWorld&quot;&lt;br /&gt;&lt;br /&gt;The approach Java takes offers some big advantages over other interpreted languages. Firstly, the source code is protected from view and modification - only the bytecode needs to be made available to users. Secondly, security mechanisms can scan bytecode for signs of modification or harmful code, complimenting the other security mechanisms of Java. Most of all though, it means that Java code can be compiled once, and run on any machine and operating system combination that supports a Java Virtual Machine (JVM). Java can run on Unix, Windows, Macintosh, and even the Palm Pilot. Java can even run inside a web browser, or a web server. Being portable means that the application only has to be written once - and can then execute on a wider range of machines. This saves a lot of time, and money.&lt;br /&gt;Multi-threaded&lt;br /&gt;&lt;br /&gt;If you&#39;ve ever written complex applications in C, or PERL, you&#39;ll probably have come across the concept of multiple processes before. An application can split itself into separate copies, which run concurrently. Each copy replicates code and data, resulting in increased memory consumption. Getting the copies to talk together can be complex, and frustrating. Creating each process involves a call to the operating system, which consumes extra CPU time as well.&lt;br /&gt;&lt;br /&gt;A better model is to use multiple threads of execution, referred to as threads for short. Threads can share data and code, making it easier to share data between thread instances. They also use less memory and CPU overhead. Some languages, like C++, have support for threads, but they are complex to use. Java has support for multiple threads of execution built right into the language. Threads require a different way of thinking, but can be understood very quickly. Thread support in Java is very simple to use, and the use of threads in applications and applets is quite commonplace.&lt;br /&gt;Automatic garbage collection&lt;br /&gt;&lt;br /&gt;No, we&#39;re not talking about taking out the trash (though a computer that could literally do that would be kind of neat). The term garbage collection refers to the reclamation of unused memory space. When applications create objects, the JVM allocates memory space for their storage. When the object is no longer needed (no reference to the object exists), the memory space can be reclaimed for later use.&lt;br /&gt;&lt;br /&gt;Languages like C++ force programmers to allocate and deallocate memory for data and objects manually. This adds extra complexity, but also causes another problem - memory leaks. When programmers forget to deallocate memory, the amount of free memory available is decreased. Programs that frequently create and destroy objects may eventually find that there is no memory left. In Java, the programmer is free from such worries, as the JVM will perform automatic garbage collection of objects.&lt;br /&gt;Secure&lt;br /&gt;&lt;br /&gt;Security is a big issue with Java. Since Java applets are downloaded remotely, and executed in a browser, security is of great concern. We wouldn&#39;t want applets reading our personal documents, deleting files, or causing mischief. At the API level, there are strong security restrictions on file and network access for applets, as well as support for digital signatures to verify the integrity of downloaded code. At the bytecode level, checks are made for obvious hacks, such as stack manipulation or invalid bytecode. The strong security mechanisms in Java help to protect against inadvertent or intentional security violations, but it is important to remember that no system is perfect. The weakest link in the chain is the Java Virtual Machine on which it is run - a JVM with known security weaknesses can be prone to attack. It is also worth noting that while there have been a few identified weaknesses in JVMs, they are rare, and usually fixed quickly.&lt;br /&gt;Network and &quot;Internet&quot; aware&lt;br /&gt;&lt;br /&gt;Java was designed to be &quot;Internet&quot; aware, and to support network programming. The Java API provides extensive network support, from sockets and IP addresses, to URLs and HTTP. It&#39;s extremely easy to write network applications in Java, and the code is completely portable between platforms. In languages like C/C++, the networking code must be re-written for different operating systems, and is usually more complex. The networking support of Java saves a lot of time, and effort.&lt;br /&gt;&lt;br /&gt;Java also includes support for more exotic network programming, such as remote-method invocation (RMI), CORBA and Jini. These distributed systems technologies make Java an attractive choice for large distributed systems.&lt;br /&gt;Simplicity and ease-of-use&lt;br /&gt;&lt;br /&gt;Java draws its roots from the C++ language. C++ is widely used, and very popular. Yet it is regarded as a complex language, with features like multiple-inheritance, templates and pointers that are counter-productive. Java, on the other hand, is closer to a &quot;pure&quot; object-oriented language. Access to memory pointers is removed, and object-references are used instead. Support for multiple-inheritance has been removed, which lends itself to clearer and simpler class designs. The I/O and network library is very easy to use, and the Java API provides developers with lots of time-saving code (such as networking and data-structures). After using Java for awhile, most developers are reluctant to return to other languages, because of the simplicity and elegance of Java.</description><link>http://thedotnetsource.blogspot.com/2010/01/java-programming-language.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-7593840816416872996</guid><pubDate>Wed, 09 Dec 2009 13:03:00 +0000</pubDate><atom:updated>2009-12-09T05:05:59.158-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><category domain="http://www.blogger.com/atom/ns#">Introduction to dot net</category><title>Dot Net Programming: New Lease of Life with the Current Demand</title><description>If you&#39;re a keen .NET programmer, you are probably aware of what the above title says. Since the birth of multi-core computing, there has been a requirement for parallel-programming architecture. Now, the multi-core computing has developed into the prevailing paradigm in computer architecture since the invention of multi core-processors.&lt;br /&gt;Incidentally, almost every programmer considers Visual Studio 2008 and .NET Framework 3.5 as getting distant and out of the way. To prevent its programming market fiasco, recently, Microsoft released the beta versions of .NET Framework 4 and Visual Studio 2010. The major focus fell on .NET 4, yet the labels boasted the arrival of parallel-programming. The question is whether there are any benefits particularly towards performance, on sticking to existing APIs? Go through to get the answer of the question.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.NET 4&#39;s Multi-Core processing ability:&lt;br /&gt;&lt;br /&gt;Primarily, the MSDN site shows that the parallel extensions in the .NET 4, has been improvised itself to support analogous programming, targeting multi-core computing or distributed computing. The support for the Framework can be divided into four areas like library, LINQ, data structures and diagnostic tools. .NET 4&#39;s peers and predecessors are devoid of the multi-core operable ability.&lt;br /&gt;The main criteria like communication and synchronization of sub-tasks were considered as the biggest obstacles in getting a good parallel program performance; But .NET 4&#39;s promising parallel library technology enables developers to define simultaneous, asynchronous tasks without having to work with threads, locks, or the thread pool.&lt;br /&gt;&lt;br /&gt;Full support for multiple programming languages and compilers:&lt;br /&gt;Apart from VB &amp;amp; C# languages, .NET 4 offers a full support for programming languages like Ironpython, Ironruby, F# and other similar .NET compilers. Other than the 3.5 version of the same model, it encompasses both functional-programming and crucial object-oriented programming.&lt;br /&gt;&lt;br /&gt;Dynamic language runtime:&lt;br /&gt;&lt;br /&gt;Addition of the dynamic language runtime (DLR) is a blessing for the .NET beginners. Using this new DLR runtime environment, developers can insert a set of services for dynamic languages to the CLR. Apart from that, the DLR makes it simpler to develop dynamic languages and to add dynamic features to statically typed languages. An original System Dynamic name space has been supplemented to the .NET Framework on supporting the DLR and numerous new classes supporting the .NET Framework infrastructure are extra to the System Runtime Compiler Services. Nevertheless, the new DLR provides the following advantages to developers: Developers can use speedy feedback loop which lets them enter diverse statements and execute them to see the results nearly immediately.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It has the ability to support for the top-down and more traditional bottom-up development. You can take the example of a developer using top down approach. He has the ability for call-out functions that are not yet can implement and then add them when required. There are simple refactoring and code modifications in which the &lt;a href=&quot;http://www.akrostechnology.com/&quot;&gt;Dot Net Programmers&lt;/a&gt; do not require to change static type declarations throughout the code.</description><link>http://thedotnetsource.blogspot.com/2009/12/dot-net-programming-new-lease-of-life.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-8985204408095440649</guid><pubDate>Mon, 30 Nov 2009 12:21:00 +0000</pubDate><atom:updated>2009-11-30T04:27:13.030-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Software Development</category><title>Importance of .Net Software Development</title><description>In the world of computers, software plays very important role just as hardware. This was recognized by Microsoft in earlier stages. Looking for new ways to improve their software, Microsoft made its software efficient not only to users but to developers as well.&lt;br /&gt;&lt;br /&gt;.Net architecture not only helps businesses to make their existing software assets powerful but also to add new software services making them more productive. It can also prove effective in reducing application complexity and the related costs of developing and maintaining software.&lt;br /&gt;&lt;br /&gt;.Net application development has helped to simplify development and customize of various enterprise level applications. This product comes as a part of Microsoft&#39;s Windows Operating System. .Net framework comes bundled with a lot of advantages, which makes it a widely used tool for .Net application development.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The .Net is built on the following Internet standards:&lt;br /&gt;&lt;br /&gt;• UDDI, standard to search and discover Web Services&lt;br /&gt;&lt;br /&gt;• XML, format for exchanging data between Internet Applications&lt;br /&gt;&lt;br /&gt;• HTTP, communication protocol between Internet Applications&lt;br /&gt;&lt;br /&gt;• SOAP, standard format for requesting Web Services&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantages of .Net Software Development Services:&lt;br /&gt;&lt;br /&gt;• Easy integration of any software into the Internet&lt;br /&gt;&lt;br /&gt;• Supports directory services that can answer XML based questions&lt;br /&gt;&lt;br /&gt;• Permits a wide variety of Internet devices to access data and applications&lt;br /&gt;&lt;br /&gt;• Supports different levels of authentication of services such as passwords, wallets, and smart cards&lt;br /&gt;&lt;br /&gt;• Ability to track visitors and report on the most requested web pages&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The .Net framework is a set of huge library that encompasses various programming needs like user interface design, web development, data access, database connections, networking among many other algorithms. Hence the advent of .Net programming has simplified and made .Net application development very extensive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let&#39;s look at some important features of .Net framework:&lt;br /&gt;&lt;br /&gt;• No language dependency&lt;br /&gt;• Enhanced Security&lt;br /&gt;• Easy deployment&lt;br /&gt;• Easy Portability&lt;br /&gt;• Interoperability&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Commercial .Net Services that can be provided to Businesses:&lt;br /&gt;&lt;br /&gt;• .Net Software Product Development&lt;br /&gt;&lt;br /&gt;• .Net Desktop and Web Application Development&lt;br /&gt;&lt;br /&gt;• Web Services based .Net Application development&lt;br /&gt;&lt;br /&gt;• .Net custom control development&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• .Net system design and application development&lt;br /&gt;&lt;br /&gt;• .Net Architecture and design evaluation&lt;br /&gt;&lt;br /&gt;• Developing web services using the .Net framework and the SOAP toolkit&lt;br /&gt;&lt;br /&gt;• Migrating web and desktop applications to .Net&lt;br /&gt;&lt;br /&gt;• Migration of application from .Net&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.Net helps to develop your business, by generating large volumes of data that contain valuable information like individual facts about their customers, products, operations and people. By using .Net technology, web software outsourcing helps your business to do better.&lt;br /&gt;&lt;br /&gt;Jane Bush invites you to gain more information on .net software development services at http://www.e-zest.net/dotnet.html</description><link>http://thedotnetsource.blogspot.com/2009/11/importance-of-net-software-development.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-3826305830543292253</guid><pubDate>Thu, 26 Nov 2009 00:11:00 +0000</pubDate><atom:updated>2009-11-25T16:13:47.874-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Introduction to dot net</category><title>Introduction to Microsoft .NET Technology</title><description>In 2000, Microsoft announced its .NET software environment, a new addition to Windows. The .NET (&quot;dot - net&quot;) environment is effectively a &quot;virtual computer&quot; that runs on a real computer, with the advantage that any program written for it will run on any computer which is running .NET.&lt;br /&gt;One important aspect of the .NET strategy is its independence from a specific language or platform. Developers can create a .NET application in any .NET - compatible language and participate in the same software project writing code in the .NET languages in which they are most competent (such as Visual C++.NET, Visual Basic .NET, C#, Perl and others). Part of the .NET software environment includes Active Server Pages (ASP) .NET technology, which allows developers to develop applications for the Web.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The .Net architecture can exist on multiple platforms, further extending the portability of .NET programs. Additionally, the .NET software environment involves a new program development process that could change the way programs are written and executed, leading to increased productivity.&lt;br /&gt;&lt;br /&gt;The most important component of the .NET architecture is Web Services, which are applications that can be used over the Internet. One example of a Web service is the tour operator&#39;s flights booking system. The tour operator wanted to enable customers to book flights from the tour operator&#39;s Web site. To do so, the tour operator needed to access the airline&#39;s booking system. In response, an airline partner created a Web service that allowed the tour operator to access the airline&#39;s database and make bookings. Web services enable the two companies to communicate over the Web, even if they use the different operating systems (the tour operator uses UNIX and the airline uses Windows). By creating a Web service, the airline can allow other tour operators to use its booking system without creating a new program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The .NET strategy extends the concept of software reuse to the Internet, allowing developers to concentrate on their specialties without having to implement every component of every application. Instead, companies can buy Web services and devote their time and energy to developing their products.&lt;br /&gt;&lt;br /&gt;The .NET strategy incorporates the idea of software reuse. When companies link their products in this way, a new user experience emerges. For example, an online store could buy Web services for online credit-card payments, user authentication and inventory databases to create an e-commerce Web site. The keys to this interaction are XML and SOAP, which enable Web service to communicate. XML gives meaning to data, and SOAP is the protocol that allows Web services to communicate easily with one another. XML and SOAP act together combining various Web services to form applications.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another important concept in the .NET technology is universal data access. If two copies of a file exist (such as on a personal computer and a company computer), the less recent version must constantly be updated, this is called file synchronization. If the separate versions of the file are different, they are unsynchronized and could lead to serious error. Using the .NET data could reside in one central location rather than on separate systems. Any internet-connected device could access the data, which would then be formatted properly for use on access device (a desktop PC, a PDA or other device). Thus, the same document could be displayed and edited without the need to synchronise the data, because it would be up to date in central area.</description><link>http://thedotnetsource.blogspot.com/2009/11/introduction-to-microsoft-net.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-5016123422199851166</guid><pubDate>Mon, 23 Nov 2009 11:46:00 +0000</pubDate><atom:updated>2009-11-23T03:48:54.337-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><title>MICROSOFT DOT NET</title><description>The .NET Data Types&lt;br /&gt;&lt;br /&gt;The .NET data types are the types you use to store your data. They are value types and can be broken down into subcategories: Integer types, Floating-point types, the Boolean type, and the Char type. Two built-in reference types that are an integral part of your application will also be discussed: the String type and the Object type.&lt;br /&gt;Integer Types&lt;br /&gt;&lt;br /&gt;The .NET Framework provides a variety of Integer types. Table 3.1 summarizes these types and lists their corresponding Microsoft Visual Basic .NET and Microsoft Visual C# types.&lt;br /&gt;&lt;br /&gt;The System.Single type is appropriate for floating-point calculations that require a lower degree of precision. It provides seven significant digits of precision. For greater levels of precision, you can use the System.Double type. This provides a much greater level of precision as well as the ability to handle vastly larger values. The System.Decimal type is specifically designed to facilitate financial calculations and is an ultra-high precision variable. Although it cannot hold values as great as System.Double, it has a much higher level of precision, providing 28 significant digits.&lt;br /&gt;&lt;br /&gt;Non-Numeric Types&lt;br /&gt;&lt;br /&gt;Four additional types that do not represent numbers are discussed in this section: System.Boolean, System.Char, System.String, and System.Object.&lt;br /&gt;System.Boolean&lt;br /&gt;&lt;br /&gt;The System.Boolean type is used to represent a value that is either true or false. It is called Boolean in Visual Basic .NET, and bool in Visual C#. The values that are valid for Boolean variables are True and False (Visual Basic .NET) or true and false (Visual C#).&lt;br /&gt;System.Char&lt;br /&gt;&lt;br /&gt;The System.Char type represents a single instance of a 16-bit Unicode character. It is called char in Visual C# and Char in Visual Basic .NET.&lt;br /&gt;System.String&lt;br /&gt;&lt;br /&gt;The System.String type is a reference type, and it represents a series of Char data types. In everyday terms, a string can represent a word, a paragraph, a key value, or any other string of characters. In Visual Basic .NET this type is called String, and in Visual C# it is called string.&lt;br /&gt;&lt;br /&gt;System.Object&lt;br /&gt;&lt;br /&gt;The Object type is the supertype of all types in the .NET Framework. Every type, whether value type or reference type, derives from System.Object. In Visual Basic .NET it is called Object, and in Visual C# it is called object.&lt;br /&gt;&lt;br /&gt;If an object of a particular type is stored in an Object variable, it must be explicitly converted back to that type to access any of its inherent functionality.&lt;br /&gt;Converting Types&lt;br /&gt;&lt;br /&gt;At times, you will need to convert data from one type to another. Data can be converted in two ways: implicitly, which means the conversion is performed automatically, and explicitly, which means you must specifically ask for the conversion to be performed.&lt;br /&gt;Implicit Conversions&lt;br /&gt;&lt;br /&gt;Implicit conversions between types are automatically performed whenever the conversion can be performed without the loss of data.&lt;br /&gt;&lt;br /&gt;Using Data Type Functionality&lt;br /&gt;&lt;br /&gt;All of the data types have some kind of built-in functionality. At the very least, they all support four methods:&lt;br /&gt;&lt;br /&gt;* Equals. Determines whether two instances are equal&lt;br /&gt;* GetHashCode. Serves as a hash function for a particular type&lt;br /&gt;* GetType. Returns the type object for the current instance&lt;br /&gt;* ToString. Returns a human-readable form of the object&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Boxing&lt;br /&gt;&lt;br /&gt;The secret is called boxing. Boxing is the implicit conversion of value types to reference types. All classes and types derive from Object, and each of these four methods is a method of the Object class. Because each class derives from Object, they can be implicitly converted to that type. When you call one of these methods, the run time creates a temporary reference for your stack and allows you to treat it as a reference type.&lt;br /&gt;&lt;br /&gt;Unboxing is the conversion of a boxed variable back to a value type. To unbox a variable, you must perform an explicit cast on the object to convert it to the appropriate type. Only objects that have been boxed can be unboxed.&lt;br /&gt;Data Type Member Methods&lt;br /&gt;&lt;br /&gt;Data types also have other methods that do not derive from Object. These methods usually involve functionality specific to the type. In Chapter 2, you were introduced to some of the comparison functions of the Char data type. Although the sheer scope of these methods is too great to be adequately dealt with in this text, some of the more generally useful functions will be discussed.&lt;br /&gt;Parse&lt;br /&gt;&lt;br /&gt;All of the value data types implement a Parse method. Parse is used to create a numeric value from a string. The Parse method is extremely useful when developing user interfaces. Controls that accept user input, such as TextBox, do so in the form of a string. The Parse method can be used to convert that string to usable data. Note that if a string cannot be read as a numeric value, an error will result. In all implementations, Parse is a static (Shared) method, and must be called from the type object rather than from an instance.&lt;br /&gt;To convert a string to a numeric data type&lt;br /&gt;&lt;br /&gt;Call the Parse method of that data type on that method.&lt;br /&gt;The complete article and further complete information can he found at&lt;br /&gt;&lt;br /&gt;http://dotnetpoint.blogspot.com</description><link>http://thedotnetsource.blogspot.com/2009/11/microsoft-dot-net.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-8056686538307922602</guid><pubDate>Mon, 16 Nov 2009 10:53:00 +0000</pubDate><atom:updated>2009-11-16T03:01:16.996-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tips for asp.net</category><title>28 tips for ASP.NET programming</title><description>1) Go for Javascript validations instead of validation controls&lt;br /&gt;2) Use Javascript instead of VBscript.&lt;br /&gt;3) Minimize the use of Forms authentication.&lt;br /&gt;4) Use Connection Pooling and Object Pooling&lt;br /&gt;5) Turn off Tracing unless until required&lt;br /&gt;6) Turn off Session State, if not required&lt;br /&gt;7) Disable View State of a Page if possible&lt;br /&gt;8) Set debug=false in web.config&lt;br /&gt;9) Avoid Response.Redirect as many places&lt;br /&gt;10) Use the String builder to concatenate string&lt;br /&gt;11) Avoid throwing exceptions. try to handle the exceptions without try catch.&lt;br /&gt;12) Use Finally Method to kill resources&lt;br /&gt;13) Avoid unnecessary round trips to the server&lt;br /&gt;14) Use Gzip Compression&lt;br /&gt;15) Use Page Output Caching and Proxy Servers&lt;br /&gt;16) Use Per-Request Caching&lt;br /&gt;17) Use Page.ISPostBack&lt;br /&gt;18) Avoid Unnecessary Indirection&lt;br /&gt;19) Use &quot;ArrayLists&quot; in place of arrays&lt;br /&gt;20) Place StyleSheets into the Header&lt;br /&gt;21) Put Scripts to the end of Document&lt;br /&gt;22) Make JavaScript and CSS External&lt;br /&gt;23) Use DataReader instead of Dataset&lt;br /&gt;24) Make Enableviewstate property as false for the components (particularly for heavy items like datagrid, datalist etc) if it is not necessary.&lt;br /&gt;25) Use xmlhttprequest object or scriptmanager to minimize post backs.&lt;br /&gt;26) Declare regions for each section of codes.&lt;br /&gt;27) Try to use datarepeater than any other data controls.&lt;br /&gt;28) Use skins files.</description><link>http://thedotnetsource.blogspot.com/2009/11/28-tips-for-aspnet-programming.html</link><author>noreply@blogger.com (Mozie)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-302940132335685387</guid><pubDate>Wed, 04 Jun 2008 11:59:00 +0000</pubDate><atom:updated>2008-06-04T05:10:16.461-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">errors</category><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><category domain="http://www.blogger.com/atom/ns#">vb.net</category><title>Tutorial 8: Error Handling</title><description>&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;span style=&quot;color:#9999ff;&quot;&gt;&lt;strong&gt;Reason of this project:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Error handling is one of the most difficult thing that may afford a programmer. It isn&#39;t as easy as you think and handling errors in a program some time can make errors occur!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;color:#9999ff;&quot;&gt;Project details:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;em&gt;1- New solution for handling errors in .net&lt;br /&gt;2- Try...Catch...Finally Block&lt;br /&gt;3- Error handling sample&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;color:#000000;&quot;&gt;&lt;span style=&quot;color:#000000;&quot;&gt;1- New solution for handling errors in .net&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Errors handling had been improved with the new .net. The Try...End try block can minimize code and simplify it.&lt;br /&gt;However some old methods still alive with the .net 2.0 which can be useful sometimes.&lt;br /&gt;There&#39;s also some changes that we&#39;ll discuss.&lt;br /&gt;From the first Visual Basic edition and also I remember it on QBasic, there was a method to handle errors which is &quot;On Error&quot;.&lt;br /&gt;Now the method still exist but replace with the new Try...End try block.&lt;br /&gt;In error raising we&#39;ll use the Throw command.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;span style=&quot;color:#9999ff;&quot;&gt;&lt;span style=&quot;font-size:130%;color:#000000;&quot;&gt;2- Try...Catch...Finally Block&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The Try...Catch...Finally Block structure&lt;br /&gt;&lt;br /&gt;Try&lt;br /&gt;Here&#39;s the code where you want to monitor for errors&lt;br /&gt;&lt;br /&gt;Catch&lt;br /&gt;When an error occurs, the application will jump immediately to this section.&lt;br /&gt;&lt;br /&gt;Finally&lt;br /&gt;This step is optional, but if defined it&#39;ll run whatever an error occur or not.&lt;br /&gt;Generally we use it to close an opened file or connection&lt;br /&gt;&lt;br /&gt;There can be different types of errors.&lt;br /&gt;This structure allows you to handle each type alone.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Try&lt;br /&gt;&#39; ----- The Code is here.&lt;br /&gt;Catch ex As System.OutOfMemoryException&lt;br /&gt;&#39; ----- Handle memory errors here.&lt;br /&gt;Catch ex As System.Exception&lt;br /&gt;&#39;&lt;br /&gt;----- Handle all other errors here.&lt;br /&gt;End Try&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;You can do more customization for the Catch block and this shows how much the .net is flexible.&lt;br /&gt;Let understand how this was done.&lt;br /&gt;The integer is empty when we start running the code. Now we go to step 1, the integer contain 1. If an error occur, the application will stop processing and jump to the Catch blocks. Each block to choose? ;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Dim Step as integer&lt;br /&gt;Try&lt;br /&gt;&#39; ----- The Code is here.&lt;br /&gt;Step = 1&lt;br /&gt;....&lt;br /&gt;Step = 2&lt;br /&gt;....&lt;br /&gt;Catch ex As Exception When Step = 1&lt;br /&gt;&#39; ----- Handle&lt;br /&gt;the step 1 errors&lt;br /&gt;Catch ex As Exception When Step = 2&lt;br /&gt;&#39; ----- Handle the&lt;br /&gt;step 2 errors&lt;br /&gt;End Try&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;span style=&quot;color:#9999ff;&quot;&gt;&lt;span style=&quot;font-size:130%;color:#000000;&quot;&gt;3- Error handling sample&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The sample is simple!&lt;br /&gt;There&#39;s two text boxes, you have to fill both of them with numbers. By pressing the button you&#39;ll divide them.&lt;br /&gt;When the problem can occur?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Dim a As Integer = CInt(TextBox1.Text) &#39;Here when converting&lt;br /&gt;Dim b As&lt;br /&gt;Integer = CInt(TextBox2.Text) &#39;Here when converting&lt;br /&gt;TextBox3.Text = a / b&lt;br /&gt;&#39;When dividing by Zero or big numbers (out of capacities) &lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;How to handle those errors?&lt;br /&gt;Check out the sample to know how we can do it. The sample is commented and explanation is inside.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Subscribe to get the latest tutorials&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-8-.zip?gda=wW6t5UAAAADLM3O-AWgOOkA6auveAMxOnI2KIous3qAzz_TGHV-p_WG1qiJ7UbTIup-M2XPURDSR6jMoluEn-EWZRjPfSSWE&amp;amp;gsc=BTaqAAsAAAAchjfDiNlsV-3C0e5mJA89&quot;&gt;Download the tutorial&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;The Zip file contains:&lt;br /&gt;-The sample source code&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#9999ff;&quot;&gt;Still have question:&lt;br /&gt;&lt;/span&gt;Post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.&lt;/span&gt;</description><link>http://thedotnetsource.blogspot.com/2008/06/tutorial-8-error-handling.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-7315514382833179013</guid><pubDate>Fri, 30 May 2008 13:59:00 +0000</pubDate><atom:updated>2008-05-30T07:22:03.617-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">functions</category><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><category domain="http://www.blogger.com/atom/ns#">vb.net</category><title>Tutorial 7: Interaction Commands and Functions</title><description>&lt;span style=&quot;font-weight: bold; color: rgb(102, 102, 204);font-family:trebuchet ms;&quot; &gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The &lt;span style=&quot;font-weight: bold;&quot;&gt;Microsoft.VisualBasic.Interaction&lt;/span&gt; class exposes many useful commands and methods that were available in Visual Basic like &lt;span style=&quot;font-style: italic;&quot;&gt;AppActivate&lt;/span&gt;, &lt;span style=&quot;font-style: italic;&quot;&gt;Beep&lt;/span&gt;, &lt;span style=&quot;font-style: italic;&quot;&gt;Callbyname&lt;/span&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;This &lt;span style=&quot;font-weight: bold;&quot;&gt;tutorial &lt;/span&gt;shows how to work with some of them.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-weight: bold;font-family:trebuchet ms;&quot; &gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;1- From VB 6.0 to VB .net 2.0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;2- Useful interaction commands&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;3- Samples of interaction commands&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;1- From VB 6.0 to VB .net 2.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;There was several changes on VB .net (it&#39;s a big change and that&#39;s clear). Although in an effort to make the transition from VB 6 to VB 2005 as easy as possible, Microsoft has gathered most of the Visual Basic 6.0 commands and functions in the Microsoft.VisualBasic.dll assembly.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Some of the commands and functions was deleted, other still the same and others changed to the .net syntax.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-family:trebuchet ms;&quot; &gt;For Example:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;VbCrlf&lt;/span&gt; which is used on VB 6.0 (as a separator) still alive on VB .net 2.0 but a new syntax is already available for use.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;ControlChars.crlf&lt;/span&gt; is the new method&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;As you are using VB .net I recommend that use the new syntax, and I&#39;m going to introduce some of the important change between the old and the new syntax.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;2- Useful interaction commands&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;VB 6.0 syntax contain many useful interaction commands and function like the Message Box for example. Those commands still alive but have been improved in the .net 2.0 version.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(153, 153, 255);font-family:trebuchet ms;&quot; &gt;Shell Function:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The shell function runs an executable program, it works like the command line so you can use it as a command line.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The shell function is capable of returning an integer indicating if the program still running or not. The shell function was expanded in the .net 2.0 version and supports an additional argument that enables you to specify whether to wait until the shelled program terminates with an optional timeout.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;Use of the function&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;blockquote&gt;Shell (Application Path, Style, Wait, Timeout)&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&#39; Run Notepad.exe and wait until the user terminates it.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Shell (&quot;notepad&quot;, AppWinStyle.NormalFocus, True)&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 255); font-style: italic;font-family:trebuchet ms;&quot; &gt;AppActivate Function:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;AppActivate is a cool function that may be helpful if you are developing application for Windows. Now let see how this works and what it do. The AppActivate function as it names, activate a currently running application.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;How it &lt;span style=&quot;font-weight: bold;&quot;&gt;activates&lt;/span&gt;? Simply by giving the focus to the application Window.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The function is quite useful and require only to know the windows caption!&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;Use of the function&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;blockquote&gt;AppActivate ( Title) or AppActivate (ProcessID)&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;NB: &lt;/span&gt;You have to choose either to use the title or the processID and not both!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Now let&#39;s see this example&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&#39; Activate the NotePad Window&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;AppActivate(&quot;Untitled - Notepad&quot;)&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Now as we know those simple functions we can use them to build helpful projects and application. Now see the sample of the interaction commands.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;font-family:trebuchet ms;&quot; &gt;3- Samples of interaction commands&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;This sample is exactly a direct (little expanded) application of the two functions that we have studied together right now.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;There&#39;s only one sample and if you run it you&#39;ll get a window with 2 buttons.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Each button introduce a sample for each function. The button caption let you distinguish them.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(153, 153, 255);font-family:trebuchet ms;&quot; &gt;The Shell sample:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Run a notepad application and return a message if the NotePad was closed.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;If the timeout was exceeded (5 seconds), return a message that the NotePad still running&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The AppActivate:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The following sample run a notepad with no focus and use AppActivate to give it the focus.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;So the sample use both of the functions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style=&quot;font-family: trebuchet ms;&quot; href=&quot;http://vb2005.googlegroups.com/web/Tutorial-7-.zip?gda=3bMlGUAAAADLM3O-AWgOOkA6auveAMxO5yitFZiQ5-ZOzrGdyyaD-GG1qiJ7UbTIup-M2XPURDSCnXB1hnBJBdd2ePrFetdB&amp;amp;gsc=oXJKDgsAAAC-pzsjlcfNwf7QnWyuS_qA&quot;&gt;Download the source code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;-The sample source code&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;-The readme.txt file&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;-The tutorial.txt file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;Go to our blog (http://thedotnetsource.blogspot.com). Select the tutorial post. Post a comment describing your problem.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:trebuchet ms;&quot;&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.&lt;/span&gt;</description><link>http://thedotnetsource.blogspot.com/2008/05/tutorial-7-interaction-commands-and.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-6647675275039425205</guid><pubDate>Fri, 28 Mar 2008 18:12:00 +0000</pubDate><atom:updated>2008-03-28T11:20:03.345-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">registry</category><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><category domain="http://www.blogger.com/atom/ns#">vb.net</category><title>Tutorial 6: How to use (add, read, change, delete) registry keys with vb.net</title><description>&lt;span style=&quot;font-weight: bold; color: rgb(102, 0, 204);&quot;&gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;This is the next part of the previous tutorial. We&#39;ll learn here how to add, change, read, delete registry keys and values using vb.net.&lt;br /&gt;I included a sample that contains all those functionality.&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 0, 204); font-weight: bold;&quot;&gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    How to add a registry key/value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    How to read a registry value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    How to delete a key or a value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    Changing a value or a key&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;5-    Hints to use registry with VB.net&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;6-    The registry reader (VB.net)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    How to add a registry key/value&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One thing that I think I forget to notice. A folder in the registry is name &quot;key&quot; and the elements in this key are named &quot;values&quot;.&lt;br /&gt;There&#39;s a description of each value type in the &lt;a href=&quot;http://thedotnetsource.blogspot.com/2008/03/tutorial-5-what-is-windows-registry.html&quot;&gt;5th tutorial&lt;/a&gt;&lt;br /&gt;Now we&#39;ll see how to add a key or a value.&lt;br /&gt;Probably you have thought where we&#39;ll put it and whether it&#39;s a key or a value.&lt;br /&gt;So we have 2 things to notice.&lt;br /&gt;Visual Basic will automatically show you the hives (they are stored in).&lt;br /&gt;You&#39;ll have only to choose the needed one.&lt;br /&gt;To do that paste the following line.&lt;br /&gt;&lt;blockquote&gt;My.Computer.Registry.CurrentUser.CreateSubKey(&quot;TestKey&quot;)&lt;/blockquote&gt;&lt;br /&gt;This line will create a key in the HKEY_CURRENT_USER hive and will be named &quot;testkey&quot;&lt;br /&gt;Now let&#39;s move on to see how to set a value.&lt;br /&gt;For the value we&#39;ll need three things: Value path, Value name and value value. We can also precise the value type if not Visual Basic will try to assign the value type depending on the object type.&lt;br /&gt;&lt;blockquote&gt;My.Computer.Registry.SetValue(&quot;HKEY_CURRENT_USER\TestKey&quot;, &quot;TestValue&quot;, &quot;This is a test value.&quot;)&lt;/blockquote&gt;&lt;br /&gt;Tip: Type &quot;,&quot; and Visual Basic will show a list of value types.&lt;br /&gt;&lt;br /&gt;The sample:&lt;br /&gt;The sample contain two part, one for creating keys and the other to create values.&lt;br /&gt;To create a key just put the named of the key and it&#39;ll be created in the Current_User folder.&lt;br /&gt;To assign a value, type the complete path, for example &quot;HKEY_CURRENT_USER\mykey&quot; and then the value name then the value content and click add to create it.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    How to read a registry value&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The next thing is to read what we wrote!&lt;br /&gt;This is so simple, just put the following line.&lt;br /&gt;You&#39;ll need to have the Path and the name of the value.&lt;br /&gt;&lt;blockquote&gt;Dim readValue As String&lt;br /&gt;readValue = My.Computer.Registry.GetValue _&lt;br /&gt;(&quot;HKEY_CURRENT_USER\TestKey&quot;, &quot;TestValue&quot;, Nothing)&lt;br /&gt;MsgBox(&quot;The value is &quot; &amp;amp; readValue)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;If you wish to do more complex things, like getting the keys in a hive and getting the values of keys...&lt;br /&gt;Then you should see the registry viewer sample. (Download the source code to get it)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    How to delete a registry key or value&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We finish by deleting what we added.&lt;br /&gt;To do this it&#39;s easy!&lt;br /&gt;The following line will delete a key&lt;br /&gt;&lt;blockquote&gt;My.Computer.Registry.CurrentUser.DeleteSubKey(&quot;TestKey&quot;)&lt;/blockquote&gt;&lt;br /&gt;To delete a value&lt;br /&gt;&lt;blockquote&gt;my.Computer .Registry .CurrentUser.DeleteValue(&quot;Test value&quot;)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    Changing a value or a key&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Changing a value can be somewhat difficult.&lt;br /&gt;&lt;blockquote&gt;Dim autoshell = My.Computer.Registry.LocalMachine.OpenSubKey(&quot;Software\Microsoft\Windows NT\CurrentVersion\Winlogon&quot;, True)&lt;br /&gt;&#39;&#39; Set the value to 0&lt;br /&gt;autoshell.SetValue(&quot;autorestartshell&quot;, 0)&lt;br /&gt;autoshell.Close()&lt;/blockquote&gt;After opening a subkey (don&#39;t forget true! as it give you permission to delete), we can use the autoshell in order to change any value in the following subkey.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;5-    Hints to use registry with VB.net&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We can count the values in a hive&lt;br /&gt;&lt;blockquote&gt;My.Computer.Registry.CurrentUser.ValueCount.ToString()&lt;/blockquote&gt;&lt;br /&gt;But also the keys&lt;br /&gt;&lt;blockquote&gt;My.Computer.Registry.CurrentUser.SubKeyCount.ToString()&lt;/blockquote&gt;&lt;br /&gt;And check if a value exist&lt;br /&gt;&lt;blockquote&gt;If My.Computer.Registry.GetValue(&quot;HKEY_LOCAL_MACHINE\MyKey&quot;, _&lt;br /&gt;&quot;TestValue&quot;, Nothing) Is Nothing Then&lt;br /&gt; MsgBox(&quot;Value does not exist.&quot;)&lt;br /&gt;Else&lt;br /&gt; MsgBox(&quot;Value exist.&quot;)&lt;br /&gt;End If&lt;/blockquote&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;6-    The registry reader (VB.net)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have included an application with the source code. This one will resume all what we have done.&lt;br /&gt;It&#39;s like the registry editor of Windows but still view only and can&#39;t edit values.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-6-.zip?gda=m_urd0AAAABlfVWuXIpzd64Dx4ccEVW66MvUzm6FXf-pcXdR6fNxpWG1qiJ7UbTIup-M2XPURDQckgdzQEaipG3luaATDl34&quot;&gt;Download the source code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;-The sample source code&lt;br /&gt;-The registry viewer application&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;If you have any problem or you found a bug, post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.</description><link>http://thedotnetsource.blogspot.com/2008/03/tutorial-6-how-to-use-add-read-change.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-5979145998118128751</guid><pubDate>Fri, 28 Mar 2008 16:00:00 +0000</pubDate><atom:updated>2008-03-28T09:16:57.121-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">registry</category><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><title>Tutorial 5: What is Windows registry (Registry Keys)</title><description>&lt;span style=&quot;color: rgb(102, 51, 255); font-weight: bold;&quot;&gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;I wrote this tutorial in order to help the hundred of programmers searching on the web for Windows registry.&lt;br /&gt;This is an like introduction, if you are seeking how to use and deploy the registry keys with Vb.net, just see the next tutorial (It&#39;ll be tutorial 6).&lt;br /&gt;In this tutorial I&#39;ll show what is the windows registry system and why use it.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(102, 51, 255);&quot;&gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    What is Windows registry and why use it&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    How to read, write and change the registry&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    HIVES and their use&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    Definition of registry values&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    What is Windows registry and why use it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can compare the Windows registry to a database. It stores informations related to Windows and other installed application on your system, but also Hardware.&lt;br /&gt;Think now if someone need to change the computer name via programming. How can he do this?&lt;br /&gt;Programmers can think of files (text files) to store the computer and windows information. But when file get big and heavy, Database will be more secure. And then they had (Windows builder) the choice of a database &quot;Windows Registry&quot;.&lt;br /&gt;Microsoft Dot Net Frame 1.1 and higher have implemented a great solution for registry on their classes. This will replace the hard work and long lines of code that programmers have to write if they are using Visual Studio 6.0 for example.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    How to read, write and change the registry&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Windows has a wonderful tool on it, named &quot;Registry Editor&quot;. But you won&#39;t find it, unless you open the System32 folder on the Windows folder.&lt;br /&gt;But we can easily run it through the execute command it the start menu. Just type &quot;regedit&quot; (without quotes).&lt;br /&gt;Now the registry editor will open.&lt;br /&gt;Please before doing any changes on your registry make a backup.&lt;br /&gt;To do a windows registry backup: File &gt; Export &gt; Give a name for the file and select the All option box.&lt;br /&gt;The backup may block your pc from working for a short period of time.&lt;br /&gt;You&#39;ll see that there are 5 folder. Those are the main folder (named hives) and you can&#39;t add another main folder.&lt;br /&gt;Now you can select any folder and right click on it, then add a new sub-folder or value.&lt;br /&gt;By selecting any folder and right clicking, you&#39;ll find a list of action that you can do.&lt;br /&gt;If the action is blended (made not selectable), then either it&#39;s impossible or you don&#39;t have the rights to do this action.&lt;br /&gt;You need administrator rights to change registry keys.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    HIVES (main registry folders) and their use&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The registry is split into a number of logical sections named &quot;hives&quot;, those are the top main folder that can added, edited or renamed.&lt;br /&gt;They all start with &quot;HKEY&quot; prefix.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;HKEY_CLASSES_ROOT&lt;/span&gt;&lt;br /&gt;Stores information about registered applications, such as Associations from File Extensions and OLE Object Class ID&#39;s tying them to the applications used to handle these items.&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;HKEY_CURRENT_USER&lt;/span&gt;&lt;br /&gt;Stores settings that are specific to the currently logged-in user. The HKCU key is a link to the subkey of HKEY_USERS that corresponds to the user; the same information is reflected in both locations. On Windows-NT based systems, each users&#39; settings are stored in their own files called NTUSER.DAT and USRCLASS.DAT inside their own documents and settings subfolder.&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;HKEY_LOCAL_MACHINE&lt;/span&gt;&lt;br /&gt;Stores settings that are general to all users on the computer. On NT-based versions of Windows, HKLM contains four subkeys, SAM, SECURITY, SOFTWARE and SYSTEM, that are found within their respective files located in the %SystemRoot%\System32\Config folder. A fifth subkey, HARDWARE, is volatile and is created dynamically, and as such is not stored in a file. Information about system hardware drivers and services are located under the SYSTEM subkey, whilst the SOFTWARE subkey contains software and windows settings.&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;HKEY_USERS&lt;/span&gt;&lt;br /&gt;Contains subkeys corresponding to the HKEY_CURRENT_USER keys for each user registered on the machine.&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;HKEY_CURRENT_CONFIG&lt;/span&gt;&lt;br /&gt;Contains information gathered at runtime; information stored in this key is not permanently stored on disk, but rather regenerated at boot time.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    Definition of registry values&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;Binary Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;REG_BINARY&lt;/span&gt;&lt;br /&gt;Raw binary data. Most hardware component information is stored as binary data and is displayed in Registry Editor in hexadecimal format.&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;DWORD Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;REG_DWORD&lt;/span&gt;&lt;br /&gt;Data represented by a number that is 4 bytes long (a 32-bit integer). Many parameters for device drivers and services are this type and are displayed in Registry Editor in binary, hexadecimal, or decimal format. Related values are DWORD_LITTLE_ENDIAN (least significant byte is at the lowest address) and REG_DWORD_BIG_ENDIAN (least significant byte is at the highest address).&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;Expandable String Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;REG_EXPAND_SZ&lt;/span&gt;&lt;br /&gt;A variable-length data string. This data type includes variables that are resolved when a program or service uses the data.&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;Multi-String Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;REG_MULTI_SZ&lt;/span&gt;&lt;br /&gt;A multiple string. Values that contain lists or multiple values in a form that people can read are generally this type. Entries are separated by spaces, commas, or other marks.&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;String Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;REG_SZ&lt;/span&gt;&lt;br /&gt;A fixed-length text string.&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;Binary Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;REG_RESOURCE_LIST&lt;/span&gt;&lt;br /&gt;A series of nested arrays that is designed to store a resource list that is used by a hardware device driver or one of the physical devices it controls. This data is detected and written in the \ResourceMap tree by the system and is displayed in Registry Editor in hexadecimal format as a Binary Value.&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;Binary Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;REG_RESOURCE_REQUIREMENTS_LIST&lt;/span&gt;&lt;br /&gt;A series of nested arrays that is designed to store a device driver&#39;s list of possible hardware resources the driver or one of the physical devices it controls can use. The system writes a subset of this list in the \ResourceMap tree. This data is detected by the system and is displayed in Registry Editor in hexadecimal format as a Binary Value.&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;Binary Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;REG_FULL_RESOURCE_DESCRIPTOR&lt;/span&gt;&lt;br /&gt;A series of nested arrays that is designed to store a resource list that is used by a physical hardware device. This data is detected and written in the \HardwareDescription tree by the system and is displayed in Registry Editor in hexadecimal format as a Binary Value.&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;None&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;REG_NONE&lt;/span&gt;&lt;br /&gt;Data without any particular type. This data is written to the registry by the system or applications and is displayed in Registry Editor in hexadecimal format as a Binary Value&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;Link&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(102, 102, 204);&quot;&gt;REG_LINK&lt;/span&gt;&lt;br /&gt;A Unicode string naming a symbolic link.&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;QWORD Value&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-style: italic;&quot;&gt;REG_QWORD&lt;/span&gt;&lt;br /&gt;Data represented by a number that is a 64-bit integer. This data is displayed in Registry Editor as a Binary Value and was introduced in Windows 2000.&lt;br /&gt;&lt;br /&gt;This tutorial doesn&#39;t contain any source.&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-5-.zip?gda=cgUd9UAAAABlfVWuXIpzd64Dx4ccEVW6_3oW7SoO6lFQ9ylpvzfvnGG1qiJ7UbTIup-M2XPURDQEN3EX5Hay0EATBrYQYf7s&quot;&gt;Download the tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;If you have any problem or you found a bug, post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.</description><link>http://thedotnetsource.blogspot.com/2008/03/tutorial-5-what-is-windows-registry.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-8968165002534856243</guid><pubDate>Fri, 28 Mar 2008 09:23:00 +0000</pubDate><atom:updated>2008-03-28T02:37:12.355-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><category domain="http://www.blogger.com/atom/ns#">vb.net</category><title>Tutorial 4: Avoiding the Timer Control</title><description>&lt;span style=&quot;color: rgb(102, 51, 255); font-weight: bold;&quot;&gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;I have done a long search on this theme. I have already published 2 tutorials on how to use timer.&lt;br /&gt;Now I found a method with vb.net on how to count without using the timer control.&lt;br /&gt;This can be helpful if you are using a Command Line Application&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(102, 51, 255);&quot;&gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    How this work?&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    A small sample&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    The stopwatch class&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;font-size:130%;&quot; &gt;1-    How this work?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It works exactly like the timer work! The stopwatch is a class that can help you count.&lt;br /&gt;To declare this class use this line of code:&lt;br /&gt;Imports System.Diagnostics.Stopwatch&lt;br /&gt;This line must be left in the top of the code before anything.&lt;br /&gt;I&#39;ll introduce in the 2d sample how to use the stop watch class.&lt;br /&gt;However in the next sample, I&#39;ll show a simple method to avoid using the timer control and the Stopwatch also.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    A small sample&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Our aim here is to calculate the time elapsed between 2 different steps in the program.&lt;br /&gt;This task seems to be complex and need a timer. But we&#39;ll do it without a timer in a very simple method.&lt;br /&gt;How this is done?&lt;br /&gt;The Now.tick return a time (don&#39;t matter what it return), however this time change regularly. (It&#39;s a real counter).&lt;br /&gt;Between the two steps we&#39;ll calculate the difference and divide it by 10,000,000. (Because Tick precision is Nano-second!!).&lt;br /&gt;This is the code so far:&lt;br /&gt;&lt;blockquote&gt; Dim First As Long&lt;br /&gt;        Dim second As Long&lt;br /&gt;        Dim time As Double&lt;br /&gt;        First = Now.Ticks&lt;br /&gt;        MsgBox(&quot;OK to see counted time&quot;)&lt;br /&gt;        second = Now.Ticks&lt;br /&gt;        time = (second - First) / 10000000&lt;br /&gt;        MsgBox(&quot;Time in seconds: &quot; &amp;amp; time.ToString())&lt;/blockquote&gt;&lt;br /&gt;See the sample for more information (Commented)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    The stop watch&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The previous method is helpful but can be limited to work with.&lt;br /&gt;The stop watch will solve the problem. It&#39;s a class that exist in the .net Frame Work.&lt;br /&gt;To declare this class use this line of code:&lt;br /&gt;Imports System.Diagnostics.Stopwatch&lt;br /&gt;This line must be left in the top of the code before anything.&lt;br /&gt;I have already mentioned this, but although people don&#39;t see it and then have a problem when trying to run their application.&lt;br /&gt;If you don&#39;t import the class you can&#39;t work with it!&lt;br /&gt;What&#39;s the stopwatch class? It&#39;s a stopwatch!&lt;br /&gt;How it works? exactly like the timer control, we can say that it&#39;s a timer control.&lt;br /&gt;This is the line that will create a new stopwatch&lt;br /&gt;&lt;blockquote&gt;Dim mystopwatch As New System.Diagnostics.Stopwatch&lt;/blockquote&gt;&lt;br /&gt;We&#39;ll start counting with the following line.&lt;br /&gt;&lt;blockquote&gt;mystopwatch.Start()&lt;/blockquote&gt;&lt;br /&gt;And we&#39;ll get the elapsed time with&lt;br /&gt;&lt;blockquote&gt;mystopwatch.Elapsed.Totalseconds&lt;/blockquote&gt;&lt;br /&gt;You can see the source code in the 2nd sample for more details.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-4-.zip?gda=ElA1y0AAAABlfVWuXIpzd64Dx4ccEVW64I10ssWXHNr7b4TB2wgVvWG1qiJ7UbTIup-M2XPURDTp6baUODSMrAIDSCNtFY4S&quot;&gt;Download Source Code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;-The two example source code&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;If you have any problem or you found a bug, post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.</description><link>http://thedotnetsource.blogspot.com/2008/03/tutorial-4-avoiding-timer-control.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-7323919112971406788</guid><pubDate>Fri, 28 Mar 2008 09:23:00 +0000</pubDate><atom:updated>2008-03-28T02:37:06.493-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">sql</category><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><title>Tutorial 3: Introduction for SQL Server</title><description>&lt;span style=&quot;color: rgb(102, 51, 255); font-weight: bold;&quot;&gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;If you are a beginner in the domain of Data Base then you may don&#39;t know what&#39;s SQL Server. SQL server is good for data base management and will make your applications save much time.&lt;br /&gt;In this tutorial that doesn&#39;t include any sample, we&#39;ll learn how to install and prepare MS SQL server; I&#39;ll post sample tutorials in later time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(102, 0, 204);&quot;&gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    Introduction to SQL Server 2005&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    Installation of SQL Server 2005&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    Getting started with SQL Server 2005&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    Introduction to SQL Server 2005&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I think you have an idea about Data bases (even about MS Access). A data base is a group of tables. Each tables posses some content and text on it. We&#39;ll see in later tutorials that we can include images and any file format.&lt;br /&gt;The Database group the data and the server help us manage those data. With the server, we can add record, delete, drop tables. We can also do queries, for example searching for special text in the database..&lt;br /&gt;An example of the power of the database:&lt;br /&gt;This example will show you the obvious difference that makes a server and a database.&lt;br /&gt;If you make a search for example using Windows Search (not in Vista because in Vista it indexes files), and suppose that you have 100,000 files to search.&lt;br /&gt;The computer will spend about 15 minutes crawling your disk and may block!&lt;br /&gt;Now let&#39;s make a search with Google or Yahoo. It find the words that you are searching in less than 1 second. However it searches in billions of pages!&lt;br /&gt;How this can be done? Simply those search engines are using a database.&lt;br /&gt;So you see the benefits of a database.&lt;br /&gt;However if you want to use SQL Server, then you need to install it on the machine where you want your application to use the database.&lt;br /&gt;luckily Microsoft offer MS SQL Server Express edition for free, so your clients can install it on their machines.&lt;br /&gt;This is a common and very asked question: What&#39;s the difference between Access and SQL?&lt;br /&gt;Access is a database but not a server; SQL is a server, it&#39;s role is to group all the databases and to manage them.&lt;br /&gt;This is what make SQL more customizable and faster. It also have many other advantages.&lt;br /&gt;SQL Server can also be used on Web application!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    Installation of SQL Server 2005&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We need to install SQL Server in order to use it; SQL server is like the sea, you can&#39;t take control of all its functionalities and tools. But Don&#39;t worry, me also I don&#39;t know all SQL Server tools and settings.&lt;br /&gt;This is not a problem. But if you want to become a professional I think, you must take some special lessons about it. You&#39;ll need also a long time to become professional. But this tutorial can be an introduction.&lt;br /&gt;Ok first we need to prepare the computer.&lt;br /&gt;We&#39;ll install the express edition that is free. You can download it from the Microsoft site.&lt;br /&gt;You&#39;ll need a 1 GHZ processor (at least 600 MHZ) and 1 GB memory.&lt;br /&gt;More the computer is fast, more SQL become fast. If you&#39;ll manipulate small data SQL won&#39;t be slow; but it&#39;s first starting or use may take some time (when you connect for the first time).&lt;br /&gt;After downloading SQL Server (about 50 Mb), execute the installation process.&lt;br /&gt;The setup will analyze your computer, this may take some time and then we&#39;ll give you the report.&lt;br /&gt;You may find warnings, read out the messages. It&#39;s better to have all the item green (success).&lt;br /&gt;Then press next to continue the setup.&lt;br /&gt;The SQL server should be installed&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    Getting started with SQL Server 2005&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you should have SQL Server 2005 installed, I recommend also that you download the Microsoft Online documentation about SQL Server as it includes many important and basic things.&lt;br /&gt;Now we are going to focus on the most important part of this server.&lt;br /&gt;So select Start &gt; All programs &gt; SQL Server 2005 &gt; Configuration tools.&lt;br /&gt;Here you&#39;ll find the main SQL server applications.&lt;br /&gt;We&#39;ll see only the &quot;SQL Server Configuration manager&quot; tool.&lt;br /&gt;This tools we&#39;ll allow us to stop and start the SQL servers.&lt;br /&gt;Click over SQL server 2005 services to see the installed servers on your Pc.&lt;br /&gt;It contains very important information and excellent tutorials.&lt;br /&gt;You may need to change those properties (of each SQL Server) in future when using SQL with VB.net.&lt;br /&gt;Now if you want to install a new server then do it with the installation package.&lt;br /&gt;There&#39;s other important things that I&#39;m going to notice now.&lt;br /&gt;Sometimes users complain that SQL server doesn&#39;t work on a network.&lt;br /&gt;This is normal as you have this setting disabled by default.&lt;br /&gt;To enable it and other settings, go to Protocols for YOURSERVERNAME and enable what you need.&lt;br /&gt;&lt;br /&gt;Note: There&#39;s no source code for this tutorial&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-3-.zip?gda=fBF2IUAAAABlfVWuXIpzd64Dx4ccEVW64I10ssWXHNr7b4TB2wgVvWG1qiJ7UbTIup-M2XPURDRParZ9EBEOYXicXFvaFWtC&quot;&gt;Download this tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;If you have any problem or you found a bug, post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.</description><link>http://thedotnetsource.blogspot.com/2008/03/tutorial-3-introduction-for-sql-server.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-6892362387967216748</guid><pubDate>Tue, 25 Mar 2008 10:19:00 +0000</pubDate><atom:updated>2008-03-25T03:42:50.509-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><category domain="http://www.blogger.com/atom/ns#">vb.net</category><title>Tutorial 2: Using the timer control in a complex situation (Text Animation)</title><description>&lt;span style=&quot;color: rgb(102, 51, 255); font-weight: bold;&quot;&gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;I have already explained well how to use the timer control. Now we&#39;ll try to use it in a complex (but not a lot) string problem.&lt;br /&gt;The aim is to create an animation program, that reads text and make an animation by displaying the first, then the second...characters until it get the last one, then it make it again.&lt;br /&gt;The speed can be also fixed. Also we&#39;ll added other settings like Mirror and Uppercase&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(102, 0, 204);&quot;&gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    Description of the string class&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    First Step: Making a handler&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    Next Step: Making a clear plan&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    The alarm example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    Description of the String Class:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have explained the Timer control, you can see it just in the previous post; now I want to highlight about the String Class.&lt;br /&gt;The String Class in Dot Net is different that the version 6.0 of Visual Studio. First it becomes an object, second some new features are available.&lt;br /&gt;I&#39;ll highlight one: The Upper and the lower function.&lt;br /&gt;This function will up case all the characters in the string or lower them.&lt;br /&gt;Those function exist in VS 6.0 but I&#39;m highlighting because we&#39;ll use them on our application.&lt;br /&gt;String.length (function): return the string length as integer&lt;br /&gt;String.substring (function): Retrieve a part from the string. You specify the starting and the length of this part.&lt;br /&gt;Notes for integers:&lt;br /&gt;n = n + 1 is the same as n += 1&lt;br /&gt;n = n - 1 is the same as n -= 1&lt;br /&gt;At end the string class isn&#39;t so complex or hard to use!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    First Step: Sample aim and controls&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let&#39;s see what we need and what we won&#39;t.&lt;br /&gt;The application must contain:&lt;br /&gt;&lt;br /&gt;* A text box for the speed of the animation&lt;br /&gt;* A text box for the text of the animation&lt;br /&gt;* A button to start the timer&lt;br /&gt;* A button to stop it (but we can also make them one button)&lt;br /&gt;* A check box for Uppercase&lt;br /&gt;* A check box for the mirror&lt;br /&gt;&lt;br /&gt;Now let see what the application does.&lt;br /&gt;The user type a text and set a speed. Then click Run to start the animation.&lt;br /&gt;The user can choose Uppercase to make the printing results upper or to make them normal by unchecking.&lt;br /&gt;If the user choose the mirror setting and the animation is running, it will stop it in order to reset the settings.&lt;br /&gt;Note:&lt;br /&gt;You can get many errors in this application for example if you enter a string and not an integer in the speed text box.&lt;br /&gt;In this case you must use the Try Catch End Try block in order to get exceptions.&lt;br /&gt;I didn&#39;t take care for this part as it isn&#39;t the subject of our work.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    Next Step: Making a clear plan&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The problem of most beginners programmers is where to start from?&lt;br /&gt;They have learn a lot but they didn&#39;t know how to use their knowledge.&lt;br /&gt;I&#39;ll show you how to create this project your self!&lt;br /&gt;Me also I can&#39;t make such as project from the first hit (instance I mean).&lt;br /&gt;I need to make parts and easier the project. I&#39;ll explain: Those are the parts that I have made before finishing my sample.&lt;br /&gt;&lt;br /&gt;- Making an animation with a string (not variable). The project contain only a Label to show the animation. This is the most difficult part in the project and it took about 5 minutes.&lt;br /&gt;- Adding the Run, Stop buttons (1 minute)&lt;br /&gt;- Making the speed and the text customizable by the user (1 minute)&lt;br /&gt;- Adding the Upper case check box (1 minute)&lt;br /&gt;- Adding the mirror check box (2 minutes)&lt;br /&gt;- Review of the project (1 minute)&lt;br /&gt;- Adding comments to the code(3 minutes)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;--&gt; Total time: about 15 minutes.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;It took a long time to make it! But it was finally made, because I divided my work on steps, from easier to harder and every time I make it a little bit harder.&lt;br /&gt;But If you want to make it from the first time, you&#39;ll probably have errors and missed things on your application (else you are a genius).&lt;br /&gt;Even with most easy case, this method is good; you learn how to organize your work.&lt;br /&gt;If you are a beginner don&#39;t try to start from the last tutorial but from the first one because I&#39;m increasing difficulty level each time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    Final Step: The first step&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As I said in the project plan, this is the most difficult step ever.&lt;br /&gt;I&#39;ll explain here only the first step, the rest you can easily understand it from the sample comment.&lt;br /&gt;The aim is to have an animation that get from the first character to the last character with the help of the timer that make a time for a loop.&lt;br /&gt;This is the most difficult sentence. It group all the needs; (From the first chr to the last chr) The first is always 0 and the last is always string.length.&lt;br /&gt;We have only to add 1 each time the timer call the event. Plus if the n times arrived (equal) the length of the string we must reset it to 0 or stop the timer so the error don&#39;t occur.&lt;br /&gt;How to get the text from the first to the last character:&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;result = anim.Substring(0, n)&lt;/blockquote&gt;&lt;br /&gt;We have to add 1 to n every time the timer call the procedure.&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;n += 1&lt;br /&gt;If n = ln Then n = 0&lt;/blockquote&gt;&lt;br /&gt;But also to reset it!&lt;br /&gt;See the source code for more information (read the comments).&lt;br /&gt;Note: for the mirror, we&#39;ll make like we have done in the normal case but to inverse!&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;result = anim.Substring(n2, n)&lt;/blockquote&gt;&lt;br /&gt;n2 is the length (we start from the end) and decrease by 1 each time the procedure is called.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-2-.zip?gda=-xnPaUAAAABlfVWuXIpzd64Dx4ccEVW6HVRLdiYZz80F7UlTzujC12G1qiJ7UbTIup-M2XPURDSupSg3n2vwLRo47RHovNVY&quot;&gt;Download the source code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;-The example source code&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255); font-style: italic;&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;If you have any problem or you found a bug, post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.</description><link>http://thedotnetsource.blogspot.com/2008/03/tutorial-2-using-timer-control-in.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-5139284795278790750</guid><pubDate>Sun, 23 Mar 2008 11:29:00 +0000</pubDate><atom:updated>2008-03-23T05:15:03.675-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><title>Tutorial 1: The timer control and stop watch application</title><description>&lt;span style=&quot;color: rgb(102, 102, 204); font-weight: bold;&quot;&gt;Reason of this project:&lt;/span&gt;&lt;br /&gt;Many of beginners’ programmers don’t know the timer control or how to use it to fit their needs.&lt;br /&gt;For this reason, I came with this tutorial to show what the timer control is and how to use it on our application.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 204); font-weight: bold;&quot;&gt;Project details:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    Description of the timer control&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    The timer example&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    The speed watch example&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    The alarm example&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-    Description of the timer control:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The timer control isn’t a timer and don’t show time. We use to create timer and speed watch.&lt;br /&gt;How it function?&lt;br /&gt;Simply, the timer control counts a period of time and then does an event.&lt;br /&gt;&lt;ul&gt;&lt;li&gt; You set an interval for the timer (for example 1 second)&lt;/li&gt;&lt;li&gt; You start the timer  &lt;/li&gt;&lt;li&gt; The timer start counting &lt;/li&gt;&lt;li&gt; 1 Second: The timer calls an event (that you have declared)  &lt;/li&gt;&lt;li&gt;The event does an action&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;--&gt; And the timer loop (every 1 second).&lt;br /&gt;&lt;br /&gt;We can say that the timer is a regular loop that does an event every interval of time that you set.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;If you ask Visual Studio to get the MSDN help it&#39;ll shows:&lt;/span&gt;&lt;br /&gt;The length of the intervals is defined by the Interval property, whose value is in milliseconds.&lt;br /&gt;When the component is enabled, the Tick event is raised every interval.&lt;br /&gt;This is where you would add code to be executed.&lt;br /&gt;For more information, see How to: Run Procedures at Set Intervals with the Windows Forms Timer Component.&lt;br /&gt;The key methods of the Timer component are Start and Stop, which turn the timer on and off.&lt;br /&gt;When the timer is switched off, it resets; there is no way to pause a Timer component.&lt;br /&gt;&lt;br /&gt;Many don&#39;t understand the MSDN help this is because you lack experience. The MSDN documentation thinks that you know every thing!&lt;br /&gt;But I&#39;ll explain on an easy way how to use it and understand all this text.&lt;br /&gt;To understand we&#39;ll do the first sample together, I&#39;ll explain as much as possible.&lt;br /&gt;For the 2 other samples just read the comments associated to the code source.&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-    The timer example&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this example we’ll create a clock that shows time. I know that every one can use the following expression: Date.now and get the time.&lt;br /&gt;But now we won’t to update it, I mean every 1 second the clock refresh and show the time again.&lt;br /&gt;If we use a loop this we’ll take much time of the computer process, plus the application we’ll not be stable and we’ll need threading…&lt;br /&gt;With the timer control we can do the clock with less problems and code lines.&lt;br /&gt;You can follow the steps to create the project or just read and see the source code.&lt;br /&gt;First create a new project and name it clock.&lt;br /&gt;Then take a clock control and a label control (only 2 controls)&lt;br /&gt;And now double click over the form and you should be in the Form Load part.&lt;br /&gt;First we need to set the timer interval. For our clock: 1 second.&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;Timer1.Interval = 1000&lt;/blockquote&gt;&lt;br /&gt;Now let’s start the timer. From this line the timer will start counting.&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;Timer1.Start()&lt;/blockquote&gt;&lt;br /&gt;Now create a sub that the counter will call.&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;Private Sub count(ByVal MyObject As Object, _&lt;br /&gt; ByVal myEventArgs As EventArgs)&lt;br /&gt;     Dim time As String&lt;br /&gt;     time = Date.Now.Hour &amp;amp; &quot;:&quot; &amp;amp; Date.Now.Minute &amp;amp; &quot;:&quot; &amp;amp; Date.Now.Second&lt;br /&gt;     Label1.Text = time&lt;br /&gt; End Sub&lt;/blockquote&gt;&lt;br /&gt;The ByVal MyObject As Object and the ByVal myEventArgs As EventArgs are elementar!&lt;br /&gt;&lt;br /&gt;Now we have to return to the form load. We need to make a relation between the timer and the sub.&lt;br /&gt;So before all (starting the timer and setting the interval), add the following line.&lt;br /&gt;&lt;blockquote style=&quot;font-style: italic;&quot;&gt;AddHandler Timer1.Tick, AddressOf count&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;All is done! Now run the project.Run the project. You should see the time update every second like the Windows clock.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    The Stop watch example&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I think you understood the timer control system. So I&#39;ll give only a description of this example.&lt;br /&gt;For more help read the comments to understand it better.&lt;br /&gt;The speed watch as it&#39;s name, is a speed watch =)&lt;br /&gt;Example aim : one button to start and stop the watch. Another button to reset.&lt;br /&gt;The user can specify the interval, so another button to set the interval.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-    The alarm example&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is a clock example! But we&#39;ll added a new function: The Alarm.&lt;br /&gt;You set a time where you want to show a message. When the timer control reach the time, it call the event.&lt;br /&gt;For more details see the project comments.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://vb2005.googlegroups.com/web/Tutorial-1-.zip?gda=I43wcEAAAABlfVWuXIpzd64Dx4ccEVW6gzwtS9oIKw--08iI2aIfe2G1qiJ7UbTIup-M2XPURDQEUf1gXz_xj5J0C_o40Gtg&quot;&gt;Download the source code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;The Zip file contains:&lt;/span&gt;&lt;br /&gt;-The 3 examples source code&lt;br /&gt;-The readme.txt file&lt;br /&gt;-The tutorial.txt file&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; color: rgb(51, 102, 255);&quot;&gt;Still have question:&lt;/span&gt;&lt;br /&gt;If you have any problem or you found a bug, post a comment describing your problem.&lt;br /&gt;If you have a general question, we highly recommend the MSDN Forums as the best Dot Net forums in the net.</description><link>http://thedotnetsource.blogspot.com/2008/03/tutorial-1-timer-control-and-stop-watch.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-5857422809215575555</guid><pubDate>Sun, 23 Mar 2008 11:14:00 +0000</pubDate><atom:updated>2008-03-23T04:19:20.045-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><title>Join our team and help others</title><description>We are making this work exactly for nothing. we want only to provide tutorial for people who want to learn Dot Net technologies.&lt;br /&gt;If you are a Dot Net programmer and interested in helping others for free, you can join our association and start creating tutorial for the benefit of all!&lt;br /&gt;To join our association please first post a comment in this post.&lt;br /&gt;Describe on it your activities on Dot Net and also on other domains.&lt;br /&gt;I&#39;ll contact you as soon as possible. I&#39;ll also invite other people that I think they are capable to create cool tutorials.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;Programmers in the Dot Net source Community:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://omarabid.blogspot.com&quot;&gt;Omar Abi&lt;/a&gt;&lt;a href=&quot;http://omarabid.blogspot.com&quot;&gt;d&lt;/a&gt; (&lt;a href=&quot;mailto:omar.abid2006@gmail.com&quot;&gt;Contact him&lt;/a&gt;)</description><link>http://thedotnetsource.blogspot.com/2008/03/join-our-team-and-help-others.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-1113923733411329881</guid><pubDate>Sun, 23 Mar 2008 11:12:00 +0000</pubDate><atom:updated>2008-03-23T04:14:18.463-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><title>Help us spread the world</title><description>We are doing a great work and we hope that you enjoy it!&lt;br /&gt;&lt;br /&gt;Help us spread the world by any of those manners:&lt;br /&gt;•    We submit always our tutorials to Digg, Stumble Upon, Reedit. Try to review, comment and vote for our tutorials.&lt;br /&gt;•    Tell your friend about us: You are a beginner programmer or you know a beginner programmer, tell him about our blog and the tutorial that it contains.&lt;br /&gt;•    Have a blog or a site: Link to us and to our tutorials.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Help people and other programmers get the most out of this blog. But also join our group to create free tutorials for the benefits of all people.</description><link>http://thedotnetsource.blogspot.com/2008/03/help-us-spread-world.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-7206474823123105697</guid><pubDate>Sun, 23 Mar 2008 11:08:00 +0000</pubDate><atom:updated>2008-03-23T04:10:36.053-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><title>Read this post first!</title><description>Please read this file carefully before using our tutorials. (You&#39;ll find this post in every tutorial that you download in the Readme.txt file)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(102, 51, 255);&quot;&gt;About Those tutorials:&lt;/span&gt;&lt;br /&gt;Dot Net Source, is a group of tutorials and source code unique and perfect.&lt;br /&gt;Those tutorials are made by a group. You can see people who have join the Dot Net Source, at the Dot Net Source Blog (http://thedotnetsource.blogspot.com)&lt;br /&gt;You can join, use, read, comment and do many activities in the Dot Net Source Blog.&lt;br /&gt;If you have any questions or problems, you can post your question at the MSDN Forums.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 51, 255); font-weight: bold;&quot;&gt;Terms of use:&lt;/span&gt;&lt;br /&gt;This is a free, open source and with help code snippets. Our projects are associated with tutorials.&lt;br /&gt;Before using those tutorials please read the following terms. (Those terms are unique and made for the Dot Net Source Community)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;1-&lt;/span&gt;    We made Dot Net project and we review our code many times, although we are not responsible of any problem or bug that may occur while using our projects.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;2-&lt;/span&gt;    You use these projects (code) at your own risk.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;3-    &lt;/span&gt;Our Zip files (projects) that you download from the blog are secure and we certify that they don’t contain any virus or sypware. But we aren’t responsible for any problem that may occur from downloading our sources.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;4-&lt;/span&gt;    This project is Open Source, but if you want to show it in your blog or site or forum, just include a link to the tutorial post.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;5-&lt;/span&gt;    You can freely use this source on your application.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;6-&lt;/span&gt;    Don’t copy the tutorial and the source and made them your own in your site.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;7-&lt;/span&gt;    The tutorial and the source are subject of change without prevention, so visit our site regularly to know the latest updates.&lt;br /&gt;&lt;br /&gt;Have a nice time using our projects to improve your application and learn new dot net technologies.</description><link>http://thedotnetsource.blogspot.com/2008/03/read-this-post-first.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-1097957151366440945</guid><pubDate>Sun, 23 Mar 2008 09:44:00 +0000</pubDate><atom:updated>2008-03-23T03:25:33.418-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">General</category><title>About Dot Net Source</title><description>The Dot Net Source blog was originally made by &lt;a href=&quot;http://omarabid.blogspot.com&quot;&gt;Omar Abid&lt;/a&gt; in order to help Dot Net beginners to understand more Dot Net bases and to be skilled, but also to remember the Dot Net functions that he forgot because of studying matters :).&lt;br /&gt;The Dot Net Source is totally Open Source. Project or samples are associated with Tutorials to show you how to create and manipulate the Dot Net.&lt;br /&gt;Please respect this work and don&#39;t copy it. If you like it, just give us a link or a comment.&lt;br /&gt;Have a nice day!</description><link>http://thedotnetsource.blogspot.com/2008/03/test.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8245232030106985674.post-5147686104326299794</guid><pubDate>Sun, 23 Mar 2008 09:21:00 +0000</pubDate><atom:updated>2008-05-10T02:26:51.236-07:00</atom:updated><title>The Dot Net Source Logo</title><description>&lt;div&gt;&lt;div&gt;We have made the Dot Net Source logo in order to advertise with it.&lt;br /&gt;Every one can put the Dot Net Source logo in his blog in order to help us and our code source spread the world.&lt;br /&gt;We have also a Banner that will be used with affiliate and friends sites.&lt;br /&gt;However you can publish any of our tutorial on your blog in condition that you add the banner in top of the tutorial post.&lt;br /&gt;&lt;br /&gt;The logo&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAPtphhYVN7Es_tyWcWdeyNHmYb0wKZUJOI_dqCFVgOotXMG2nJZUMAkgVfM0VowvMQPScxDCEbAdQPGJ9tEQKXOk-rAXnDjdTIyD3SsisRccpBFYw4-5uDG78YW1_HxD83qCHRElMK7Y/s1600-h/logo.jpg&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5198677499617081714&quot; style=&quot;CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAPtphhYVN7Es_tyWcWdeyNHmYb0wKZUJOI_dqCFVgOotXMG2nJZUMAkgVfM0VowvMQPScxDCEbAdQPGJ9tEQKXOk-rAXnDjdTIyD3SsisRccpBFYw4-5uDG78YW1_HxD83qCHRElMK7Y/s320/logo.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The banner&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8_5u-Ro50pLhpvklLHwDfnyzawHo3AODKSdx6SAogeh54mflVzCiZwsnuS-ATvFeeCF5DjG7x4_eHRmy_L2bFlWeS64SJFo3kJPGe5YLzCtCk-xZlIHxgF1fKqU7rTbAyvYlHXan-rmk/s1600-h/banner.jpg&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5198677697185577346&quot; style=&quot;CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8_5u-Ro50pLhpvklLHwDfnyzawHo3AODKSdx6SAogeh54mflVzCiZwsnuS-ATvFeeCF5DjG7x4_eHRmy_L2bFlWeS64SJFo3kJPGe5YLzCtCk-xZlIHxgF1fKqU7rTbAyvYlHXan-rmk/s320/banner.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://thedotnetsource.blogspot.com/2008/03/dot-net-source-logo.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAPtphhYVN7Es_tyWcWdeyNHmYb0wKZUJOI_dqCFVgOotXMG2nJZUMAkgVfM0VowvMQPScxDCEbAdQPGJ9tEQKXOk-rAXnDjdTIyD3SsisRccpBFYw4-5uDG78YW1_HxD83qCHRElMK7Y/s72-c/logo.jpg" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>