﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Share [IT]</title>
    <description>Saru </description>
    <link>http://www.wwwcoder.com/Weblogs/tabid/283/BlogId/153/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>saradha.balakrishnan@wipro.com</managingEditor>
    <webMaster>webmaster@wwwcoder.com</webMaster>
    <pubDate>Sat, 17 May 2008 08:18:10 GMT</pubDate>
    <lastBuildDate>Sat, 17 May 2008 08:18:10 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.2.0.29758</generator>
    <item>
      <title>Stocks</title>
      <description>&lt;TABLE cellSpacing=0 cellPadding=0 width="97%" border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=3&gt;&lt;B&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=3&gt;&lt;B&gt;&lt;BR&gt;&lt;/B&gt;&lt;/FONT&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 width=275 align=right border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV align=right&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;/FONT&gt; &lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=3&gt;&lt;B&gt;Stock Basics: Introduction &lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;Wouldn't you love to be a business owner without ever having to show up at work? Imagine if you could sit back, watch your company grow, and collect the dividend checks as the money rolls in! This situation might sound like a dream, but it's closer to reality than you might think. &lt;BR&gt;&lt;BR&gt;As you've probably guessed, we're talking about owning stocks. This fabulous category of financial instruments is, without a doubt, one of the greatest tools ever invented for building wealth. Stocks are a part, if not the cornerstone, of nearly any investment portfolio. When you start on your road to financial freedom, you need to have a solid understanding of stocks and how they trade on the stock market. &lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;Over the last few decades, the average person's interest in the stock market has grown exponentially. What was once a toy of the rich has now turned into the vehicle of choice for growing wealth. This demand coupled with advances in trading technology has opened up the markets so that nowadays nearly anybody can own stocks. &lt;BR&gt;&lt;BR&gt;Despite their popularity, however, most people don't fully understand stocks. Much is learned from conversations around the water cooler with others who also don't know what they're talking about. Chances are you've already heard people say things like, "Bob's cousin made a killing in XYZ company, and now he's got another hot tip..." or "Watch out with stocks--you can lose your shirt in a matter of days!" So much of this misinformation is based on a get-rich-quick mentality, which was especially prevalent during the amazing dotcom market in the late 90s. People thought that stocks were the magic answer to instant wealth with no risk. The ensuing dotcom crash proved that this is not the case. Stocks can (and do) create massive amounts of wealth, but they aren't without risks. The only solution to this is education. The key to protecting yourself in the stock market is to understand where you are putting your money.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;STRONG&gt;The Definition of a Stock&lt;/STRONG&gt; &lt;BR&gt;Plain and simple, stock is a share in the ownership of a company. Stock represents a claim on the company's assets and earnings. As you acquire more stock, your ownership stake in the company becomes greater. Whether you say shares,equity or stock, it all means the same thing. &lt;BR&gt;&lt;BR&gt;&lt;B&gt;Being an Owner&lt;/B&gt; &lt;BR&gt;Holding a company's stock means that you are one of the many owners (shareholders) of a company, and, as such, you have a claim (albeit usually very small) to everything the company owns. Yes, this means that technically you own a tiny sliver of every piece of furniture, every trademark, and every contract of the company. As an owner, you are entitled to your share of the company's earnings as well as any voting rights attached to the stock. &lt;BR&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;Being a shareholder of a public company does not mean you have a say in the day-to-day running of the business. Instead, one vote per share to elect the board of directors at annual meetings is the extent to which you have a say in the company. For instance, being a Microsoft shareholder doesn't mean you can call up Bill Gates and tell him how you think the company should be run. In the same line of thinking, being a shareholder of Anheuser Busch doesn't mean you can walk into the factory and grab a free case of Bud Light!&lt;BR&gt;&lt;BR&gt;The management of the company is supposed to increase the value of the firm for shareholders. If this doesn't happen, the shareholders can vote to have the management removed--well, this is the theory anyway. In reality, individual investors like you and I don't own enough shares to have a material influence on the company. It's really the big boys like large institutional investors and billionaire entrepreneurs who make the decisions.&lt;BR&gt;&lt;BR&gt;Shareholders not being able to manage the company isn't too big a deal. After all, the idea is that you don't want to have to work to make money, right? The importance of being a shareholder is that you are entitled to a portion of the company’s profits and have a claim on assets. Profits are sometimes paid out in the form of dividends. The more shares you own, the larger the portion of the profits you get. Your claim on assets is only relevant if a company goes bankrupt.In case of liquidation, you'll receive what's left after all the creditors have been paid. This last point is worth repeating: &lt;B&gt;the importance of stock ownership is your claim on assets and earnings. Without this, the stock wouldn't be worth the paper it's printed on.&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;Another extremely important feature of stock is its limited liability, which means that, as an owner of a stock, you are not personally liable if the company is not able to pay its debts. Other companies such as partnerships are set up so that if the partnership goes bankrupt the creditors can come after the partners (shareholders) personally and sell off their house, car, furniture, etc. Owning stock means that, no matter what, the maximum value you can lose is the value of your investment. Even if a company of which you are a shareholder goes bankrupt, you can never lose your personal assets.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Debt vs. Equity &lt;/B&gt;&lt;BR&gt;Why does a company issue stock? Why would the founders share the profits with thousands of people when they could keep profits to themselves? The reason is that at some point every company needs to raise money. To do this, companies can either borrow it from somebody or raise it by selling part of the company, which is known as issuing stock. A company can borrow by taking a loan from a bank or by issuing bonds. Both methods fit under the umbrella of "debt financing” On the other hand, issuing stock is called "equity financing." Issuing stock is advantageous for the company because it does not require the company to pay back the money or make interest payments along the way. All that the shareholders get in return for their money is the hope that the shares will some day be worth more. The first sale of a stock, which is issued by the private company itself, is called the initial public offering. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;BR&gt;It is important that you understand the distinction between a company financing through debt and financing through equity. When you buy a debt investment such as a bond, you are guaranteed the return of your money (the principal) along with promised interest payments. This isn't the case with an equity investment. By becoming an owner, you assume the risk of the company not being successful. Just as a small business owner isn't guaranteed a return, neither is a shareholder. As an owner your claim on assets is lesser than that of creditors. This means that if a company goes bankrupt and liquidates, you, as a shareholder, don't get any money until the banks and bondholders have been paid out; we call this absolute priority. Shareholders earn a lot if a company is successful, but they also stand to lose their entire investment if the company isn't successful.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Risk&lt;/B&gt; &lt;BR&gt;It must be emphasized that there are no guarantees when it comes to individual stocks. Some companies pay out dividends, but many others do not. And there is no obligation to pay out dividends even for those firms that have traditionally given them. Without dividends an investor can make money on a stock only through its appreciation in the open market. On the downside, any stock may go bankrupt, in which case your investment is worth nothing. &lt;BR&gt;&lt;BR&gt;Although risk might sound all negative, there is also a bright side. Taking-on greater risk demands a greater return on your investment. This is the reason why stocks have historically outperformed other investments such as bonds or savings accounts. Over the long term, an investment in stocks has historically had an average return of around 10%-12%. A great proof of the power of owning equities is General Electric. &lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Verdana, Arial, Helvetica, sans-serif" size=2&gt;&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <link>http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/911/Default.aspx</link>
      <author>saradha.balakrishnan@wipro.com</author>
      <comments>http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/911/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.wwwcoder.com/Default.aspx?tabid=283&amp;EntryID=911</guid>
      <pubDate>Fri, 30 Jul 2004 23:46:00 GMT</pubDate>
      <slash:comments>2</slash:comments>
      <trackback:ping>http://www.wwwcoder.com/DesktopModules/Blog/Trackback.aspx?id=911</trackback:ping>
    </item>
    <item>
      <title>News Update</title>
      <description>&lt;P&gt;&lt;STRONG&gt;Stay Updated:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Stocks:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;TISCO &lt;/STRONG&gt;has planned to provide 1:2  bonus             &lt;/LI&gt;&lt;/UL&gt;
