<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4545302244139721144</id><updated>2011-07-08T03:52:45.934+05:30</updated><category term='dad'/><category term='interview'/><category term='engineering college: struggle'/><category term='short session.'/><category term='bsc'/><category term='achievements;'/><category term='personal'/><category term='hyderabad trip. training sessions'/><category term='starting troubles.'/><category term='admission'/><category term='CAB'/><category term='IT'/><category term='xsl transformation'/><category term='wipro'/><category term='first job'/><category term='windows application development'/><category term='happiness'/><category term='school'/><category term='join'/><category term='red faced'/><category term='bunk'/><category term='first semester'/><title type='text'>Varun Sharma- New Delhi</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-8775600673524080906</id><published>2009-12-23T14:05:00.001+05:30</published><updated>2009-12-23T14:05:15.773+05:30</updated><title type='text'>Bitter reality: Are we the real Ants in India</title><content type='html'>Today I am writing this article after bearing the burnt of worsening conditions of our metros cos of various reasons.. every thins is getting worse right from road to transport to population to pollution to jobs to appraisals to salaries to property to home to relations… everything is coming down to money and nothing is improving in near years. (Though govt makes many promises)… I want to put here some concerns that our metros are yelling us for.. I have been in Delhi for most of my life (except 2 Yrs in Bangalore and 1.5 Years in Mumbai). I have seen cities conditions deteriorating day by day and still cannot do anything about it... (the only option is to quit your job and get working, which in turn is rather slow process). I will start with Delhi where I was born.. I use to be a school kid and never faced any tough situations however some one has truly said "not knowledge without collage". I moved to engineering college around 20Kms from my home. Though the government provide Student passes at almost free cost (re 12.5 /month) however you have to have a real courage to get the bus pass (and renewal as well) there are very few buses to catch on... you break your journey several times (I used to change almost 6 buses at times one way).. but I could see it as enjoyment with friends hopping in buses and traveling around almost for free.. Now come the bitter learning.. after completing my engineering, I joined Wipro in Bangalore in 2003. The office was damn good and it use to take max 30 mins to reach Electronic City (EC) from BTM layout (the place where I had my PG)…by the time 2 months passed I was transferred to a nearby office and never went to EC again. I was happy for this however soon I realized that my journey to near office is getting longer.. It use to take max 10 mins which increased to 20 and then to 30 and then 45 mins eventually.. The mad rush on roads increased and at times I walked to reach home early.. Everyday its common to see jams on both sides of Madiwala junction for miles and every day me and my friend (Sandeep) will try to find a new way to reach to office where we do not find terrific traffic… In this scenario I went to my MCP exam in EC prometric to get into a from BTM at 8.45 and reach EC in next 2 hours.. I was not able to believe so much traffic on the road like which use to be a festival rush like Diwali or Durga Pooja…co traveler told me that it’s a daily story now… I was really taken aback by this situation of the city...bad traffic management, roads were all flooded on either sides and people were driving cars like boats in mud.. buses are stuffed like all times high with people getting on each other to get in and some lucky ones get place on foot boards.. Holding bus handles with one hands and asking conductor for ticket from outside. I thanked god for working on a nearer place however I felt pity about people who face this everyday… weather also became bad as the time passed… I felt like leaving the city and I did so…&lt;br /&gt;after a while my luck brought me to Mumbai… the bollywood city of India… the first day I arrived there at Borivali station I felt like I will get drowned in a pool of people around me… I had to go to Goregaon and some one suggested me to take a local… When I saw the local coming towards station, I cannot believe my eyes.. people are already handing out on the doors and windows then how come people on this platform go in but to my wonders it work like stock exchange where millions are traded in a couple on seconds… train came, stopped.. for a while the platform was full and then it was all empty again.. This was the first Mumbai magic I saw… while I was in these cities I still use to come back to Delhi every 2-3 months for 5 days to see my family however I used to be at home only to spend more time with my family… I could never realize that its not only Bangalore, Mumabi (and possible all other cities) getting worse but Delhi is also one of them…. I saw the same trend in Mumabi which was already crowded and by the time I left Mumbai in 18 months it became worst… in normal office hours one use have tough time traveling towards church gate but now even reverse way is evenly crowded... I thought that all cities are crap and I decided to move to delhi in search of better work place.&lt;br /&gt;&lt;br /&gt;I came to delhi and for initial 4-5 months delhi was good however I felt like evening recession people are going for more and more cars and main highways are really choking out… it was NH8 that got 8 lanes highyway for 23kms and it use to take 20 mins to reach home cruising at 90 kmph however now at peak hour one can never go beyond 50KMPH and cars run bumper to bumper..&lt;br /&gt;&lt;br /&gt;So this was more about how cities are getting suffocated in recent times with hell lot of traffic and traveling…&lt;br /&gt;&lt;br /&gt;NOW Coming to the main topic which is the Reasons for thes ( would like you guys to add here)&lt;br /&gt;&lt;br /&gt;People feel like in Metro are cool and full of aish 'o' aaram (fantastic people, buildings/towers, trains, markets, lifestyle and all that once can imagine).. First and the foremost reason for this is worst public transport added with influx of outsiders. Today you will hardly see people around you being in Delhi for more that 15 yrs or having born here... at my work place I see most of people working from other parts or India (almost 60%). This leads to a huge rush for rented accommodation hence increased prices with unsolicited demands, week end/frequent travel to home towns and increased load on the cities, transport, fuel consumption etc. with bad public transport one has a real hard time to reach office from Delhi to Gurgaon/Noida. There are may people like me who travel around 80 KMs per day and most of the 10 people working in same building come independently.. the only reason being the timings do not match…at one point I feel that is you “feel proud ego” to drive your car is more important… bigger car means better image.. One of the solution this I feel can be making firms (be it IT or others) to be more local so that people have an option to work from home so that they spend less time traveling and less rush on roads and in turn more with their families…thought there have been many initiatives to promote car pool but people like me are eying at Delhi motro to expand as much for safe and easy travel (but trust me metro is almost getting near to Mumbai local now a days)… to avoid mad rush of people coming into cities, industries should trying reaching to smaller cities and government should help them by providing relevant amenities (inspite of harassing them like tata neon suffered in singur)…this way we will reduce the pressure on air and train traffic also..&lt;br /&gt;&lt;br /&gt;Another problem is construction.. be it for flyovers or personal.. Every time there is a construction happening, if its personal people assume the main road to be their own property and start putting garbage and construction material on the road.. in the same way as soon as a new flyover open… then next day you will find a road side shop under it…. The day a new pavement or round about is created.. beggars come and make it their home… I don’t know what is govt doing to these.. just giving them ration cards and making their vote bank..I now remember the story of grasshopper and ants (http://varun-y-sharma.blogspot.com/2009/12/india-ant-and-grasshopper-story.html) and truly today I feel like leaving India seeing facilities and discipline other developed countries providing all basic amenities to their every citizen and help them to grow better. Will append some more later or I will request you guys to add your cities woes here.....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cheers&lt;br /&gt;&lt;br /&gt;varun sharma&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-8775600673524080906?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/8775600673524080906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=8775600673524080906' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8775600673524080906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8775600673524080906'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2009/12/bitter-reality-are-we-real-ants-in.html' title='Bitter reality: Are we the real Ants in India'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-307123240769414517</id><published>2009-12-22T19:39:00.000+05:30</published><updated>2009-12-22T20:09:29.444+05:30</updated><title type='text'>India - the ant and the grasshopper story</title><content type='html'>OLD VERSION...&lt;br /&gt;&lt;br /&gt;The ant works hard in the withering heat all summer long building his house and laying up supplies for the winter. The &lt;span class="il"&gt;grasshopper&lt;/span&gt; thinks the ant's a fool and laughs &amp;amp; dances &amp;amp; plays the summer away. Come winter, the ant is warm and well fed. The &lt;span class="il"&gt;grasshopper&lt;/span&gt; has no food or shelter so he dies out in the cold. &lt;br /&gt;&lt;br /&gt;MODERN VERSION&lt;br /&gt;The ant works hard in the withering heat all summer long, building his house and laying up supplies for the winter. The &lt;span class="il"&gt;grasshopper&lt;/span&gt; thinks the ant's a fool and laughs &amp;amp; dances &amp;amp; plays the summer away. Come winter, the shivering rasshopper calls a press conference and demands to know why the ant should be allowed to be warm and well fed while others are cold and starving.&lt;br /&gt;&lt;br /&gt;NDTV, BBC, CNN show up to provide pictures of the shivering &lt;span class="il"&gt;grasshopper&lt;/span&gt; next to a video of the ant in his comfortable home with a table filled with food.&lt;br /&gt;&lt;br /&gt;The World is stunned by the sharp contrast. How can this be that this poor &lt;span class="il"&gt;grasshopper&lt;/span&gt; is allowed to suffer so? Arundhati Roy stages a demonstration in front of the ant's house. Medha &lt;br /&gt;Patkar goes on a fast along with other grasshoppers demanding that grasshoppers be relocated to warmer climates during winter. Amnesty International and Koffi Annan criticize the Indian Government for not upholding the fundamental rights of the &lt;span class="il"&gt;grasshopper&lt;/span&gt;. The Internet is flooded with online petitions seeking support to the &lt;span class="il"&gt;grasshopper&lt;/span&gt; (many promising &lt;br /&gt;Heaven and Everlasting Peace for prompt support as against the wrath of God for non-compliance). Opposition MP's stage a walkout.Left parties call for "Bharat Bandh" in West Bengal and Kerala demanding a Judicial Enquiry.CPM in Kerala immediately passes a law preventing Ants from working hard in the heat so as to bring about equality of poverty among ants and grasshoppers.&lt;br /&gt;&lt;br /&gt;Lalu Prasad allocates one free coach to grasshoppers on all Indian Railway Trains, aptly named as the '&lt;span class="il"&gt;Grasshopper&lt;/span&gt; Rath'. &lt;br /&gt;&lt;br /&gt;Finally, the Judicial Committee drafts the Prevention of Terrorism Against Grasshoppers Act [POTAGA]", with effect from the beginning of the winter. Arjun Singh makes Special Reservation for Grass Hopper in educational Insititutions &amp;amp; in Govt Services. The ant is fined for failing to comply with POTAGA and, having nothing left to pay his retroactive taxes, his home is confiscated by the Government and handed over to the &lt;span class="il"&gt;grasshopper&lt;/span&gt; in a ceremony covered by NDTV. Arundhati Roy calls it "a triumph of justice". Lalu calls it 'Socialistic Justice'. CPM calls it the 'revolutionary resurgence of the downtrodden'&lt;br /&gt;&lt;br /&gt;Koffi Annan invites the &lt;span class="il"&gt;grasshopper&lt;/span&gt; to address the UN General Assembly. Many years later...The ant has since migrated to the US and set up a multi billion dollar company in silicon valley. 100s of grasshoppers still die of starvation despite reservation somewhere in India ... As a result loosing lot of hard working ants and feeding the grasshoppers India is still a developing country...... Can any one dare to bring India out of this clutches...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-307123240769414517?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/307123240769414517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=307123240769414517' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/307123240769414517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/307123240769414517'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2009/12/india-ant-and-grasshopper-story.html' title='India - the ant and the grasshopper story'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-8223815615457031179</id><published>2009-09-16T10:37:00.004+05:30</published><updated>2010-01-21T21:40:28.187+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='xsl transformation'/><title type='text'>Tech bite</title><content type='html'>translating using XSLT&lt;br /&gt;&lt;br /&gt;Hi we have been seeing requirement for translating incoming request to our systems in XML formats. Here is something we can do.&lt;br /&gt;&lt;?xml version="1.0" ?&gt;&lt;br /&gt;&lt;xsl:stylesheet xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&gt;&lt;br /&gt;  &lt;xsl:output method="xml" indent="yes"&gt;&lt;br /&gt;  &lt;xsl:variable name="mdf"&gt;&lt;br /&gt;    &lt;xsl:value-of select="/TagDetails/MDF/Name"&gt;&lt;br /&gt;  &lt;/xsl:variable&gt;&lt;br /&gt;  &lt;xsl:variable name="pillar"&gt;&lt;br /&gt;    &lt;xsl:value-of select="/TagDetails/Pillar/Name"&gt;&lt;br /&gt;  &lt;/xsl:variable&gt;&lt;br /&gt;  &lt;xsl:variable name="subpillar"&gt;&lt;br /&gt;    &lt;xsl:value-of select="/TagDetails/SubPillar/Name"&gt;&lt;br /&gt;  &lt;/xsl:variable&gt;&lt;br /&gt;  &lt;xsl:variable name="dp"&gt;&lt;br /&gt;    &lt;xsl:value-of select="/TagDetails/DP/Name"&gt;&lt;br /&gt;  &lt;/xsl:variable&gt;&lt;br /&gt;  &lt;xsl:variable name="dsl"&gt;&lt;br /&gt;    &lt;xsl:value-of select="/TagDetails/DSL/Name"&gt;&lt;br /&gt;  &lt;/xsl:variable&gt;&lt;br /&gt;&lt;br /&gt;  &lt;xsl:template match="/"&gt;&lt;br /&gt;    &lt;xsl:if test="not($mdf='' and $pillar='' and $subpillar='' and $dp='' and $dsl='')"&gt;&lt;br /&gt;      &lt;ne&gt;&lt;br /&gt;        &lt;name&gt;&lt;br /&gt;          &lt;xsl:value-of select="/TagDetails/MDF/Name"&gt;&lt;br /&gt;        &lt;/name&gt;&lt;br /&gt;        &lt;type&gt;MDF&lt;/type&gt;&lt;br /&gt;        &lt;inport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/MDF/InPort"&gt;&lt;br /&gt;        &lt;/inport&gt;&lt;br /&gt;        &lt;outport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/MDF/Outport"&gt;&lt;br /&gt;        &lt;/outport&gt;&lt;br /&gt;      &lt;/ne&gt;&lt;br /&gt;      &lt;ne&gt;&lt;br /&gt;        &lt;name&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/Pillar/Name"&gt;&lt;br /&gt;        &lt;/name&gt;&lt;br /&gt;        &lt;type&gt;Pillar&lt;/type&gt;&lt;br /&gt;        &lt;inport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/Pillar/InPort"&gt;&lt;br /&gt;        &lt;/inport&gt;&lt;br /&gt;        &lt;outport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/Pillar/Outport"&gt;&lt;br /&gt;        &lt;/outport&gt;&lt;br /&gt;      &lt;/ne&gt;&lt;br /&gt;      &lt;ne&gt;&lt;br /&gt;        &lt;name&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/SubPillar/Name"&gt;&lt;br /&gt;        &lt;/name&gt;&lt;br /&gt;        &lt;type&gt;SubPillar&lt;/type&gt;&lt;br /&gt;        &lt;inport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/SubPillar/InPort"&gt;&lt;br /&gt;        &lt;/inport&gt;&lt;br /&gt;        &lt;outport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/SubPillar/Outport"&gt;&lt;br /&gt;        &lt;/outport&gt;&lt;br /&gt;      &lt;/ne&gt;&lt;br /&gt;      &lt;ne&gt;&lt;br /&gt;        &lt;name&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/DP/Name"&gt;&lt;br /&gt;        &lt;/name&gt;&lt;br /&gt;        &lt;type&gt;DP&lt;/type&gt;&lt;br /&gt;        &lt;inport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/DP/InPort"&gt;&lt;br /&gt;        &lt;/inport&gt;&lt;br /&gt;        &lt;outport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/DP/Outport"&gt;&lt;br /&gt;        &lt;/outport&gt;&lt;br /&gt;      &lt;/ne&gt;&lt;br /&gt;      &lt;ne&gt;&lt;br /&gt;        &lt;name&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/DSL/Name"&gt;&lt;br /&gt;        &lt;/name&gt;&lt;br /&gt;        &lt;type&gt;DSL&lt;/type&gt;&lt;br /&gt;        &lt;inport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/DSL/InPort"&gt;&lt;br /&gt;        &lt;/inport&gt;&lt;br /&gt;        &lt;outport&gt;&lt;br /&gt;          &lt;xsl:value-of select="TagDetails/DSL/Outport"&gt;&lt;br /&gt;        &lt;/outport&gt;&lt;br /&gt;      &lt;/ne&gt;&lt;br /&gt;    &lt;/xsl:if&gt;&lt;br /&gt;  &lt;/xsl:template&gt;&lt;br /&gt;&lt;/xsl:stylesheet&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;?xml version="1.0" ?&gt;&lt;br /&gt;&lt;xsl:stylesheet xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&gt;&lt;br /&gt;  &lt;xsl:output method="xml" indent="yes"&gt;&lt;br /&gt;  &lt;xsl:template match="/"&gt;&lt;br /&gt;    &lt;xsl:choose&gt;&lt;br /&gt;      &lt;xsl:when test="not(/TagDetails/MDF/Name='' and /TagDetails/Pillar/Name='' and /TagDetails/SubPillar/Name='' and /TagDetails/DP/Name='' and /TagDetails/DSL/Name='')"&gt;&lt;br /&gt;        &lt;ne&gt;&lt;br /&gt;          &lt;name&gt;&lt;br /&gt;            &lt;xsl:value-of select="/TagDetails/MDF/Name"&gt;&lt;br /&gt;          &lt;/name&gt;&lt;br /&gt;          &lt;type&gt;MDF&lt;/type&gt;&lt;br /&gt;          &lt;inport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/MDF/InPort"&gt;&lt;br /&gt;          &lt;/inport&gt;&lt;br /&gt;          &lt;outport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/MDF/Outport"&gt;&lt;br /&gt;          &lt;/outport&gt;&lt;br /&gt;        &lt;/ne&gt;&lt;br /&gt;        &lt;ne&gt;&lt;br /&gt;          &lt;name&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/Pillar/Name"&gt;&lt;br /&gt;          &lt;/name&gt;&lt;br /&gt;          &lt;type&gt;Pillar&lt;/type&gt;&lt;br /&gt;          &lt;inport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/Pillar/InPort"&gt;&lt;br /&gt;          &lt;/inport&gt;&lt;br /&gt;          &lt;outport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/Pillar/Outport"&gt;&lt;br /&gt;          &lt;/outport&gt;&lt;br /&gt;        &lt;/ne&gt;&lt;br /&gt;        &lt;ne&gt;&lt;br /&gt;          &lt;name&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/SubPillar/Name"&gt;&lt;br /&gt;          &lt;/name&gt;&lt;br /&gt;          &lt;type&gt;SubPillar&lt;/type&gt;&lt;br /&gt;          &lt;inport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/SubPillar/InPort"&gt;&lt;br /&gt;          &lt;/inport&gt;&lt;br /&gt;          &lt;outport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/SubPillar/Outport"&gt;&lt;br /&gt;          &lt;/outport&gt;&lt;br /&gt;        &lt;/ne&gt;&lt;br /&gt;        &lt;ne&gt;&lt;br /&gt;          &lt;name&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/DP/Name"&gt;&lt;br /&gt;          &lt;/name&gt;&lt;br /&gt;          &lt;type&gt;DP&lt;/type&gt;&lt;br /&gt;          &lt;inport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/DP/InPort"&gt;&lt;br /&gt;          &lt;/inport&gt;&lt;br /&gt;          &lt;outport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/DP/Outport"&gt;&lt;br /&gt;          &lt;/outport&gt;&lt;br /&gt;        &lt;/ne&gt;&lt;br /&gt;        &lt;ne&gt;&lt;br /&gt;          &lt;name&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/DSL/Name"&gt;&lt;br /&gt;          &lt;/name&gt;&lt;br /&gt;          &lt;type&gt;DSL&lt;/type&gt;&lt;br /&gt;          &lt;inport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/DSL/InPort"&gt;&lt;br /&gt;          &lt;/inport&gt;&lt;br /&gt;          &lt;outport&gt;&lt;br /&gt;            &lt;xsl:value-of select="TagDetails/DSL/Outport"&gt;&lt;br /&gt;          &lt;/outport&gt;&lt;br /&gt;        &lt;/ne&gt;&lt;br /&gt;      &lt;/xsl:when&gt;&lt;br /&gt;          &lt;/xsl:choose&gt;&lt;br /&gt;  &lt;/xsl:template&gt;&lt;br /&gt;&lt;/xsl:stylesheet&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public abstract class Translator&lt;br /&gt;   {&lt;br /&gt;       /// &lt;summary&gt;&lt;br /&gt;       /// Translates the input string (XML Payload) to the desired Format using the XSLT transformation&lt;br /&gt;       /// &lt;/summary&gt;&lt;br /&gt;       /// &lt;param name="input_"&gt;XML Payload to be transformed&lt;br /&gt;       /// &lt;returns&gt;Transformed contents using XSLT with same name as root tag of incoming XML payload&lt;/returns&gt;&lt;br /&gt;       public static string Transform(string input_)&lt;br /&gt;       {&lt;br /&gt;           return Transform(input_, null, null);&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       /// &lt;summary&gt;&lt;br /&gt;       /// Translates the input string (XML Payload) to the desired Format using the XSLT transformation&lt;br /&gt;       /// &lt;/summary&gt;&lt;br /&gt;       /// &lt;param name="input_"&gt;XML Payload to be transformed&lt;br /&gt;       /// &lt;param name="XSLTFileName_"&gt;XSLTFile path (fully qualified path) to be used for translation&lt;br /&gt;       /// &lt;returns&gt;Transformed contents using XSLT with same name as root tag of incoming XML payload&lt;/returns&gt;&lt;br /&gt;       public static string Transform(string input_, string XSLTFileName_)&lt;br /&gt;       {&lt;br /&gt;           if (File.Exists(XSLTFileName_))&lt;br /&gt;           {&lt;br /&gt;               return Transform(input_, File.ReadAllText(XSLTFileName_), null);&lt;br /&gt;           }&lt;br /&gt;           else&lt;br /&gt;           {&lt;br /&gt;               throw new Exception("Invalid File Name. File does not exits");&lt;br /&gt;           }&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       /// &lt;summary&gt;&lt;br /&gt;       /// Translates the input string (XML Payload) to the desired Format using the XSLT transformation&lt;br /&gt;       /// &lt;/summary&gt;&lt;br /&gt;       /// &lt;param name="input_"&gt;XML Payload to be transformed&lt;br /&gt;       /// &lt;param name="XSLTContents_"&gt;Contents of XMLS (instead of path)&lt;br /&gt;       /// &lt;param name="XSLTFileName_"&gt;XSLTFile path (fully qualified path) to be used for translation&lt;br /&gt;       /// &lt;returns&gt;Transformed contents using XSLT with same name as root tag of incoming XML payload&lt;/returns&gt;&lt;br /&gt;       static string Transform(string input_, string XSLTContents_, string XSLTFileName_)&lt;br /&gt;       {&lt;br /&gt;           string extn = ".xslt";&lt;br /&gt;           string response = string.Empty;&lt;br /&gt;&lt;br /&gt;           try&lt;br /&gt;           {&lt;br /&gt;               StringBuilder sb = new StringBuilder();&lt;br /&gt;               StringWriter writer = new StringWriter(sb);&lt;br /&gt;               XmlTextWriter xmlWriter = new XmlTextWriter(writer);&lt;br /&gt;&lt;br /&gt;               XmlDocument document = new XmlDocument();&lt;br /&gt;               document.LoadXml(input_);&lt;br /&gt;&lt;br /&gt;               XslCompiledTransform transform = new XslCompiledTransform();&lt;br /&gt;&lt;br /&gt;               if (XSLTContents_ != null)&lt;br /&gt;               {&lt;br /&gt;                   XmlTextReader reader = new XmlTextReader(XSLTContents_, XmlNodeType.Document, null);&lt;br /&gt;                   transform.Load(reader);&lt;br /&gt;               }&lt;br /&gt;               else&lt;br /&gt;               {&lt;br /&gt;                   string fileName = document.DocumentElement.Name + extn;&lt;br /&gt;                   if (!File.Exists(fileName))&lt;br /&gt;                   {&lt;br /&gt;                       return null;&lt;br /&gt;                   }&lt;br /&gt;                   transform.Load(fileName);&lt;br /&gt;               }&lt;br /&gt;               //do the actual transform of Xml&lt;br /&gt;               transform.Transform(document, xmlWriter);&lt;br /&gt;&lt;br /&gt;               //read the transformed contents&lt;br /&gt;               response = writer.ToString();&lt;br /&gt;&lt;br /&gt;               //close the streams&lt;br /&gt;               writer.Close();&lt;br /&gt;               xmlWriter.Close();&lt;br /&gt;           }&lt;br /&gt;           catch (Exception exp_)&lt;br /&gt;           {&lt;br /&gt;               Console.WriteLine("Exception: {0}", exp_.ToString());&lt;br /&gt;               throw exp_;&lt;br /&gt;           }&lt;br /&gt;           return response;&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;   }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-8223815615457031179?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/8223815615457031179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=8223815615457031179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8223815615457031179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8223815615457031179'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2009/09/tech-bite.html' title='Tech bite'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-8848782383710293864</id><published>2008-08-15T20:45:00.003+05:30</published><updated>2008-08-21T19:05:58.506+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='wipro'/><category scheme='http://www.blogger.com/atom/ns#' term='starting troubles.'/><category scheme='http://www.blogger.com/atom/ns#' term='join'/><category scheme='http://www.blogger.com/atom/ns#' term='hyderabad trip. training sessions'/><title type='text'>Final Call: Wipro Calling</title><content type='html'>&lt;p style="text-align: justify;" class="MsoNormal"&gt;It was September when I just got the diwali gift and was happy with my current life.. Mornings  at rashtriya and evenings at the NGO….life was cool and time passed quickly and it was my birthday in November, 11… I planned to buy a new computer that day… I sold my old computer at a good price and pumped my one month salary to get a new p4… we bought it and get to home…it was new computer a p4, the fastest at that time, with a good configuration…I was not in a mood to work so did not assemble it… on 12&lt;sup&gt;th&lt;/sup&gt; November afternoon when I went out to check my mails… as usual I found a lot of junk mails and started “select All” and click “delete”…suddenly I saw a mail from wipro tech… I quickly click on it in with full curiosity… to my surprise… I got a call from wipro… for a min I could not believe and I was sitting all alone… then I got up and shouted with full power… &lt;b style=""&gt;&lt;i style=""&gt;YEEEEESSSSSSSS...&lt;/i&gt;&lt;/b&gt; there was no one to hear that but got the life out.. I again read the mail carefully and it was a call to join wipro Tech at &lt;st1:city&gt;&lt;st1:place&gt;Hyderabad&lt;/st1:place&gt;&lt;/st1:City&gt;… a new un known destination again..the joining date was 24&lt;sup&gt;th&lt;/sup&gt; however I need to finish my medical, certificates verification before that… I booked a second AC 2 tier birth with AP Express for 16&lt;sup&gt;th&lt;/sup&gt;. I board the train with a little baggage as I thought there will be a break between joining and actual project work…my parents came to station to see off me…. I had the address of one of our relatives.. Anu bhaiya… who was living at Hyderabad... I also called him the day before I started… and he told he will come to station to pick me up…I was not aware that there are 2 major stations at Hyderabad… when the first station, Sikanderabad Ju. came I though I will look out of the wagon and see if some one is looking for some one at the gate... someone with family &lt;span style="font-family: Wingdings;"&gt;&lt;span style=""&gt;J&lt;/span&gt;&lt;/span&gt;… I never met Anu Bhaiya so it was tuff to find him… anyways train was there for about 10 mins and I again sat back on my seat assuming that bhaiya will be at other station.. After around 90 mins I reached the &lt;st1:city&gt;&lt;st1:place&gt;Hyderabad&lt;/st1:place&gt;&lt;/st1:City&gt; Jun which was the last stop and I got down…I was standing on platform no 2 for a while and it seems there was not at the station as it was around 9.30… I saw a Local PCO booth and called up bhaiya on his local number… he told that they were waiting for me at the station and also looked at my seat but I was not here…now I realized that I was standing at the gate looking for them and they were at my seat looking for me.. Now what to do… he asked me to hire a taxi to home… I hung the phone and asked the PCO person how far I am from the home.. he told around 80Kms and it will cost me around 700-800 to reach home.. I was like surprised… just then I saw a train standing in the other direction… I asked the person and he told that the train was moving to &lt;st1:city&gt;&lt;st1:place&gt;delhi&lt;/st1:place&gt;&lt;/st1:City&gt; and will start in next 5-7 mins… I immediately paid him the money for phone call and rushed to stairs with a big briefcase and a big bag.. I climbed al most 40-50 stairs and then got down the same to reach the ticket counter after platform no 1 … I took the current ticket to Sikandarabad and then rushed back to the train at platform no 3 (crossing 3 platforms over bridge)… I just got in any of the coach and in next 5 seconds the train was moving… after another 90 min it reached the Sikandaradb Jn again and I got down… it was around &lt;st1:time hour="23" minute="15"&gt;11.15 PM&lt;/st1:time&gt;… I came out of station and asked few auto drivers and got the idea of the rate and finally decided an auto to home for 80 rs.. I reached home in 25-30 area and first time I saw bhaiya…as I reached home, I never felt that I am in an unknown place… it was like bhaiya, bhabhi and his son.. yash.. he was very cute… Nana ji and Nani Ji were in &lt;st1:city&gt;&lt;st1:place&gt;Delhi&lt;/st1:place&gt;&lt;/st1:City&gt; to see mami ji so I got a room...every one had food but bhaiya sat with me and asked me for my plans for next day… I told that I need to go for medical and then go to wipro office on 24&lt;sup&gt;th&lt;/sup&gt; morning…I finished my meal and went to bed directly… yash came to my room and said Good Night Mama ji and asked if we can play computer game together…I kissed on his soft forehead and said yes… he was so happy… shouting out &lt;i style=""&gt;“mummy papa…varun mamaji will play with me tomorrow”&lt;/i&gt;.. when I see the movie raincoat it remember me of my stay in Hyderabad… next day bhaiya dropped me until his office and then I went to the hospital as mentioned in the invitation mail… I went and it was 2 hours job and I was done… I came home by lunch time and bhabhi and yash were already at home… I played with Yash a little on computer and then slept… in the evening I went down and roamed around near places.. called at home too…next few 2-3 days we went to see around &lt;st1:city&gt;&lt;st1:place&gt;Hyderabad&lt;/st1:place&gt;&lt;/st1:City&gt;… we all went to husain sagar jheel… a park near about… I remember it was N T R park (not sure if I remember the name correctly)&lt;/p&gt;&lt;p style="text-align: justify;" class="MsoNormal"&gt;On 24&lt;sup&gt;th&lt;/sup&gt; morning… bhaiya told me to get ready as the place to visit… madhapur was quite far from our home… bhaiya asked bhahi to take the car and bhaiya and me started on his Honda Activa… we started and kept asking…it tood us about an hour to reach there and it was 35 Kms from bhaiya office.. and almost 45 Kms from our home… bhaiya wished me best of luck and left of office… he was a senior person and had an important meeting..cos it was Monday… the meetings day (I know it now being in IT for 5 yrs)… so I was standing out of the gate along few others and most of them were localites… I asked one of them and seems like we are all same… after a while I could find 2 north Indian girls… pragati and Rashmi as they were speaking hindi… I was not that good in spoken English so I preferred to talk to them… I hesitated in start but then it was fine..after a while the guard whistled and asked us to form a line and get in.. we entered the office and then was &lt;a name="OLE_LINK1"&gt;my first step in corporate life&lt;/a&gt;… “wipro technologies, Hydarabad,&lt;span style=""&gt;  &lt;/span&gt;Madahpur”&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-8848782383710293864?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/8848782383710293864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=8848782383710293864' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8848782383710293864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8848782383710293864'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/08/final-call-wipro-calling.html' title='Final Call: Wipro Calling'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-3140829176333307178</id><published>2008-08-15T20:43:00.001+05:30</published><updated>2008-08-15T20:44:55.335+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='first job'/><category scheme='http://www.blogger.com/atom/ns#' term='IT'/><category scheme='http://www.blogger.com/atom/ns#' term='interview'/><title type='text'>The Real IT Job Interview</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;Just before Diwali I got a mail from Wipro tech for an off campus interview and I was like very happy… I was in office at that time and went straight to Dinesh je to share the same. I told him frankly that this is the opportunity I was waiting for and this is what I have studied since last 4 years…he smiled and told me to do my best…. I touched his feet, got his blessings and then I came home and got the ticket for &lt;st1:city&gt;&lt;st1:place&gt;Bangalore&lt;/st1:place&gt;&lt;/st1:City&gt;… the interview was after 5 days and it was tough to get ticket.. but one of my friends himanshu was also traveling and he had a confirmed ticket.. we shared the seat and reached &lt;st1:city&gt;&lt;st1:place&gt;Bangalore&lt;/st1:place&gt;&lt;/st1:City&gt; after 44 hours of traveling…finally we reached &lt;st1:city&gt;&lt;st1:place&gt;Bangalore&lt;/st1:place&gt;&lt;/st1:City&gt; and got a auto rick to the place where we put up… that day himanshu got the Gobhi manchurian and I thought it is non veg and just told not to eat… I had a bread butter and slept… next day we went to the Mt Carmet school for our interview….. we reached there at time @&lt;st1:time minute="0" hour="10"&gt;10 Am&lt;/st1:time&gt; then we were in a long queue to file the form.. all of us filled the form before 11 and then we were asked to go to rooms as per the roll numbers… I went to first floor… to the left and first room…I was really nervous as it was my first exam… but I just thought that it is fine if I pass or fail as I already had a job… I was trying to relax me but I knew from inside I never want to miss this golden opportunity… finally we got the paper to write and I did my best to answer questions… finally we all were instructed to wait outside… the result was supposed to come at 3 and it was 2-3 more hours to wait… we were joined by few other friends who were working in Bangalore already…never the less I was not interested as I was tensed about the result… I was sitting on stairs calmly when all others went for lunch and came back… Finally there was a rush towards notice board… my heart was beating heavily… I could not dare to go there… himanshu came yelling.. got it.. got it… I was like half dead… could not smile as I did not see the result… could not be sad as I did not see the result.... finally I saw people coming out of crowd… some happy and some sad…. I was looking at impression and seems like I was just an audience there…. suddenly himanshu came and asked if I have seen my result…I said NO… he said let us go and see it… with pounding heart I moved to the notice board… I was looking at my roll number and it seems only three people cleared in my room… I carefully looked and the middle one was mine… I was happy now… and we came back home… everyone was moving for the interviews and same with me… I also headed to a room for my roll number… I went inside… I sat on the lat bench and then filled up a real big form… I could not gather courage to tell that I have filled up the form…I was observing what kind of questions the interviewer is asking…. He was asking most of the c++, Datastructure question which I was not comfortable however I was good in VB.. I was the second last candidate… I though that I cannot wait any longer… so I move to the interviews’s desk… there comes the luck…a new person came in and asked the interviewer to leave to take a break… I sat and said confidently “good evening sir”... he told me his name and started reading my resume… I explained him all I wrote in my resume… finally he started asking basic question and to my luck he was a VB developer… great… he asked me few VB question which I was really good at and he was impressed… finally he told me to go to HR… so it means that I cleared the technical round...I was really happy to clear yet another hurdle… as I moved to the HR.. There was no one… and there were only 10-15 students left… then one of the HR persons came and asked us to come to wipro MG Road office the next day morning for HR interview and we dispersed… himanshu on the other hand cleared his HR as well and he was also called to MG road office next day.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;            &lt;/span&gt;Next day we both went there and I was as cool as before as some one told me that HR round was just a formality. But it was a sign of another storm… as we all went in himanshu was offered a project on hand and he was asked to join &lt;st1:city&gt;&lt;st1:place&gt;Bangalore&lt;/st1:place&gt;&lt;/st1:City&gt; in next month… I also went and it seems most of the people failed their technical that day… I came to know when I went to rest room and I could see some people discussion how bad the interviews are… almost every second candidate was rejected… I was happy as I already cleared the tech… however I went and asked the reception that I am here for HR… she took my enrollment number and then came back in about 30 mins.. she said that tech is still pending for all of us as the tech happened previously was not final one… It was my turn now to react… All of a sudden I felt like my body has gone numb and after a while I was feeling wet all over my face…I kept my control and then all rest of us jointly resisted… then she went back and told it was a mistake it was like getting new life.... four of us were happy and then we went for HR interview where also the fear did not leave me… when I was called for HR interview, a dam beautiful lady was sitting in front of me and I was like not able to talk only… I gathered my courage and then went grabbed a seat.. she asked me a question and I started speaking everything that was written in my resume… lucky me that she was working and did not stare at me in between… when she was looking at her computer I replied to most of her question and when she was looking at me I was little uncomfortable… however she told me to wait outside… after about 3 hours Himanshu and few other guys got the date and place to join and we were told &lt;b style=""&gt;&lt;i style=""&gt;‘we will get back to you”. &lt;/i&gt;&lt;/b&gt;In our layman terms it means rejection and I was really sad… I was thinking that I cleared all the rounds and was taking the HR one lightly so that where I was left out… my thoughts had no ends and now everything from start. .coming to &lt;st1:city&gt;&lt;st1:place&gt;Bangalore&lt;/st1:place&gt;&lt;/st1:City&gt;… written.. tech … everything was moving in front of my eyes… however we came home… for next 2 days himanshu and other who passed out were enjoying… though I was with them but could not enjoy much… I really felt the weight of a failure.. a critical failure.. how ever it is phase of life and I was moving with them everywhere… finally after 2 days we moved back to &lt;st1:city&gt;&lt;st1:place&gt;Delhi&lt;/st1:place&gt;&lt;/st1:City&gt;.. fighting with sixers(&lt;i style=""&gt;hinjaras in hindi&lt;/i&gt;) on way… they will come to you.. forcibly ask for money and then try to play with your cheeks until you get them 20-30 bucks and if you resist you pay more… so that was like you pay being happy when you are not really happy internally.. i reached &lt;st1:city&gt;&lt;st1:place&gt;delhi&lt;/st1:place&gt;&lt;/st1:City&gt; and told Dinesh je that I could not clear it… he smiled and asked that I still wants to carry on..&lt;span style=""&gt;  &lt;/span&gt;I did not have any option but to say yes… I though may be this is my caliber and I should satisfy with this.. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-3140829176333307178?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/3140829176333307178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=3140829176333307178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/3140829176333307178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/3140829176333307178'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/08/real-it-job-interview.html' title='The Real IT Job Interview'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-5682008769351007294</id><published>2008-08-15T20:40:00.000+05:30</published><updated>2008-08-15T20:42:52.342+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='happiness'/><category scheme='http://www.blogger.com/atom/ns#' term='first job'/><category scheme='http://www.blogger.com/atom/ns#' term='dad'/><title type='text'>My first Job</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;The NGO where I was teaching got affiliated to Rotary Club and got some funds from them for started the institute… so after some time they planned a visit to see how the money is utilized in teaching students… being a care taker I was the heading all the preparation along with Anju (I hope you know her better now).. We both were the host of the party and explaining things to the guests… One of the members among them was the owner of an advertising agency…Mr Dinesh je and in the end of meeting when people started moving… he called me and told me to see him tomorrow… I thought that he wanted to share his feelings for the visit… so next day I went to his office around &lt;st1:time minute="0" hour="10"&gt;10AM&lt;/st1:time&gt;.. it was a good looking office from at reception where there was an artificial waterfall and it was sounding great… I was in such a good office for the first time in life… then I told the receptionist… a young looking lady around 45 to tell Dinesh je that I am here… the peon went inside and then instructed me to move in and I followed the same… as I opened the gate, I found Dinesh je… I offered him my namaskaar (good morning) and then sat down… he told me to go to basement and meet Niharika… I though may be he has some thing to donate for NGO and nikarika will be handing over to me…. I asked the way to basement and came down…. I had no clue how Nikarika is… some one told me it is the first cabin on my left as I enter the basement… I went down and then as I entered the first cabin , I found a dam beautiful lady sitting… she was talking to someone over phone… she pointed her finger to the seat and I agreed without any hesitation...but internally I was literally afraid… same reason… still not comfortable with females ...she asked me if I have brought my resume??? I was really was not prepared for this… I said I was never aware of it… dinesh je called me and told me to talk to you and here I am… she called Dinesh je on his extn and they talked in some code words… she called some one named Kawal and told me that I will be working with him from tomorrow…I was told that my stipend will be 1100 rs and after 1 month I will be confirmed if I work fine.. the time when we left our college there was a big IT slump and we use to think that if we get a job in a corner hardware shop we will be lucky however this was much more that this… I was on high notes… I came home and told mom about…so this was how I got my first job without any resume and interview… I worked there for a month and the best thing about the job was internet… I was sitting on the server whole day and was shooting my resume all around when I am free… and I had only one work.. when ever there is virus/problem in computer… I will format and then reinstall all the softwares… not sure but I would have done around 4-5 avg per day…. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;After a month a very senior person called me for a formal meeting… I sat there and he listed down the things that I will be responsible for…he told me that I am confirmed as an IT engineer and my salary is 7000 INR…I was really happy…I also started developing an application for their billing system side by side to fulfill my development desires.. that day I came home a little early… as usual dad came at night 9.. I went straight and gave him a big hug... I told him that I got confirmed and my salary is 7K… he was so happy to hear this.. My father was earning 6.5k and he told that it is a pride for a father that his son goes past... My Father was  a real tough man but I could see his moist eyes.. he blessed me and then we went for dinner together…&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;I started working dedicatedly at my work and I was moving to big personalities, celebrities for some presentations… i was having a great time.. and that is how I got into my first job…&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;I still kept coming to NGO in the mornings and evening as and when I get time but now I was feeling a little uncomfortable as I could not face Anju and then I cannot leave institute as well… so whenever I enter the insti I will ask if Anju has left… she use to leave generally by 6 so it was good most of the time and some time I need to about turn from the gate only…&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-5682008769351007294?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/5682008769351007294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=5682008769351007294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/5682008769351007294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/5682008769351007294'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/08/my-first-job.html' title='My first Job'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-7355779441244928928</id><published>2008-06-21T11:32:00.000+05:30</published><updated>2008-06-21T11:34:01.403+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='short session.'/><category scheme='http://www.blogger.com/atom/ns#' term='engineering college: struggle'/><category scheme='http://www.blogger.com/atom/ns#' term='first semester'/><title type='text'>The First and short Semester: The Shorted Class ever</title><content type='html'>Normally the sessions for odd semesters start by Aug/sep however as the IP entrance was delayed therefore it was 19&lt;sup&gt;th&lt;/sup&gt; of November when we started with our first semester. &lt;span style=""&gt; &lt;/span&gt;We had subjects like English, Physics, Chemistry I, Mathematics I. My group was limited but a good size with Me, Jitin, Akhil, Amerish, Sonam and few other friends. It was our first class for physics and the teach came… it was still a little more like a school where we study and go home however we had really quick things to digest…now it was computer class for me and it was for the first time I actually sat on a computer… I was sitting on the seat and waiting for computer to respond… after a while Jitin asked me “&lt;i style=""&gt;what are you doing man???” &lt;/i&gt;I said I am waiting for computer to start…. He asked me if I pressed the power button… I innocently said NO…Jitin and Sonam burst into laughter and I followed them… finally I got up and pressed the power button and the computer started booting… this was my first encounter with Computer in life…. I was a Maths bond and jits (Jitin’s nick name) was a computer bond so we agreed that after college we will go to jits home and then I will teach him Maths and I will work for some time on his computer... he used to call it champu… it was P1 and dam slower that the P3 machines we had in computer lab. However we started studying together, working out Maths and other subjects and compiling c++ program on his machines, which it use to compile without any problem but hell lot of coding error… and horrors…. and as we already started late for first session so we had our first and second session exams in quick succession and finally we had our finals… due to shortage of time… we had to stretch from morning 7until 8 in the evening and some time later as well... I can never forget the days when we really struggled to finish off our all subjects in a short time and real fascinating was the Workshop classes where actually sweat out cutting, filing wood to make boxes… 7 more semester to go and I wanted more time for next semesters.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-7355779441244928928?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/7355779441244928928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=7355779441244928928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/7355779441244928928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/7355779441244928928'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/06/first-and-short-semester-shorted-class.html' title='The First and short Semester: The Shorted Class ever'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-8330321627272122391</id><published>2008-06-09T22:42:00.001+05:30</published><updated>2008-06-10T12:09:57.398+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bunk'/><category scheme='http://www.blogger.com/atom/ns#' term='school'/><category scheme='http://www.blogger.com/atom/ns#' term='red faced'/><title type='text'>School days:First ever bunk of my life</title><content type='html'>Some one rightly said that we should try all sorts of things in our school time else there is not time to go back… so it was our internal examination (2nd sessionals) and I was done with my physics exam... next day was the chemistry exams which was the most horrible exam for me…. I never understood the organic part of it… could never imagine which molecule joins with other and why and all able the chemical equations … so organic chemistry was a real mystery for me…and always mugged up the formals but every time I prepare for exams I totally rely on the non-organic (the numerical and non chemical equation) for better marks. So it was around 11 when I was done with the exams.. people who had their own ways of commuting were allowed to go out and rest were to wait for their school but which comes at 2 PM… I had a lot to cover for exams so I though I could take some rest in the after noon and then study… I could not find a reason why I (along with some other people) was not allowed to move home… a crap, non convincing reason being SCHOOL BUS… I am four of us Abhishek, Rahul, puneet and I decided to run  off… I do not know how I got that guts to do… and my mind was totally in a different mood…anyways we headed to the school ground which was surrounded by a 5 feet uniform wall around.. as we approached towards the wall we saw out PT teacher taking a round… our image was of innocent guys to he told all of us to go and sit quietly in the class…. We followed his words and move back to the class.. my school’s shape was like 2 squares separated by an aisle with one square as complete play ground and the other square had classrooms on the sides with garden in between…so even in rains you could go around school without getting wet… so the front side was where the buses will drop you and you enter the school…this face had the main entrance, the principle room and then a back side of the library from right to left (all from later square).... due to power cuts  a generator room was under construction just where the aisle ends on the front side.. now as the wall was almost complete and only bamboos were left used to reach upper portions during construction… so we were marched out of ground so our plan 1 failed terribly… now as we were crossing from the play ground to the main section Abhishek noticed the newly constructed wall on the front face (with height around 5 feet)… he stopped there for a while and none of us could imagine what was in his mind…he said “got the way out”. We all said are you kidding… first of all the wall is just finished and it had a very small hole… hardly a diameter of 2 meters... then it is just adjacent to the principle office..and over and above we were in the center and all it lands to the open area and to go home we will pass through the front gate (which was on extreme right) where the peon was sitting… he started moving and we also followed him until we were about 10 feets from the wall…we were in the shade of library so peon sitting on the other corner could not see us… Abhi just went and hit the wall and 4-5 more bricks fell out of the wall on the other side…. I closed my eyes… I heard the thud (though it was not very loud) and it seemed the wall has crippled but then I opened the eyes and there was a hole now enough for us to escape… I could see Abhi running towards the other side and the peon rushing to unlock the main gate to catch him.. as we saw peon running to the right side and we were in the middle we also rushed and in a matter of 5 seconds we all were standing out of the school… now if we move right (the way Abhi went) peon will catch us.. if we move to left then PT teacher will get us as he heard the peon shout but this time.. so we had 2 options either get back to school and tell Abhi has done all this and we were just standing there… or we could run straight in last fourth direction… we had to run and we decided to take the 4th path…. The Straight one… we knew that it lends to the other part but none of us went there anytime… to our surprise it was all an army area.. we tried our best to find the path and in the end we followed a straight road that got us to a main road… we realized that after good 3 hours tiring walk we reached 6 Kilometers further away from our homes.. in totally reverse direction… now three of use were looking at each others face and laughing loud… with thick physics books in our hand… people around must be thinking that we went mad after studying such thick books.. we it was us who knew the reality so to avoid a wait of 1.5 hours we wasted 3 hours and another 1 hour to reach home… I was really tired and had a good sleep…next day we met again in school… I was afraid until Rahul came and notoriously told me that 4 students ran from school yesterday (he was on of them BTW) but no one saw the face of students.. he told that Abhi reached home in time and it is only 3 of us who did some jungle discovery…..This was relaxing and we were walking again with pumped up chest.. Abhi and all others were already sitting around and as we entered the gang… we again broke into big series of laughter.. &lt;br /&gt;&lt;br /&gt;So this was my first ever bunk from school and it was a real fun.. even today when i remember that instance i get a cute smile on my face...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-8330321627272122391?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/8330321627272122391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=8330321627272122391' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8330321627272122391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8330321627272122391'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/06/school-daysfirst-ever-bunk-of-my-life.html' title='School days:First ever bunk of my life'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-280456113093709827</id><published>2008-05-24T09:30:00.001+05:30</published><updated>2008-05-24T09:31:35.976+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='admission'/><category scheme='http://www.blogger.com/atom/ns#' term='bsc'/><category scheme='http://www.blogger.com/atom/ns#' term='engineering college: struggle'/><title type='text'>B Sc in 3 Days</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;I could recollect a short but unmemorable incident. Just the next day, I came back to &lt;st1:city&gt;&lt;st1:place&gt;Delhi&lt;/st1:place&gt;&lt;/st1:City&gt; with broken heart and shattered dreams of getting into an engineering college I saw and advertisement in newspaper for last few seats available in &lt;st1:place&gt;&lt;st1:placename&gt;Shivaji&lt;/st1:PlaceName&gt;  &lt;st1:placetype&gt;College&lt;/st1:PlaceType&gt;&lt;/st1:place&gt;. With a though, &lt;i style=""&gt;what will happen if I do not get a seat even next year??? &lt;/i&gt;&lt;span style=""&gt; &lt;/span&gt;I decided to take a seat in the college so that I do not make it even next year at least I finish of bachelors of sciences in a good subject. Therefore, I picked up my bag and went straight to the college immediately. I was good in mathematics however not very strong in physics so I thought if I take physics honors it will help me to improve my physics therefore I selected to go for Physics honors. I filled up the form for physics honors and then went to the physics HOD… Mr. P K … he was a man who never opened his tooth so looks like he is always smiling. I went to him and there were few other students as this was the only college which had seats available. He had mark sheets for all the students. I greeted him and slowly pushed my documents to him. He had a look at the marks and was straight away asked me why am I coming for admission now. I could not tell him and I was roaming around the country for admission in engineering colleges when I got my name in first list for admission for most of the colleges I applied. I told him that I was sick and could not apply for admission and got late. He had only 2 seats available so he asked me for a commitment for not leaving the seat a later stage …. May be he was also aware of the fact that people leave off after 1&lt;sup&gt;st&lt;/sup&gt; year once they get selected in engineering…therefore he agreed and signed on the admission form and asked me to submit the fees… as I immediately moved to college in the morning so I was not carry so much cash… I decided to pay the fee next day and came back home… now when I reached home everyone told that &lt;i style=""&gt;who cares for physics??? &lt;/i&gt;So I now want to move to mathematics honors…next day I was back in college with fee and this time I went straight to the Maths HOD for getting into Maths honors… he asked me to get the NOC from the physics and then he can get me in Maths… I went to PK sir again and I told him what my parents wants... He would have been much annoyed however cos of his face it looked he was smiling... I forward him the application for signing and providing me the NOC…his voice got harder and straight away refused me for NOC… I was much worried as this is the only college where I was about to get admission… I went to the Maths HOD again and told him the case... he told me to cancel my admission and then apply again. I told him that I have not submitted the form as I did not have the fee other day…. I laughed at me and told me that I am trying to change thing which I do not have… I am trying to change the stream when I am not admitted to college yet… I just had the filed form in my hand…. this struck like an idea… I just tore off that form and picked up a new form… got it approved from HOD Maths and then submitted the fee again… this way I got admission in to B Sc honors (Maths) finally… this all happened in just 3 days and next I had my IP entrance exams the next week.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-280456113093709827?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/280456113093709827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=280456113093709827' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/280456113093709827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/280456113093709827'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/05/b-sc-in-3-days.html' title='B Sc in 3 Days'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-8499755111597574813</id><published>2008-05-23T11:50:00.003+05:30</published><updated>2008-05-23T12:42:28.327+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='achievements;'/><category scheme='http://www.blogger.com/atom/ns#' term='engineering college: struggle'/><title type='text'>Engineering  College: Really tuff to get into :-)</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;I scored around 82% in my 12&lt;sup&gt;th&lt;/sup&gt; class. I appeared for most of the entrance exams I could. I always worked for MCQs so as the results were out… I got 790 rank in DCE but I got get better ranks in UP and MP and I wanted to go for computers/IT therefore I decided not to got for DCE as one may never get computers after 200+ ranks. My first mission was Jamia Milia University where I got good rank and I was called on the day 1 of counseling. When I told my parents about this they refused me to go just for no reason. So I agreed and then I was ready to explore then next in canceling dates...UPSEAT… my rank was good so it was the second day of counseling and I was at IT College, Lucknow with my father. My turn came around 11 PM and when I went there were lot of free seats… I happily opted for a free seat and then the counselor told me that only domiciles are eligible for the free seats which I was never aware of…. It was like a shock for me and my dad as we have been waiting for our chance…I was born in UP however if I was aware of this fact I would have got the domiciliary proof… now I realized it was a real bad decision to leave DCE seat for a computers branch…&lt;i style=""&gt;everything in life ends on a beautiful note… so if it is not beautiful then it is not the end&lt;/i&gt;… The next day we got our DD cancelled and then we came back to Delhi… Now our next stop was MP… and now we are preparing our tour’de’MP university. We already knew the place to stay in MP… as my whole family was associated with RSS for a long time and my grandfather had few other people to meet there so this time it was me and my grandfather to try my luck… we reached the beautiful capital of MP…. BHOPAL…the place to stay was not very far away from the station…we got a bus no 9 to reach Arara colony, one of the posh societies of Bhopal… we spent a day there asking for the place where we need to go….next day we were moving to the IT college, Bhopal.. It was the month of September when spring was sets in… Bhopal is a real beautiful and nice city to see at that time… we got a cab from there to go to RangShala where we wanted to meet one of the professors at REC college for some understating of studies and colleges at MP…after the talk we moved to IT college by another Bus….once I reached there I liked the way things were moving and it looked quite professional attitude from the authorities there…anyways we went into a big hall called counseling hall… there was a big display screen with college name, branch and seats available…. I was very happy to see a lot of free seats available in college… I had a list of college I made after discussion with professor. I luckily got a seat for IT in REC College... my family always liked the Mechanical branch and they understood it is ever green branch…however my grandfather was happy… we returned home happily… we got a train from HabibGanj station… we reached delhi and luckily it was the time for &lt;i style=""&gt;Tika (like rakhi) &lt;/i&gt;in Delhi. So my 2 buaji along with her family were at home…as they came to know I have chosen computer as a branch I could feel a collective resistance…Ultimately, we made up mind to move to MP again and choose Mechanical branch… the very next day we were on the station again for the train to MP… we got a ticket with almost the last number in the waiting list….an un-reserved coach…. We paid some amount to TT to get single seat… next morning we reached MP and again started out journey to IT College… we reached there and it was the last day for admission and almost all the seats were finished… in prefer to wait for an year rather than getting payment seat in newly build college…we went to surrender my seat…. w&lt;i style=""&gt;hat??? &lt;/i&gt;&lt;span style=""&gt; &lt;/span&gt;was the reaction of person whom I asked for surrender… after all it was &lt;i style=""&gt;a Free seat with lowest fee in Government College. &lt;/i&gt;He looked at me as I am going for a sin act… however he confirmed once more… and I said &lt;i style=""&gt;yes &lt;/i&gt;with a heavy heart.. &lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Wingdings;"&gt;&lt;span style=""&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;… We got our DD back… it we had been late by a single day then we need to go to the college to get the DD and other documents. As soon as the person cancelled my seat, I saw the 1 against the college, IT branch… it did not take more than 3 seconds for counter to get back to 0….I was like dead and not able to think what have I done… anyways one always realizes the damage once it is done…I was not sure why I could not resist this decision by my family.. One of the facts was even I was not sure what is happening… I just kept following that others suggested…anyways, we moved back to Delhi… I was a little low however I was always an optimistic person and never cribbed about life…whatever came to me I accepted, whenever I wanted something I pushed my all power for it.. I think that is the real strength of my character… so when people think something is all over I work on it and get it done… therefore as per my nature, I started preparing for GATE and was planning to enroll for the One year course for next year entrance exams… I almost made up my mind for next year and I got something to cheer about again…It was third day only after all of the pain when I heard about a new university… Indraprastha University... I filled up the exam and within 2 weeks we got the results and the counseling dates... I was invited for second day for ranks 250 until 500 and y rank was 490…I was sitting there since morning and my parent joined me in the evening… I was surprised to hear that 24 people got the same marks but as I was having letter starting with V I got the rank as 490… My hard luck the last free seat for IT was over by 480… I thought if I my name would start from A I would have got the IT Free seat… however I came to know about this the next day only… currently three of us were really confused as we were not able to decide which branch to opt for… we had options to chose from free seats for mechanical, electrical and payment seats for IT... When we were fighting with all thoughts and my turn was next to come, my father talked to a person who was a professor at DCE…he was like an angle to us…he said to my father “&lt;i style=""&gt;If you chose IT you will do something for you son and trust me you will not regret your decision&lt;/i&gt;”. We surrendered to his magical voice and those were the golden words of my life… I decided and opted for IT branch for engineering and we returned back home at 11 PM with a new roll number 99/GT/IT/43 which was like an identity for Varun Sharma for next 4 years to come…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt;"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;Today I realize that I am not the first person in world who got into an engineering college with a lot of difficulties/hiccups. I could understand that reason for all this hassle was lack of awareness about engineering colleges in &lt;st1:country-region&gt;&lt;st1:place&gt;India&lt;/st1:place&gt;&lt;/st1:country-region&gt; both for me and my family, not having career counseling at primary level (which could happen in 12&lt;sup&gt;th&lt;/sup&gt; class), the state wise entrance exams where one does now know which university is better and which all exams one should apply as fees for each exam is not less then 1000 rs.…Today the selection process is limited to colleges in a state, however I believe one day it will become - a country wide selection criterion rather than state wise and this help those who cannot really afford to appear for multiple exams...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt;"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;Having gone though all this, today i am associated with an NGO where I do this kind of counseling to help people understand what they can excel in... Depending upon their interest, family status etc... i believe i should help others so that people should know what is smart way to earn good in life..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt;"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;In last, I am really thankful to my parents who supported me for my studies. It is all the result of pain that we all bore during our studies that I and my brother are in a good position. All we are today is because of my parent dedication, hard work and they wanted their children to study and become something to be proud of. I am there are still milestones to achieve... :-)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-8499755111597574813?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/8499755111597574813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=8499755111597574813' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8499755111597574813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/8499755111597574813'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/05/engineering-college-really-tuff-to-get.html' title='Engineering  College: Really tuff to get into :-)'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-2656497152858833606</id><published>2008-05-20T13:17:00.000+05:30</published><updated>2008-05-20T13:27:19.173+05:30</updated><title type='text'>Panga with boss@school</title><content type='html'>Life was getting better and I was happy with my studies however the greatest pain was English or I should thank my teacher who always stressed on newspaper and not the text books. In fact, my exams used to&lt;span style=""&gt;  &lt;/span&gt;be from the newspaper. I was a little surprised however I realized this once I got into 12&lt;sup&gt;th&lt;/sup&gt; class and all of us would know things that were difficult for a normal person. I passed out my 11&lt;sup&gt;th&lt;/sup&gt; easily with better scores and then I was happy with my performance as well. One fine day I was returning from ED class and I had few chalk pieces in my hand. As usual being bubbly, I kicked a piece and it went to the garden,.. then second.. then third but what is the problem with dam fourth one.. i missed it once.. i picked it again and kicked again.. it went straight through a bing windows....guess what.. it hit the physics teacher table through the windows of lab…. I was like dead numb… no action no reaction...suddenly I heard a shrill sound &lt;i style=""&gt;who is this???&lt;/i&gt; I woke up as the the sound hit my ear drum.... I entered the room and I was standing in front of the physics teacher…. This is for the first time I was in front of the teacher something I did by mistake… I could not utter a single word...standing like a live statue… she kept asking me question and I could not reply.. she said if I am a dead person … which school I come from… what have my parent thought me.. rest i just could not hear... as they could not get through my ears… the fact was she is my class teacher.... I was literally about to cry when she told me to get out…  thanks there was no one else the assistant... i came out of the lab moved to the class room and behaved as nothing has happened but i was afraid from inside and trying to clam down an concentrate on the next class... the Maths class.... I came home and then I was thinking of the options to patch up…. The next morning I went to temple… got some good prasadam (with coconuts and fry fruits..)… The first thing i did at school was to go straight to physics lab and offered her the prasadam ... and before she could resist further I said her sorry about the incidence.. she took is lightly and told me to take care in future.. I was happier now… this... that day i realized that reacting and handling sharply to vivid situations is the born nature of a north Indian... or a delhilite... anyway now my life was a little cool and i was comfortable now..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-2656497152858833606?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/2656497152858833606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=2656497152858833606' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/2656497152858833606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/2656497152858833606'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/05/panga-with-bossschool.html' title='Panga with boss@school'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-6039420573962143897</id><published>2008-05-19T15:58:00.000+05:30</published><updated>2008-05-19T16:10:07.246+05:30</updated><title type='text'>My first day at school: Encounter with first female in life</title><content type='html'>It was my first day at school and the timings were from 7.30 AM until 1.30 PM. First day my father escorted me to the school. I was at school by 7.15 and then the DTC buses starting coming one by one. I still remember that I was sitting at 3rd desk on 2nd row from right. I was a little nervous as it was my first day and I was the only person sitting in my class. Then some one came in the class… a average height girl around 5”2’ with boycut hairs and classic smile.. I was once lost in her smile… she put her bag on her seat and came to me. I was sitting with my face down and suddenly I heard…..&lt;span style="font-style: italic;"&gt;new joinee??? &lt;/span&gt;and I saw a hand extended towards me. I was in a shocking state as I never said hi to any girls… never talked to girls... leave apart shake hands. I came from a typical Indian sanskriti school where we used bhaiya/bahan for each other and ramjas culture was a little different. I felt like harassed and was still.. not moving anyway....i am sure she would not have felt great.... by god’s grace, there was not in the class and she moved back... it was assembly time and we both moved towards assembly ground together… I was really down while walking with her and each moment I was thinking why I could not shake hands with a lady...what was wrong there... some thing wrong with me or with others...i could not find my thinking hat.... i was a little confused and kept walking until i crossed a door which lead to a real big play ground i never saw before except cricket matches TV. This was first encounter with a female in school and probably with the outside world.... if this is the beginning then what will happen in next 2 years to go... Only my destiny knows that answer.... :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-6039420573962143897?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/6039420573962143897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=6039420573962143897' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/6039420573962143897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/6039420573962143897'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/05/it-was-my-first-day-at-school-and.html' title='My first day at school: Encounter with first female in life'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-2262844571644540718</id><published>2008-05-19T15:54:00.000+05:30</published><updated>2008-05-19T16:07:06.883+05:30</updated><title type='text'>Emerging Engineer: Start of Journey</title><content type='html'>It was a great day when I passed out my 10th class. I was really happy as no one ever scored such marks in my whole family. I headed for my 12&lt;sup&gt;th&lt;/sup&gt; admission and I realize that 80% are no good. I was from a middle class family and wanted to study and get to the highest positions in society. I went to ramjas school pusa road, which was one of the best schools around and was closer to my home. I was about to get admission there when one of my known person told me that this school is good for commerce and the anand parbat is better for science. It was for the first time in my life when I was doing something on my own. The way to school was an uphill walk of 2 kms so I got down from the bus and started walking along with my certificate. After a while I could see a big White board with “&lt;st1:place&gt;&lt;st1:placename&gt;RAMJAS&lt;/st1:placename&gt; &lt;st1:placetype&gt;SCHOOL&lt;/st1:placetype&gt;&lt;/st1:place&gt;, ANAND PARBAT” written in a semi elliptical fashion. I reached the reception and then I was attended by a gentle man how was in his fifties. I told him my intention to come there and showed my certificates. He was really happy to see the marks and immediately agreed to get me in. I went in with a mind that I need to convince them to take my in however, I was a little surprised by this but happy too as I got admission with out any hiccups but who knows it was the start. He asked me to submit the admission form with copies of mark sheet and certificates. I went in and asked him the fees and he told me merely 300+ rs for 6 months. This was a real shock to me. I pretended I do have all the money with me and I returned home. One of my seniors did her schooling from there. I straight went to her and inquired the same. The she told me that the school I went was a government school and the school I should go was behind that. I again went to Anand Parbat and this time I asked for senior wings school. There was a small passage on the left wall of Government school which led to a much bigger open space where I could see the board Ramjas School Anand Parbat Senior wings. I went to the reception and I asked them for the admission. A lady in late forties checked my certificate and asked me to wait in the guest room. In some time I got a call from the principle room. I went in straight confidently. I faced an old man sitting in the center of a big hall type room. On one corner was the same lady with my certificates. She handed over my documents and I headed to the principle. I bid him good afternoon and he looked at my documents and he was impressed. However, maths got his eyes irked. He told he will take into science and not commerce because of maths. I never wanted to be an engineer but life has always given me what I never thought of and it was always better for me. Principle instructed me to submit the originals documents and come the next day. I was a little uncomfortable about this and I thought he would have asked for the photocopy. I submitted the photocopies and went back home. Next day I came back in school. Here starts another story, the principle got furious about not submitting the originals. I was really taken aback by this. He threw all my documents and asked me to leave off. I could see all the document flying in air in a movie style. Somehow I got down collected the document calmly and went home. It was not more than a minute at home and the phone rang and it was school pion on the other side. He told that principle sir wants to see me in next 30 min. Things were happening&lt;span style=""&gt;  &lt;/span&gt;and happening real fast with all ups and down and I could feel things are not in control but I could not done any better. &lt;span style=""&gt; &lt;/span&gt;This time I headed to school with my Buaji who was in &lt;st1:city&gt;&lt;st1:place&gt;delhi&lt;/st1:place&gt;&lt;/st1:city&gt; for summer vacation. This time it was a little better. As I scored only 66 in maths, 92 in science and 80 in English so everything except maths was fine. He told he could offer me computer but I never worked on computer so I requested him for Engg Drawing. He called up a teacher and he gave me 3 papers 30 marks each. He told that I score average 25 he will take in me in ED else computer… I scored 28, 29, 27.5 and great, I am in ED now. This was the story of my admission in school. So noting in life has gone smoothly and the way I wished but it has always ended in a better note for me. So finally I am in science and I will become an engineer for sure now… I started walking back home thinking about my first day at school…my dress.. my books… my class and most important class mates… I never know my first day in school will be a dramatic start and will force me to question my existence as a person …. But it is only the start of professional studies for professional life… there will more to learn and learn…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-2262844571644540718?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/2262844571644540718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=2262844571644540718' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/2262844571644540718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/2262844571644540718'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/05/emerging-engineer-start-of-journey.html' title='Emerging Engineer: Start of Journey'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-4748631782528441944</id><published>2008-05-08T12:51:00.000+05:30</published><updated>2008-05-09T09:54:35.028+05:30</updated><title type='text'>Life in delhi Metro: a better experience.</title><content type='html'>&lt;p class="MsoNormal"&gt;It's been long I am traveling by &lt;st1:city&gt;&lt;st1:place&gt;Delhi&lt;/st1:place&gt;&lt;/st1:city&gt; metro and it is really great. I daily drive my car from Karol bagh to Gurgaon. It is a real pain that starts from getting the car out of your home finding space between other cars parked and then making your way to Gurgaon. The express way is good but still you spend around 45 mins one side. now I have a metro station near my home and I start by 8.10 ka metro which leaves me at dwarka sec 13 and from there I get Ajay who drives from Dwarka to my office.. I do not save money however ever I save the precious fuel for the country and contribute to no-pollution regime.&lt;br /&gt;Apart from this the metro life is cool as it is all AC and it takes less time. People do not carry huge luggages as they do with buses and most of the middle and upper class people use it as it is a little costlier than bus... I always get a seat to sit both ways so you get a lot of relief... no driving... no traffic... no honking...one can sleep.. Take a quick nap... or i compose most of my mail on the way to office....this also save a lot of my time,,, initially i was scared of leaving at 6 as the traffic is worse... so i start early and go late... now i start at 8 in the Morning and reach home by 7.30 in the evening... with all my work done and less strain... i would rather suggest all my friends to use public transport as far as possible...&lt;br /&gt;&lt;br /&gt;save money, save power, get away with stress and relax...&lt;br /&gt;&lt;br /&gt;cheers&lt;br /&gt;varun sharma&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-4748631782528441944?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/4748631782528441944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=4748631782528441944' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/4748631782528441944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/4748631782528441944'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/05/life-in-delhi-metro-better-experience.html' title='Life in delhi Metro: a better experience.'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-9028192655159503862</id><published>2008-05-01T10:59:00.000+05:30</published><updated>2008-05-01T14:21:47.076+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows application development'/><category scheme='http://www.blogger.com/atom/ns#' term='CAB'/><title type='text'>CAB for techies....</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Do not think I am talking of a cab for commutation but this is CAB for Composite UI Application Block, one of the frameworks designed by Microsoft Patterns and Practices groups. This is a great platform for developing windows based complex and critical applications. Here is something on same lines&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;One can download this from:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt; http://www.microsoft.com/downloads/details.aspx?FamilyId=7B9BA1A7-DD6D-4144-8AC6-DF88223AEE19&amp;amp;displaylang=en&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;and here is some info for CAB:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;http://msdn.microsoft.com/en-us/library/aa480450.aspx&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Here is theme service that I implemented using the same:&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;u&gt;Windows Themes&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Themes in windows are primarily responsible for look and feel of the application. A theme specifies the kind of user interface experience a user looks at. Users have their own preference for setting look and feel on their machine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;This leads to the question:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;How can we develop an application that can have same look and feel on all windows machines with different themes?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;If we want an application to have same look and feel on all the machines then we should find a way to render the controls in the application. There are 2 challenges:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;ol style="margin-top: 0cm;" start="1" type="1"&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;T&lt;span style="font-size:100%;"&gt;heme      applies at machine level and not at Application Level&lt;u1:p&gt;&lt;/u1:p&gt; (all      apps will have same theme settings)&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Users have personal preference at machine level and one cannot override those settings for a specific application. A developer can not control what kind of theme a user chooses&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;I have tried to put some code together to do this. I developed a framework that looks up the UI settings from control in form of a template and then tries to render the application control with those settings. &lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Here are few CAB Concepts and then the implementation:&lt;/span&gt;&lt;/span&gt;&lt;u1:p&gt;&lt;/u1:p&gt;&lt;/p&gt;      &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;b&gt;&lt;u&gt;CAB service based architecture and Dependency Injection Technique&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;CAB is &lt;b&gt;Composite UI Application Block &lt;/b&gt;from Microsoft Patterns and Practices groups. CAB implements the concept of &lt;b&gt;Dependency Injection. &lt;/b&gt;Let us first understand &lt;b&gt;Dependency Injection&lt;/b&gt;. In short using &lt;b&gt;DI technique &lt;/b&gt;one can inject runtime object in other object as dependency.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;Public class DependentClass&lt;br /&gt;{&lt;br /&gt;public DIObject m_objectToInject;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal" style="margin-left: 36pt; text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;span style=""&gt;           &lt;/span&gt;[ServiceDependencyAttribute]&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;public DIObject ObjectToInject{&lt;/span&gt;&lt;/p&gt;              &lt;p class="MsoNormal" style="margin-left: 72pt; text-align: justify; text-indent: 36pt;"&gt;&lt;span style="font-size:100%;"&gt;get&lt;br /&gt;{&lt;br /&gt;&lt;span style=""&gt;                   &lt;/span&gt;&lt;span style=""&gt;                                  &lt;/span&gt;return m_objectToInject;&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;m_objectToInject = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;public class DIObject&lt;br /&gt;{&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt; text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;publc DIObject()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt; text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 36pt; text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Here once you call &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;DependentClass myObject = new DependentClass();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;This call will internally create an instance of DIObject and inject in the myObject.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;CAB service based architecture&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Now let us understand Service concepts in CAB. CAB maintains a collection of objects in a global hashtable. One can access these objects at runtime. One can add an object or let me call it a service here to the Application service collection and then whenever some one wants to use if can directly access it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;ApplicationRWI.Services.Add&lt;&lt;span style="color:teal;"&gt;Type_Of_Serice_To_Add&lt;/span&gt;&gt;(Service_Object);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;For example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;ApplicationRWI.Services.Add&lt;&lt;span style="color:teal;"&gt;IThemeService&lt;/span&gt;&gt;(m_Theme);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;At later stage one can access this like:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;object m_themeService = ApplicationRWI.Services.Get&lt;&lt;span style="color:teal;"&gt;IThemeService&lt;/span&gt;&gt;();&lt;o:p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;u&gt;What this code does&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;The code adds a ThemeService to the application as it starts. Whenever a control is added to the application, the custom ThemeService looks up the template controls library provided by user and paints the control the same way. Here are the steps for this:&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;Step1: Define a Template for controls for custom look and feel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet" style="text-align: justify;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=";font-family:Symbol;font-size:100%;"  &gt;&lt;span style=""&gt;·&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;One can define a .NET library and add user control for each type of control. We will call it a &lt;b&gt;ThemeTemplate.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet" style="text-align: justify;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=";font-family:Symbol;font-size:100%;"  &gt;&lt;span style=""&gt;·&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;Then implement the ApplyTheme() function in that class and paint the control as one wants. Please see the sample for more details.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet" style="text-align: justify;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=";font-family:Symbol;font-size:100%;"  &gt;&lt;span style=""&gt;·&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;Compile the assembly and put in the application root.&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;Step2: Add theme services to enable theme support for the application&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListBullet" style="text-align: justify;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=";font-family:Symbol;font-size:100%;"  &gt;&lt;span style=""&gt;·&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;One can define the application as shown below&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;span style=""&gt;//This is for showing the modules using the Theme service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: left;"&gt;&lt;span style=""&gt;CABApplication.&lt;span style="color:teal;"&gt;CABApplication&lt;/span&gt; app = &lt;span style="color:blue;"&gt;new&lt;/span&gt; CABApplication.&lt;span style="color:teal;"&gt;CABApplication&lt;/span&gt;(&lt;span style="color:teal;"&gt;ShellTypes&lt;/span&gt;.MainForm);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoListBullet" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=";font-family:Symbol;font-size:100%;"  &gt;&lt;span style=""&gt;·&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;Add theme support to the application tell the theme location as well as shown below:&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;string&lt;/span&gt;&lt;span style=""&gt; location = &lt;span style="color:teal;"&gt;Assembly&lt;/span&gt;.GetExecutingAssembly().Location + &lt;span style="color:maroon;"&gt;"\\..\\MyTheme.dll"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;            &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;span style=""&gt;///&lt;/span&gt;&lt;span style=""&gt;Modules are loaded in the application as it starts. Modules have &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=""&gt;///&lt;/span&gt;&lt;span style=""&gt;martParts to show. Each smart part has some controls.One can define template appearence&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=""&gt;///&lt;/span&gt;&lt;span style=""&gt; for controls using template MyTheme. One need to add a user control and then template control &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=""&gt;///&lt;/span&gt;&lt;span style=""&gt; and then Implement the ApplyTheme method stating what properties one want to apply&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=""&gt;///&lt;/span&gt;&lt;span style=""&gt;This sets the theme for Application. You can edit the project , build and then place the dll again.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;ThemeService&lt;/span&gt;&lt;span style=""&gt; theme = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:teal;"&gt;ThemeService&lt;/span&gt;(location);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;theme.EnableTheme = &lt;span style="color:blue;"&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;app.Theme = theme;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;app.Run();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Then what the hell theme service does&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Here is the key to all this magic. Applying theme to the applicatoin is as simple as providing the template and asking the application to pick it and use it. In the back ground as soon as the controls added to the application either by smartparts, modules etc. the ThemeService will look up and apply the theme and renders to give desired looks and feel. This all is done by ThemeService inside CABApplication. This all saves uses from writing the same code again and again. So one can start different instance of the same application with different look and feel by just providing differnet ThemeTemplates.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-9028192655159503862?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/9028192655159503862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=9028192655159503862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/9028192655159503862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/9028192655159503862'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/04/cab-for-techies.html' title='CAB for techies....'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-5006634654477726340</id><published>2008-02-15T15:01:00.002+05:30</published><updated>2008-02-15T15:02:23.112+05:30</updated><title type='text'>Tips and Tricks</title><content type='html'>http://www.tricksandtipsforu.blogspot.com/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Increase ur browsing speed&lt;br /&gt;Increase ur browsing speed&lt;br /&gt;&lt;br /&gt;Speed up your firefox browser and load pages about 20% faster than previous.&lt;br /&gt;&lt;br /&gt;1. Type "about:config" into the address bar and hit return. Scroll down and look for the following entries:&lt;br /&gt;&lt;br /&gt;network.http.pipeliningnetwork.http.proxy.pipeliningnetwork.http.pipelining.maxrequests&lt;br /&gt;&lt;br /&gt;Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.&lt;br /&gt;&lt;br /&gt;2. Alter the entries as follows:&lt;br /&gt;&lt;br /&gt;Set "network.http.pipelining" to "true"&lt;br /&gt;&lt;br /&gt;Set "network.http.proxy.pipelining" to "true"&lt;br /&gt;&lt;br /&gt;Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.&lt;br /&gt;&lt;br /&gt;3. Lastly right-click anywhere and select New-&gt; Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it recieves.&lt;br /&gt;&lt;br /&gt;If you're using a broadband connection you'll load pages 2-3 times faster now.&lt;br /&gt;&lt;br /&gt;mozila net increase speed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;===============================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tip to Speed up the Internet connection&lt;br /&gt;1. start&gt;Run&gt;type gpedit.msc &gt;press Enter&lt;br /&gt;2. "Group Policy" windows will appear&lt;br /&gt;3. select Computer Configaration &gt;Administrative Templates&gt;Network&lt;br /&gt;4. look for the right windows find "QoS Packet Scheduler"&lt;br /&gt;5. Double click on "Limit reservable bandwidth"&lt;br /&gt;6. you will see "Limit reservable bandwidth Properties"&lt;br /&gt;7. select "Setting" tab then click on "Enable"&lt;br /&gt;8. in the " bandwidth limit (%) : " change value to 0&lt;br /&gt;9. Then Cilck OK&lt;br /&gt;10.DONE!!&lt;br /&gt;&lt;br /&gt;===============================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tip to improve Memory (RAM) performance&lt;br /&gt;1. Click Start &gt; Run &gt; type Regedit &gt; press enter&lt;br /&gt;2. Browse to HKEY_LOCAL_MACHINE &gt; SYSTEM &gt; CurrentControlSet &gt; Control &gt; SessionManager &gt; Memory Management&lt;br /&gt;3. Find the following DWord value&lt;br /&gt;&lt;br /&gt;"DisablePagingExecutive"&lt;br /&gt;"LargeSystemCache"&lt;br /&gt;&lt;br /&gt;Double Click on both of them and change the value from 0 to 1&lt;br /&gt;&lt;br /&gt;4. restart the computer and you will gain more performance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-5006634654477726340?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/5006634654477726340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=5006634654477726340' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/5006634654477726340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/5006634654477726340'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/02/tips-and-tricks.html' title='Tips and Tricks'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-5559224651931506860</id><published>2008-02-15T15:01:00.001+05:30</published><updated>2008-02-15T15:01:36.525+05:30</updated><title type='text'>MyDataBaseManager</title><content type='html'>using System.Data.OleDb;&lt;br /&gt;using System;&lt;br /&gt;&lt;br /&gt;namespace sop&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for DBManager.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;public class DBManager&lt;br /&gt;{&lt;br /&gt;public static string m_connectionString;&lt;br /&gt;&lt;br /&gt;public DBManager()&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static string ConnectionString&lt;br /&gt;{&lt;br /&gt;get&lt;br /&gt;{&lt;br /&gt;return m_connectionString;&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;if(m_connectionString != value)&lt;br /&gt;{&lt;br /&gt;m_connectionString = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public OleDbDataReader GetData(string connString_, string commandText_)&lt;br /&gt;{&lt;br /&gt;OleDbConnection conn = new OleDbConnection( &lt;br /&gt;(connString_== null)? m_connectionString: connString_);&lt;br /&gt;OleDbCommand command = new OleDbCommand(commandText_);&lt;br /&gt;conn.Open();&lt;br /&gt;command.Connection = conn;&lt;br /&gt;return command.ExecuteReader();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//using this for access mydb.mdb&lt;br /&gt;string connstring = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydb.mdb;Jet OLEDB:Database Password=MyDbPassword;";&lt;br /&gt;DBManager.ConnectionString= connstring;&lt;br /&gt;OleDbDataReader reader= new DBManager().GetData&lt;br /&gt;(connstring,"select * from employee");&lt;br /&gt;while(reader.Read())&lt;br /&gt;{&lt;br /&gt;object value = reader.GetValue(0);&lt;br /&gt;Console.WriteLine(value);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-5559224651931506860?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/5559224651931506860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=5559224651931506860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/5559224651931506860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/5559224651931506860'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/02/mydatabasemanager.html' title='MyDataBaseManager'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-598761542837232535</id><published>2008-02-15T14:58:00.000+05:30</published><updated>2008-02-15T14:59:03.204+05:30</updated><title type='text'>Using ThredPool</title><content type='html'>using System.Collections;&lt;br /&gt;using System;&lt;br /&gt;using System.Threading;&lt;br /&gt;using System.Diagnostics;&lt;br /&gt;namespace ConsoleApplication2&lt;br /&gt;{&lt;br /&gt;/// &lt;summary&gt;&lt;br /&gt;/// Summary description for Class1.&lt;br /&gt;/// &lt;/summary&gt;&lt;br /&gt;class Class1&lt;br /&gt;{&lt;br /&gt;static int counter =0;&lt;br /&gt;delegate void myparamdelegate(object paramters);&lt;br /&gt;delegate void mydelegate();&lt;br /&gt;&lt;br /&gt;[STAThread]&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;{&lt;br /&gt;goto start;&lt;br /&gt;&lt;br /&gt;#region ThreadStart&lt;br /&gt;while(counter &lt;100)&lt;br /&gt;{&lt;br /&gt;counter++;&lt;br /&gt;Thread td = new Thread(new ThreadStart(operation));&lt;br /&gt;td.Name = counter.ToString();&lt;br /&gt;td.Start();&lt;br /&gt;}&lt;br /&gt;Console.ReadLine();&lt;br /&gt;&lt;br /&gt;#endregion ThreadStart&lt;br /&gt;&lt;br /&gt;#region ThreadPool&lt;br /&gt;&lt;br /&gt;counter=0;&lt;br /&gt;while(counter &lt;100)&lt;br /&gt;{&lt;br /&gt;counter ++;&lt;br /&gt;ThreadPool.QueueUserWorkItem(new WaitCallback(operationparam));&lt;br /&gt;}&lt;br /&gt;Console.ReadLine();&lt;br /&gt;&lt;br /&gt;#endregion ThreadPool&lt;br /&gt;&lt;br /&gt;#region Delegate Begin/End&lt;br /&gt;start:&lt;br /&gt;counter=0;&lt;br /&gt;ArrayList list = new ArrayList();&lt;br /&gt;while (counter&lt; 10)&lt;br /&gt;{&lt;br /&gt;list.Add(counter.ToString());&lt;br /&gt;counter++;&lt;br /&gt;}&lt;br /&gt;counter =0;&lt;br /&gt;while(counter &lt;10)&lt;br /&gt;{&lt;br /&gt;counter++;&lt;br /&gt;mydelegate dlg = new mydelegate(operation);&lt;br /&gt;IAsyncResult result = dlg.BeginInvoke(&lt;br /&gt;new AsyncCallback(OpCallBack), counter.ToString());&lt;br /&gt;Console.WriteLine(counter.ToString());&lt;br /&gt;dlg.EndInvoke(result);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Console.ReadLine();&lt;br /&gt;&lt;br /&gt;#endregion Delegate Begin/End&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void OpCallBack(IAsyncResult parameters_)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine(parameters_.AsyncState.ToString() + " call back called");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void operation()&lt;br /&gt;{&lt;br /&gt;Thread.Sleep(500);&lt;br /&gt;Console.WriteLine("Thread sleeping" + Thread.CurrentThread.Name + " " &lt;br /&gt;+ Thread.CurrentThread.IsThreadPoolThread&lt;br /&gt;+ " executing...");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static void operationparam(object result_)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine(Thread.CurrentThread.Name + " " &lt;br /&gt;+ Thread.CurrentThread.IsThreadPoolThread&lt;br /&gt;+ " executing...");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-598761542837232535?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/598761542837232535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=598761542837232535' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/598761542837232535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/598761542837232535'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/02/using-thredpool.html' title='Using ThredPool'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-211585870232905182</id><published>2008-02-15T14:57:00.001+05:30</published><updated>2008-02-15T14:57:57.460+05:30</updated><title type='text'>resource links</title><content type='html'>File and event Logger implementation &lt;br /&gt;http://www.codeguru.com/csharp/.net/net_debugging/logging/article.php/c5909/&lt;br /&gt;&lt;br /&gt;new in .net 2.0&lt;br /&gt;http://www.codeproject.com/books/net2_cs2_newfeatures.asp&lt;br /&gt;&lt;br /&gt;[MethodImpl(MethodImplOptions.NoInlining)]&lt;br /&gt;&lt;br /&gt;keys and cracks:&lt;br /&gt;&lt;br /&gt;http://www.orkut.com/CommMsgs.aspx?cmm=29427356&amp;tid=2522482529768111727&amp;start=1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-211585870232905182?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/211585870232905182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=211585870232905182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/211585870232905182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/211585870232905182'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/02/resource-links.html' title='resource links'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4545302244139721144.post-2587566256391180639</id><published>2008-02-15T14:12:00.000+05:30</published><updated>2008-02-15T14:14:19.659+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='personal'/><title type='text'>About me</title><content type='html'>this is varun. working for an MNC in Gurgaon and staying at central new delhi. know more about from orkut.. search for varun.y.sharma@gmail.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4545302244139721144-2587566256391180639?l=varun-y-sharma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://varun-y-sharma.blogspot.com/feeds/2587566256391180639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4545302244139721144&amp;postID=2587566256391180639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/2587566256391180639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4545302244139721144/posts/default/2587566256391180639'/><link rel='alternate' type='text/html' href='http://varun-y-sharma.blogspot.com/2008/02/about-me.html' title='About me'/><author><name>varun sharma</name><uri>http://www.blogger.com/profile/12434612139500420515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
