Posts

Showing posts from July, 2014

How to Create a Clickable Map Using Your Own Custom Map Image

you can find co-ordinate of a specific location inside your image map by the help of ms-paint and then put into polygon or circle point. <div style="float:left;width:960px;">         <div style="float: left; width: 960px;">             <img src="~/Images/CampingMap.png" style="width: 930px;" id="CampingMapImg" />             <svg width="930px" height="800px" style="overflow: hidden; position: absolute; top: 0; left: 8px;">                 <polygon fill="#000000" fill-opacity="0.5" stroke="#000000" stroke-width="2" points="878,125 896,125 896,148 878,148" stroke-opacity="1" stroke-linejoin="round" data-campid="818" data-available="false" onclick="CampStatus(this);"></polygon>                 <polygon class="poly_avail" fill="rgba(188, 112, 112, 0.55...

How to debug Windows services in Visual Studio?

Image
Yo can find this solution from http://stackoverflow.com/questions/4678819/how-to-debug-windows-services-in-visual-studio  or http://msdn.microsoft.com/en-us/library/7a50syb3(v=vs.110).aspx You can also try this. Create your Windows service and install and start…. That is, Windows services must be running in your system. While your service is running, go to the  Debug  menu, click on  Attach Process  (or process in old Visual Studio) Find your running service, and then sure the  Show process from all users  and  Show processes in all sessions  is selected, if not then select it. Click the  Attach  button Click  OK Click  Close Set a break point to your desirable location and wait for execute. It will debug automatic whenever your code reaches to that point. Remember, put your breakpoint at  reachable place , if it is  onStart (), then stop and start the service again If your debugger ...