Software / Technology Tips

Interprocess Communication using named pipe.

Interprocess Communication (IPC) is a set of methods for the exchange of data among multiple threads in one or more processes. IPC has four general approaches: Shared memory. Messages. Pipes. Sockets. Pipes are basically files that reside in memory instead on disk. Writing to a pipe and reading from a pipe is in FIFO manner.…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Issues with IIS

Here are some errors due to IIS, we come accross while working with .net application Service Unavailable We need to check the System Event Log for this error. There we can get different error or warning messages. The below points provide some of the error messages with some more specific problem. To go to Event…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Image Caching with Flash

Objective: With flash sometimes we might need to fetch external images (images from remote server). If we use those images in different pages of the application, then on each page (frames) we need to request server to fetch the images separately. Images loading might take time due to slow internet connection or bigger size of…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Remove Annotations From Map In Titanium

Here is a code snippet which explains how to remove annotations from mapview using Titanium. //Define the current window var currentWin = Ti.UI.currentWindow; //Define the resource directory var resDir = Ti.Filesystem.getResourcesDirectory() //Define a map var myMapView = Titanium.Map.createView({ top : 0, height : ( Ti.Platform.displayCaps.platformHeight / 4 ) * 3, //Define the height of the…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Show location on map from address using Titanium

Here is a sample code to show location from address using titanium. Lets say we have text box on which we will type address and on click of a button it will show the location. //Define the current window var currentWin = Ti.UI.currentWindow; //Define the textbox var txtAddress = Titanium.UI.createTextField({ left : 10, top :10,…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Send Email in Sharepoint using SPUtility.SendEmail using HTML tags.

Send Email in Sharepoint using SPUtility.SendEmail using HTML tags. SPUtility.SendEmail has 4 overloaded method in Sharepoint for sending email to any email address. I will discuss mainly 2 methods which can handle every type of html email body in Sharepoint. 1) SPUtility.SendEmail(SPWeb web, bool fAppendHtmlTag, bool fHtmlEncode, string to, string subject,string htmlEmailBody) Most of the…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

3 Ways To Debug A Web Service In Visual Studio

Debugging a windows service is not that straightforward a task as debugging other web or windows application are in Visual Studio (by just pressing F5). Instead, we need to do some tricky tasks to debug it as the service runs under the context of the Service Control Manager. In my research I found 3 different…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to create a Custom Timer job in SharePoint?

When we want to run a task (like sending emails or deleting the list items etc. . .  )  in Daily basis or in Hourly basis then we can use a Timer job to this task .To see the  timer job you can move to the Central Administrations then click on the operations tab,  then…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Update vs. SystemUpdate for SharePoint List Item

What is the general approach we follow when we try to add / edit a SPListItem using the SharePoint object model? Yes I know it! Almost everybody will have a common answer to this (which is something similar to what is provided below). SPListItem item = SPList.Items.Add(); item = "value for column 1"; item =…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Regular expression to filter out US phone numbers

My recent work on IE8+ plugin development needed me to filter out any US phone numbers present in a webpage. Filtering process could be done in many ways, now the problem is, although there is a particular phone number format for writting down the phone numbers but its very less followed. So in order to…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!