Send free SMS API

http://ubaid.tk/api-usage/ Required Params : uid, pwd, phone, msg. uid : your userid for the required sms provider pwd : your password for the required sms provider provider : way2sms(default), fullonsms, smsindia, whozzat, smsinside, site2sms. if you do not specify any provider, way2sms will be used by default. phone : phone number whom you want to …

Upload video on youtube from asp.net website

Download you-tube API dll from: Here. Add below code on upload button: YouTubeRequestSettings setting = new YouTubeRequestSettings(“app name anything u like”, “Your Developer Key”, “Your youtube username”, “youtube a/c passowrd”); YouTubeRequest request = new YouTubeRequest(setting); Video newVideo = new Video(); newVideo.Title = “My Test Movie”; newVideo.Tags.Add(new MediaCategory(“Autos”, YouTubeNameTable.CategorySchema)); newVideo.Keywords = “cars, funny”; newVideo.Description = “My …

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

You can set the MaxJsonLength property on your web.config: [sourcecode language=”html”] <configuration> <system.web.extensions> <scripting> <webServices> <jsonSerialization maxJsonLength="50000000"/> </webServices> </scripting> </system.web.extensions> </configuration> [/sourcecode] refer link: http://stackoverflow.com/questions/1151987/can-i-set-an-unlimited-length-for-maxjsonlength-in-web-config

set telerik dock popup position

function ShowRadDock() { var myWidth = 0, myHeight = 0; var scrollLeft = 0; var scrollTop = 0; if( typeof( window.innerWidth ) == ‘number’ ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; scrollLeft = window.pageXOffset; scrollTop = window.pageYOffset; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in ‘standards …

Microsoft Office Document to PDF convert

OfficeToPDF is a command line utility that converts Microsoft Office 2007 and 2010 documents from their native format into PDF using Office’s in-built PDF export features. OfficeToPDF is useful (and unique) if you want to automatically create PDF files on a server-wide basis and free individual users from an extra step of using the “Save …

PDF to Image

First of all you have download “GhostScript” from Here Installed it. C#.net Code as below 1) Create a new console application in Visual Studio 2010. 2) Copy the below code into your application public static void PdfToJpg(string ghostScriptPath,string input, string output) { //String ars = “-dNOPAUSE -sDEVICE=jpeg -r300 -o” + output + “-%d.jpg ” + …

Import contacts from Gmail in Asp.Net

Download Google Contact API from below link. http://google-gdata.googlecode.com/files/Google%20Data%20API%20Setup%281.4.0.2%29.msi Add reference to your project following DLL files. Google.GData.Apps.dll, Google.GData.Client.dll, Google.GData.Contacts.dll, Google.GData.Extensions.dll .Aspx page look like this <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”> <title>IMport Gmail Contacts</title> </head> <body> <form id=”frmGmailContacts” runat=”server”> <div> <table> <tr> <td> UserName</td> <td> <asp:TextBox ID=”txtUsername” runat=”server”></asp:TextBox> </td> </tr> <tr> <td> Password</td> <td> <asp:TextBox ID=”txtPassword” runat=”server” …

Convert any Office document to PDF using Open Office in C#.net

Things need to be installed Download from here Open Office Open Office SDK The required files listed below: cli_basetypes.dll cli_cppuhelper.dll cli_oootypes.dll cli_ure.dll cli_uretypes.dll If you have installed Open Office SDK, you will get these files under sdk\cli on you installed SDK folder. After give reference of above DLL files import following name space in .cs …