Posts

Showing posts from April, 2012

How to run an application as a windows service

You may want sometime to run your windows app or a console application even you log off the machine. In order to work even the windows is log off, you need to run your application as a windows service. So, how to run an application as a windows service ? Here is the solution. 1) Please install windows resource kit (both xp or windows 2003) from here 2) Start windows command prompt 3) Execute > cd "your windows resource kit path" ex: CD "C:\Program Files\Windows Resource Kits\Tools" 4) Execute > Instsrv.exe YourServiceName "C:\Program Files\Windows Resource Kits\Tools\Srvany.exe" 5) Open regedit > go to> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\YourServiceName 6) add following KEY : Parameters 7) Add value to the above key :  Value = Application, Type : REG_SZ, Value : "path to your exe" 8) Close the reg edit 9) Go to Control Panel > Service > Edit your Service properties > Change settings as you wish

How to get the site map of your blog in blogger

Someone may need to know where the site map of the blog is saved. This is how you can find it. 1) Get the robots.txt file http://yourblogname.blogspot.com/robots.txt 2) Once you open this file you will see as follows User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://yourblogname.blogspot.com/feeds/posts/default?orderby=updated 3) Last line says where to find your blog site map

Taxi - Cab services in Colombo - Sri Lanka

This is the list of cab / taxi services operating in Colombo - Sri Lanka. KangarooCabs Address: 91 1/6, Galle Road, Colombo 4 Contact Number: 2501501 / 2588588 / 2502888 Radiant Cabs Address: 455, Galle Road, Colombo3 Contact Number: 2556556 City Cabs Address: 422, Galle Road, Colombo 6 Contact Number: 2552222 Colombo Cabs Address: 326, Hospital Road, Kalubowila, Dehiwala Contact Number: 4203303 Excel Cabs Address: 831 1.2 Kotte Road,Ethul Kotte Contact Number: 2889889 Yellow Radio Cabs Address : 315 St Clair, Wattala, Wattala Contact Number:: 2942942 ACE Cabs Address: 298-1/1. Colombo Road, Pepiliyana Contact Number: 2818818 Airport Express Address: 65/6, Kirula Road, Colombo 5 Contact Number: 5555050 Airport Link Address: 73/28, Temple Road, Colombo 5 Contact Number:5336666 A R S Cab service Address: 46, Sri Siddhartha Road, Colombo 6 Contact Number: 5054153 Create Tours Address: 3, Wijeyaba Mawatha, Nawala Contact Number: 5377677 GNTC

Permission to Service Broker - Query Notification

To enable service broker and use it with .net application for Query Notification, the db user required following user permissions. This is the minimum permission that required by the DB User. -- enable service broker ALTER DATABASE [yourdatabasename] SET ENABLE_BROKER; -- create the queue CREATE QUEUE [yourqueuename]; CREATE SERVICE [yourservicename]   ON QUEUE [yourqueuename] ([http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification]); --Database level permissions GRANT CREATE PROCEDURE to [yourusername]; GRANT CREATE QUEUE to [yourusername]; GRANT CREATE SERVICE to [yourusername]; GRANT SUBSCRIBE QUERY NOTIFICATIONS TO  [yourusername] GRANT VIEW DEFINITION TO [yourusername]; --Service Broker permissions GRANT REFERENCES on CONTRACT::[http://schemas.microsoft.com/SQL/Notifications/PostQueryNotification] to [yourusername] GRANT RECEIVE ON [yourqueuename] TO [yourusername] GRANT SEND ON SERVICE::[yourservicename] TO [yourusername] GRANT RECEIVE ON

Best GTalk IM for Iphone : Beejive IM GT

I was looking for a better Iphone app to use with GTalk. I tried several apps in istore. Finally I came to conclusion that Beegive IM GT is the best GTalk app for IPhone. It is totally free and only limitation is every 7 days, you have re login. :) . This is running in background and alert through push notifications. Also once disconnect it will automatically connect to google server so that it will keep the loged in session for 7 days. Please find the application here in App Store.

Visa inc drops Global Payments after data breach affects 1.5 million cardholders

Visa Inc. has dropped "Global Payment" the card processor involved in mass data breach from its registry of providers that meet data security standards. Global Payments CEO Paul Garcia noted that the company continues to process Visa transactions, but that being dropped from the registry “could give our partners some pause that they’re doing business with someone who experienced a breach.” Garcia said he expects Global Payments to be reinstated once it has been issued a new report of compliance. But he declined to specify when that might be. He said the situation is “absolutely contained” but that the investigation is continuing and that parts of it still need to be resolved. Global Payments says the data breach may affect less than 1.5 million credit cards from various issuers in North America. The company said that credit card data may have been stolen, but that cardholder names, addresses and Social Security numbers were not obtained. Aside from the U.S., Global P