&lt;P align=left&gt;&lt;FONT face="Times New Roman" size=3&gt;“The board of directors of the company, at its meeting held today, has decided to issue bonus shares in the ratio of 1:2 i.e. one bonus share for every two existing ordinary shares held by the members of the company, on a record date to be fixed later for this purpose. The issue of bonus shares is subject to the approval of the shareholders to be obtained at the annual general meeting of the company on July 22, 2004. “&lt;/FONT&gt;&lt;/P&gt;
&lt;P align=left&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;A href="http://www.tata.com/tata_steel/releases/20040607.htm"&gt;http://www.tata.com/tata_steel/releases/20040607.htm&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;STRONG&gt;TCS IPO &lt;/STRONG&gt;now open&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;   &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="Times New Roman" color=#004b91 size=3&gt;&lt;I&gt;TCS to issue 55,452,600 equity shares of Rs 1 each for cash at a premium through a 100% book building process.&lt;/I&gt; &lt;/FONT&gt;
&lt;LI&gt;&lt;FONT face="Times New Roman" color=#004b91 size=3&gt;&lt;I&gt;The indicative price band has been fixed at Rs 775 and Rs 900 per equity share of Rs.1 each.&lt;/I&gt; &lt;/FONT&gt;
&lt;LI&gt;&lt;FONT face="Times New Roman" color=#004b91 size=3&gt;&lt;I&gt;The books will open to accept offers/bids on 29 July 2004 and close on 5 August 2004.&lt;/I&gt; &lt;/FONT&gt;
&lt;LI&gt;&lt;FONT face="Times New Roman" color=#004b91 size=3&gt;&lt;I&gt;The shares are to be listed on the National Stock Exchange and The Stock Exchange, Mumbai.&lt;/I&gt; &lt;/FONT&gt;
&lt;LI&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;FONT color=#004b91&gt;&lt;I&gt;The Book Running Lead Managers for the issue are JM Morgan Stanley Pvt. Ltd., DSP Merrill Lynch Ltd. and JP Morgan India Pvt. Ltd.&lt;/I&gt;&lt;/FONT&gt; &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Current on Market:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;TITAN With its FLIP watch :costs 7995&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Titan’s latest offering, takes sophistication to a higher level with the introduction of ‘FLIP’, India’s first dual face watch with dual functionality and styling. FLIP, once again underscores the excellent collaborative work undertaken between Titan’s Design Studio, the Production Department and the R&amp;D team.&lt;BR&gt;&lt;BR&gt;Watches in the FLIP collection incorporate two watch movements embedded in a single case. The dual faced watch allows wearers to switch between international time zones and alternative lifestyles – be it formal or casual, with the mere ‘flip’ of the dial. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face="Times New Roman" size=3&gt;     &lt;/P&gt;
&lt;P align=left&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;</description>
      <link>http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/910/Default.aspx</link>
      <author>saradha.balakrishnan@wipro.com</author>
      <comments>http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/910/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.wwwcoder.com/Default.aspx?tabid=283&amp;EntryID=910</guid>
      <pubDate>Fri, 30 Jul 2004 23:31:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.wwwcoder.com/DesktopModules/Blog/Trackback.aspx?id=910</trackback:ping>
    </item>
    <item>
      <title>.Net HTTP Response</title>
      <description>&lt;P&gt;.Net has made a lot of things easier for us developers.  One of these things is the way we do &lt;FONT color=#ff1493&gt;&lt;U&gt;HTTP Post and HTTP&lt;/U&gt;&lt;/FONT&gt; &lt;FONT color=#ff1493&gt;&lt;U&gt;Get&lt;/U&gt;.&lt;/FONT&gt;  In classic ASP 3 you were forced to use 3rd party controls.but in .&lt;U&gt;NET &lt;/U&gt; we can use as below&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #000000"&gt;Response.&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Write&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(EasyHTTP.Send(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;http://yahoo.com&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;))&lt;BR&gt;Response.&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Write&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(EasyHTTP.Send(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;http://search.yahoo.com/bin/search&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;p=test&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;))&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; EasyHTTP.vb class file&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Public&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; EasyHTTP&lt;BR&gt;    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Public&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Enum&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HTTPMethod &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Short&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;        HTTP_GET &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;0&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;        HTTP_POST &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;1&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Enum&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;BR&gt;    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Public&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Shared&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Send(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; URL &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;String&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, _&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Optional&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; PostData &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;String&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, _&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Optional&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Method &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HTTPMethod &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HTTPMethod.HTTP_GET, _&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Optional&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; ContentType &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;String&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Request &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HttpWebRequest &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WebRequest.Create(URL)&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Response &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HttpWebResponse&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; SW &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; StreamWriter&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; SR &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; StreamReader&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; ResponseData &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;String&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Prepare Request Object&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;        Request.Method &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Method.ToString().Substring(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;5&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Set form/post content-type if necessary&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; (Method &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HTTPMethod.HTTP_POST &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;AndAlso&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; PostData &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&gt;&lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;AndAlso&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; ContentType &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;            ContentType &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;application/x-www-form-urlencoded"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Set Content-Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; (ContentType &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&gt;&lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;            Request.ContentType &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; ContentType&lt;BR&gt;            Request.ContentLength &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; PostData.Length&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Send Request, If Request&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; (Method &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; HTTPMethod.HTTP_POST) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;            &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Try&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;                SW &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;New&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; StreamWriter(Request.GetRequestStream())&lt;BR&gt;                SW.&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Write&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(PostData)&lt;BR&gt;            &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Catch&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Ex &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Exception&lt;BR&gt;                &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Throw&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Ex&lt;BR&gt;            &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Finally&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;                SW.Close()&lt;BR&gt;            &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Try&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Receive Response&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Try&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;            Response &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Request.GetResponse()&lt;BR&gt;            SR &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;New&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; StreamReader(Response.GetResponseStream())&lt;BR&gt;            ResponseData &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; SR.ReadToEnd()&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Catch&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Wex &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;As&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; System.Net.WebException&lt;BR&gt;            SR &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;New&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; StreamReader(Wex.Response.GetResponseStream())&lt;BR&gt;            ResponseData &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; SR.ReadToEnd()&lt;BR&gt;            &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Throw&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;New&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Exception(ResponseData)&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Finally&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;            SR.Close()&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Try&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;BR&gt;        &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Return&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; ResponseData&lt;BR&gt;    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Class&lt;/SPAN&gt;&lt;/P&gt;</description>
      <link>http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/909/Default.aspx</link>
      <author>saradha.balakrishnan@wipro.com</author>
      <comments>http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/909/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.wwwcoder.com/Default.aspx?tabid=283&amp;EntryID=909</guid>
      <pubDate>Thu, 29 Jul 2004 21:23:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.wwwcoder.com/DesktopModules/Blog/Trackback.aspx?id=909</trackback:ping>
    </item>
  </channel>
</rss>