<?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-8702455373597941853</id><updated>2012-02-16T03:51:12.670-08:00</updated><title type='text'>My Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8702455373597941853.post-2149903743720045923</id><published>2010-12-24T13:37:00.000-08:00</published><updated>2010-12-24T13:41:55.074-08:00</updated><title type='text'>visa</title><content type='html'>I have just received my passport and received my HSMP visa extension under the points based system, so I just thought I would explain how I proved my earnings as a contractor through my own Limited Company.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NB – this does not apply to you if you pay yourself your salary and your dividends separately (e.g. if you only get dividend payments every quarter).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For proving my earnings, I had to provide two separate forms of evidence. I submitted about 9 months of bank statements that showed ~£35k being deposited from my limited company into my personal bank account . &lt;br /&gt;The payments I made were a combo of salary (about £100/week) and dividends. &lt;br /&gt;In order to prove both the salary and dividend components being paid together into my account, I needed payslips that showed my salary and my dividend certificate on the same payslip. My accountant couldn't provide me with payslips, so I made my own template on company headed paper, and at the bottom was the dividend certificate which I got signed by my secretary and my accountant. I also got a company stamp made up (ordered on line) and stamped every payslip with it. I generally paid myself weekly, so submitted one payslip per payment into my bank account.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I also got my accountant to write a letter that included a table listing every payment made to my bank account, broken down into salary, gross and net dividends. The final total amount I claimed was my total Gross income, consisting of my gross salary and my gross dividend (which was my net dividend paid into my bank account, + the amount of tax credit equal to net dividend times 1/9.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EXAMPLE ONLY&lt;br /&gt;&lt;br /&gt;e.g. for 52 weeks, A contractor's total salary would be £6030 (£115 per week, just below the threshold whereby you would need to pay NI and PAYE).&lt;br /&gt;&lt;br /&gt;Say you paid yourself from your Limited company bank account into your personal bank account an additional £30k in dividends over the 52 weeks, this is your Gross net dividend. Then your tax credit would be £30k X 1/9 = £3333.33. Net dividend + tax credit = gross dividend, so gross dividend = 30,000 + 3333.33 = 33,333.33 (note that the tax credit is 10% of the gross dividend, i.e. 10% tax rate)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Net salary 6030&lt;br /&gt;&lt;br /&gt;Tax paid on salary 0 (don't pay any PAYE or NI as under threshold)&lt;br /&gt;&lt;br /&gt;Gross salary 6030 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Net dividend 30,000&lt;br /&gt;&lt;br /&gt;Tax Credit 3,333.33 (equal to net dividend X 1/9)&lt;br /&gt;&lt;br /&gt;Gross Dividend 33,333.33 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Total claim&lt;br /&gt;&lt;br /&gt;Gross income = Gross salary + Gross dividend&lt;br /&gt;&lt;br /&gt;= 6030 + 33,333.33&lt;br /&gt;&lt;br /&gt;= £39363.33 – claim points on this amount.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Evidence required for above example: &lt;br /&gt;&lt;br /&gt;· Full 12 months bank statements showing total of deposits into bank account (i.e. should add up to Total Net income which = net salary + net dividend). &lt;br /&gt;&lt;br /&gt;· Full 12 months payslips showing for each payment your salary, net dividend, tax credit, and gross dividend. You also need to include a dividend certificate on the bottom of the payslip and get your accountant and secretary to sign it.&lt;br /&gt;&lt;br /&gt;· Recommended to also supply letter from your accountant, and include with the letter a table of all the payments into your bank account (which will cross reference with your bank statements and payslips) that break down the payments into salary, net dividend, tax credit, gross dividend, and total gross income.&lt;br /&gt;&lt;br /&gt;NB if you order your bank statements from the bank and they say "Duplicate" this is fine, as long as they are on headed paper (i.e. not a photocopy, or printed on blank paper, or printed off the internet). Also, I used a serious saver account for my maintanence funds which was fine. I have heard you cannot use ISA accounts to prove funds though…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-2149903743720045923?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/2149903743720045923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=2149903743720045923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/2149903743720045923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/2149903743720045923'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2010/12/visa.html' title='visa'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-5341184201296877175</id><published>2008-08-20T07:41:00.000-07:00</published><updated>2008-08-20T07:47:25.363-07:00</updated><title type='text'>Batch files - Delete 7 days older back up files</title><content type='html'>Its really difficult to calculate date in batch files since date object is not available. Please Comment if anyone has got suggestion about below code&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set Month=%date:~3,2% &lt;br /&gt;set Day=%date:~0,2%&lt;br /&gt;set Year=%date:~6,4%&lt;br /&gt;Set CDay=%date:~0,2%&lt;br /&gt;Set CMonth=%date:~3,2%&lt;br /&gt;Set CYear=%date:~6,4%&lt;br /&gt;&lt;br /&gt;if 01 EQU %Day% set Day=1&lt;br /&gt;if 02 EQU %Day% set Day=2&lt;br /&gt;if 03 EQU %Day% set Day=3&lt;br /&gt;if 04 EQU %Day% set Day=4&lt;br /&gt;if 05 EQU %Day% set Day=5&lt;br /&gt;if 06 EQU %Day% set Day=6&lt;br /&gt;if 07 EQU %Day% set Day=7&lt;br /&gt;if 08 EQU %Day% set Day=8&lt;br /&gt;if 09 EQU %Day% set Day=9&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if 01 EQU %Month% set Month=1&lt;br /&gt;if 02 EQU %Month% set Month=2&lt;br /&gt;if 03 EQU %Month% set Month=3&lt;br /&gt;if 04 EQU %Month% set Month=4&lt;br /&gt;if 05 EQU %Month% set Month=5&lt;br /&gt;if 06 EQU %Month% set Month=6&lt;br /&gt;if 07 EQU %Month% set Month=7&lt;br /&gt;if 08 EQU %Month% set Month=8&lt;br /&gt;if 09 EQU %Month% set Month=9&lt;br /&gt;&lt;br /&gt;set Lday=%Day%&lt;br /&gt;set /A LMonth=%Month%&lt;br /&gt;&lt;br /&gt;if %CDay% EQU 02 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 03 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 04 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 05 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 06 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 07 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 08 set /A Lday -= 8&lt;br /&gt;if %CDay% EQU 01 set /A Lday -= 7&lt;br /&gt;if %CDay% GEQ 09 set /A Lday -= 7&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if %Day% LEQ 8 GOTO Mday&lt;br /&gt;Goto BackP&lt;br /&gt;&lt;br /&gt;:Mday&lt;br /&gt;if %LMonth% EQU 1 Goto :Jan&lt;br /&gt;if %LMonth% EQU 2 Goto :Feb&lt;br /&gt;if %LMonth% EQU 3 Goto :Mar&lt;br /&gt;if %LMonth% EQU 4 Goto :Apr&lt;br /&gt;if %LMonth% EQU 5 Goto :May&lt;br /&gt;if %LMonth% EQU 6 Goto :Jun&lt;br /&gt;if %LMonth% EQU 7 Goto :Jul&lt;br /&gt;if %LMonth% EQU 8 Goto :Aug&lt;br /&gt;if %LMonth% EQU 9 Goto :Sep&lt;br /&gt;if %LMonth% EQU 10 Goto :Oct&lt;br /&gt;if %LMonth% EQU 11 Goto :Nov&lt;br /&gt;if %LMonth% EQU 12 Goto :Dec&lt;br /&gt;&lt;br /&gt;:Jan&lt;br /&gt;if %Day% LEQ 8 goto PrevYear&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 12&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Feb&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 1&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;REM ***********************&lt;br /&gt;REM Check for leap year&lt;br /&gt;REM ***********************&lt;br /&gt;&lt;br /&gt;:Mar&lt;br /&gt;if %Year% EQU 2004 set /A Lday += 29&lt;br /&gt;if %Year% EQU 2008 set /A Lday += 29&lt;br /&gt;if %Year% EQU 2012 set /A Lday += 29&lt;br /&gt;if %Year% EQU 2016 set /A Lday += 29&lt;br /&gt;else set /A Lday += 28&lt;br /&gt;set /A LMonth = 2&lt;br /&gt;&lt;br /&gt;:Apr&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 3&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:May&lt;br /&gt;set /A Lday += 30&lt;br /&gt;set /A LMonth = 4&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Jun&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 5&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Jul&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 6&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Aug&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 7&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Sep&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 8&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Oct&lt;br /&gt;set /A Lday += 30&lt;br /&gt;set /A LMonth = 9&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Nov&lt;br /&gt;set /A Lday += 31&lt;br /&gt;set /A LMonth = 10&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;:Dec&lt;br /&gt;set /A Lday += 30&lt;br /&gt;set /A LMonth = 11&lt;br /&gt;Goto Backp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;REM ***********************&lt;br /&gt;REM PrevYear is to take account of jan 1st previous day, which is dec 31st&lt;br /&gt;REM ***********************&lt;br /&gt;&lt;br /&gt;:PrevYear&lt;br /&gt;set /A Year -= 1&lt;br /&gt;set /A LDay += 31&lt;br /&gt;set /A LMonth = 12&lt;br /&gt;goto Backp&lt;br /&gt;&lt;br /&gt;REM ***********************&lt;br /&gt;REM pad days and months with 0's to get correct format if day is 1-9, and month is 1-9 &lt;br /&gt;REM ***********************&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:Backp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if %Lday% LEQ 9 set Nday=0%Lday%&lt;br /&gt;if %Lday% GEQ 10 set Nday=%Lday%&lt;br /&gt;if %LMonth% LEQ 9 set Nmonth=0%LMonth%&lt;br /&gt;if %LMonth% GEQ 10 set Nmonth=%LMonth%&lt;br /&gt;&lt;br /&gt;Set /A MoveDate= %CYear%%CMonth%%CDay%&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if %CDay% EQU 01 goto FileMove&lt;br /&gt;goto FileDel&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:FileMove&lt;br /&gt;&lt;br /&gt;MD C:\Batchf~1\"month end backups"\LMEWSLive_backup_%MoveDate%&lt;br /&gt;&lt;br /&gt;move C:\Batchf~1\Backup\HBDocProd_backup_%MoveDate%0100.bak C:\Batchf~1\"month end backups"\LMEWSLive_backup_%MoveDate%&lt;br /&gt;move C:\Batchf~1\Backup\LMEWSArchive_backup_%MoveDate%0100.bak C:\Batchf~1\"month end backups"\LMEWSLive_backup_%MoveDate%&lt;br /&gt;move C:\Batchf~1\Backup\LMEWSLive_backup_%MoveDate%0100.bak C:\Batchf~1\"month end backups"\LMEWSLive_backup_%MoveDate%&lt;br /&gt;&lt;br /&gt;pause&lt;br /&gt;&lt;br /&gt;exit&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:FileDel&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set /A Deldate = %Year%%Nmonth%%Nday%&lt;br /&gt;&lt;br /&gt;move C:\Batchf~1\Backup\HBDocProd_backup_%Deldate%0100.bak C:\Batchf~1\Delete&lt;br /&gt;move C:\Batchf~1\Backup\LMEWSArchive_backup_%Deldate%0100.bak C:\Batchf~1\Delete&lt;br /&gt;move C:\Batchf~1\Backup\LMEWSLive_backup_%Deldate%0100.bak C:\Batchf~1\Delete&lt;br /&gt;&lt;br /&gt;pause&lt;br /&gt;exit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-5341184201296877175?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/5341184201296877175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=5341184201296877175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/5341184201296877175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/5341184201296877175'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2008/08/batch-files-delete-7-days-older-back-up.html' title='Batch files - Delete 7 days older back up files'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-143394763587689183</id><published>2008-08-20T07:40:00.000-07:00</published><updated>2008-08-20T07:41:03.011-07:00</updated><title type='text'>Batch file for deleteing recycle bin</title><content type='html'>@for /f %%a in ('dir /ad c:\recycler /b') do rmdir /s /q c:\recycler\%%a&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-143394763587689183?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/143394763587689183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=143394763587689183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/143394763587689183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/143394763587689183'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2008/08/batch-file-for-deleteing-recycle-bin.html' title='Batch file for deleteing recycle bin'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-6604432997447411181</id><published>2008-07-30T03:18:00.000-07:00</published><updated>2008-07-30T03:19:46.689-07:00</updated><title type='text'>Set CommandTimeout unlimited</title><content type='html'>The CommandTimeout property defines how many seconds to wait before cancelling an Execute method call and generating an error. The default is thirty seconds. If you set CommandTimeout equal to zero seconds, the program will wait indefinitely or until the Execute is completed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-6604432997447411181?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/6604432997447411181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=6604432997447411181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/6604432997447411181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/6604432997447411181'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2008/07/set-commandtimeout-unlimited.html' title='Set CommandTimeout unlimited'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-7783117276126321189</id><published>2008-07-29T04:32:00.000-07:00</published><updated>2008-07-29T04:35:27.869-07:00</updated><title type='text'>Crystal Reports 9 is slow when moved to production server</title><content type='html'>Reason : It seems like it is pointing to development database server eventhough proper database is set at runtime. When i did experiments it showed good performance when i changed the default database of the crystal report to production server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-7783117276126321189?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/7783117276126321189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=7783117276126321189' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/7783117276126321189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/7783117276126321189'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2008/07/crystal-reports-9-is-slow-when-moved-to.html' title='Crystal Reports 9 is slow when moved to production server'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-4647266330776627314</id><published>2008-07-29T04:26:00.000-07:00</published><updated>2008-07-29T04:30:24.068-07:00</updated><title type='text'>Some of the .net reference (3.0 and 3.5) is greyed out in visual studio 2008 (ASP.NET)</title><content type='html'>Reason: The asp.net web application target is set to previous version of .net framework. Change the target framework taking the properties of project and setting it to 3.5 or 3.0.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-4647266330776627314?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/4647266330776627314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=4647266330776627314' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/4647266330776627314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/4647266330776627314'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2008/07/some-of-net-reference-30-and-35-is.html' title='Some of the .net reference (3.0 and 3.5) is greyed out in visual studio 2008 (ASP.NET)'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-5436858361397258532</id><published>2007-12-17T21:06:00.000-08:00</published><updated>2007-12-17T21:07:48.286-08:00</updated><title type='text'>Pumping petrol.... good things to know.</title><content type='html'>Here are some tricks to help you get your money's worth:&lt;br /&gt;&lt;br /&gt;1. Fill up your car or truck in the morning when the temperature is still cool. Remember that all service stations have their storage tanks buried below ground; and the colder the ground, the denser the gasoline. When it gets warmer gasoline expands, so if you're filling up in the afternoon or in the evening, what should be a gallon is not exactly a gallon. In the petroleum business, the specific gravity and temperature of the fuel (gasoline, diesel, jet fuel, ethanol and other petroleum products) are significant. Every truckload that we load is temperature-compensated so that the indicated gallon gauge is actually the amount pumped. A one-degree rise in temperature is a big deal for businesses, but service stations don't have temperature compensation at their pumps.&lt;br /&gt;&lt;br /&gt;2. If a tanker truck is filling the station's tank at the time you want to buy gas, do not fill up; most likely dirt and sludge in the tank is being stirred up when gas is being delivered, and you might be transferring that dirt from the bottom of their tank into your car's tank.&lt;br /&gt;&lt;br /&gt;3. Fill up when your gas tank is half-full (or half-empty), because the more gas you have in your tank the less air there is and gasoline evaporates rapidly, especially when it's warm (gasoline storage tanks have an internal floating 'roof' membrane to act as a barrier between the gas and the atmosphere, thereby minimizing evaporation).&lt;br /&gt;&lt;br /&gt;4. If you look at the trigger you'll see that it has three delivery settings: slow, medium and high. When you're filling up do not squeeze the trigger of the nozzle to the high setting. You should be pumping at the slow setting, thereby minimizing vapors created while you are pumping. Hoses at the pump are corrugated; the corrugations act as a return path for vapor recovery from gas that already has been metered. If you are pumping at the high setting, the agitated gasoline contains more vapor, which is being sucked back into the underground tank, so you're getting less gas for your money. Hope this will help ease your 'pain at the pump'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8702455373597941853-5436858361397258532?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/5436858361397258532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=5436858361397258532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/5436858361397258532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/5436858361397258532'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2007/12/pumping-petrol-good-things-to-know.html' title='Pumping petrol.... good things to know.'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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-8702455373597941853.post-6670337696989022520</id><published>2007-03-04T23:42:00.000-08:00</published><updated>2007-12-17T21:10:07.508-08:00</updated><title type='text'>Pull Subscriptions using Exchange 2007 Web Service</title><content type='html'>Here is the complete code for finding created event and new mail event using webservice&lt;br /&gt;&lt;br /&gt;'Create the binding and set the credentials.&lt;br /&gt;        Dim esb As New ExchangeServiceBinding()&lt;br /&gt;        esb.Url = "http://www.domain.com/EWS/exchange.asmx"&lt;br /&gt;        esb.Credentials = New NetworkCredential("administrator", "password", "domain")&lt;br /&gt;&lt;br /&gt;     &lt;br /&gt;&lt;br /&gt;        ' Create a new Subscribe request.&lt;br /&gt;        Dim subscribeRequest As New SubscribeType()&lt;br /&gt;        Dim pullSubscription As New PullSubscriptionRequestType()&lt;br /&gt;&lt;br /&gt;        ' Identify the folders monitored for events.&lt;br /&gt;        Dim folders(2) As BaseFolderIdType&lt;br /&gt;        Dim folderId As New DistinguishedFolderIdType&lt;br /&gt;        folderId.Id = DistinguishedFolderIdNameType.inbox&lt;br /&gt;        folders(0) = folderId&lt;br /&gt;&lt;br /&gt;        Dim folderId1 As New DistinguishedFolderIdType&lt;br /&gt;        folderId1.Id = DistinguishedFolderIdNameType.calendar&lt;br /&gt;        folders(1) = folderId1&lt;br /&gt;&lt;br /&gt;        pullSubscription.FolderIds = folders&lt;br /&gt;&lt;br /&gt;        ' Identify the events monitored for the subscription.&lt;br /&gt;        Dim eventTypes(2) As NotificationEventTypeType&lt;br /&gt;        eventTypes(0) = NotificationEventTypeType.NewMailEvent&lt;br /&gt;        eventTypes(1) = NotificationEventTypeType.CreatedEvent&lt;br /&gt;        pullSubscription.EventTypes = eventTypes&lt;br /&gt;&lt;br /&gt;        ' Define the timeout period for the subscription.&lt;br /&gt;        pullSubscription.Timeout = 10&lt;br /&gt;&lt;br /&gt;        subscribeRequest.Item = pullSubscription&lt;br /&gt;&lt;br /&gt;        ' Send the Subscribe request and receive the Subscribe response.&lt;br /&gt;        Dim subscribeResponse As SubscribeResponseType = esb.Subscribe(subscribeRequest)&lt;br /&gt;&lt;br /&gt;        ' Check the results.&lt;br /&gt;        If (subscribeResponse.ResponseMessages.Items.Length &gt; 0 And subscribeResponse.ResponseMessages.Items(0).ResponseClass = ResponseClassType.Success) Then&lt;br /&gt;&lt;br /&gt;            Dim subscribeResponseMessage As SubscribeResponseMessageType = subscribeResponse.ResponseMessages.Items(0)&lt;br /&gt;            Response.Write("Subscribed for Pull notifications: " &amp; subscribeResponseMessage.SubscriptionId)&lt;br /&gt;&lt;br /&gt;            ' Wait 30 seconds before receiving event notifications.&lt;br /&gt;            'Thread.Sleep(30000)&lt;br /&gt;&lt;br /&gt;            ' Create a new GetEvents request.&lt;br /&gt;            Dim getEventsRequest As New GetEventsType()&lt;br /&gt;&lt;br /&gt;            ' Identify the subscription identifier and watermark for the subscription &lt;br /&gt;            ' that will be polled for changes in the Exchange store.&lt;br /&gt;            getEventsRequest.SubscriptionId = subscribeResponseMessage.SubscriptionId&lt;br /&gt;            getEventsRequest.Watermark = subscribeResponseMessage.Watermark&lt;br /&gt;&lt;br /&gt;            ' Send the GetEvents request and receive the GetEvents response.&lt;br /&gt;            Dim eventsResponse As GetEventsResponseType = esb.GetEvents(getEventsRequest)&lt;br /&gt;&lt;br /&gt;            ' Check the results.&lt;br /&gt;            If (eventsResponse.ResponseMessages.Items.Length &gt; 0 And eventsResponse.ResponseMessages.Items(0).ResponseClass = ResponseClassType.Success) Then&lt;br /&gt;                Dim eventsResponseMessage As GetEventsResponseMessageType = eventsResponse.ResponseMessages.Items(0)&lt;br /&gt;                For Each type As ItemsChoiceType In eventsResponseMessage.Notification.ItemsElementName&lt;br /&gt;                    If type = ItemsChoiceType.NewMailEvent Then&lt;br /&gt;                        Dim notification As NotificationType&lt;br /&gt;                        notification = eventsResponseMessage.Notification&lt;br /&gt;                        Dim eventChangedTye As BaseObjectChangedEventType&lt;br /&gt;                        eventChangedTye = notification.Items(0)&lt;br /&gt;                        Dim MailItemIdType As ItemIdType&lt;br /&gt;                        MailItemIdType = eventChangedTye.Item&lt;br /&gt;                        Response.Write(MailItemIdType.Id)&lt;br /&gt;&lt;br /&gt;                    End If&lt;br /&gt;                Next&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;            ' Create an Unsubscribe request.&lt;br /&gt;            Dim unsubscribeRequest As New UnsubscribeType()&lt;br /&gt;&lt;br /&gt;            ' Identify the subscription to unsubscribe from.&lt;br /&gt;            unsubscribeRequest.SubscriptionId = subscribeResponseMessage.SubscriptionId&lt;br /&gt;&lt;br /&gt;            ' Send the Unsubscribe request and receive the Unsubscribe response.&lt;br /&gt;            Dim unsubscribeResponse As UnsubscribeResponseType = esb.Unsubscribe(unsubscribeRequest)&lt;br /&gt;&lt;br /&gt;            ' Check the results&lt;br /&gt;            If (unsubscribeResponse.ResponseMessages.Items.Length &gt; 0 And unsubscribeResponse.ResponseMessages.Items(0).ResponseClass = ResponseClassType.Success) Then&lt;br /&gt;                Response.Write("Subscribtionunsubscribed successfully: " &amp; unsubscribeRequest.SubscriptionId)&lt;br /&gt;            End If&lt;br /&gt;        End If&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/8702455373597941853-6670337696989022520?l=anoopjayaraj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anoopjayaraj.blogspot.com/feeds/6670337696989022520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8702455373597941853&amp;postID=6670337696989022520' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/6670337696989022520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8702455373597941853/posts/default/6670337696989022520'/><link rel='alternate' type='text/html' href='http://anoopjayaraj.blogspot.com/2007/03/pull-subscriptions-using-exchange-2007.html' title='Pull Subscriptions using Exchange 2007 Web Service'/><author><name>Anu</name><uri>http://www.blogger.com/profile/07483831237996517960</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></feed>
