How to upload a file without page refresh

This is an old ASP.Net hack to upload file without page refresh in ASP.Net web pages. Implementation You couldn’t upload a file without post back using normal file upload control. (Yes I agree with Ajax Toolkit or using HTML5 it is possible). To achieve the no refresh or no postback,...


K-MUG Usergroup Meeting on 3rd August Kochi

Kerala Microsoft User Group (K-MUG) is conducting monthly UG meeting on 3rd of August at Infopark, Kochi. Agenda 09:30 - 09:40 Community updates 09:40 - 10:40 “ASP.NET Web API” by Dileep C.D. 10:40 - 11:40 Using PowerShell as DSL in .Net applications by Joy George 11:40 - 11:50 Tea Break...


How to upload image on Facebook using graph API and C#

Long back I wrote a post about uploading files to Sky Drive from C# Winform application. This post is about uploading an image to Facebook using C# without any 3rd party library. As you may know, Facebook does support OAuth2.0 for authentication. Unlike web applications, for desktop applications can directly...


How to implement text to speech in WP7 using BING API

In WP8, Microsoft introduced libraries for both Text to Speech and Speech to Text without an active internet connection. But this feature is not available in WP7. I found some article implementing Text to Speech using BING API, but seems it is no more working. Here is one implementation using...


"The file you are trying to open, [filename], is in a different format than specified by the file extension" error opening Excel file

Today I got another problem with Excel file opening. One of the my colleague wrote code to generate XLS / XLSX file using OleDb object. And it was working perfectly. Only problem, while opening the XLS / XLSX file, MS Excel was displaying an error like this. And clicking Yes...


Registry.LocalMachine.OpenSubKey() returns null

To verify excel installed on my local system; initially I tried using OpenSubKey() method. But it was always returning null, even though I can see the registry key using regedit.exe. I was using a Windows 8, x64 bit OS and the application was developed in VS 2008, Winforms, x86 platform....


How to detect MS Excel installed on the system

Today I faced an issue, I want to open an excel file from a Windows application; before opening the file, I want to verify that MS Excel installed on the system. I found a solution using registry from MSDN. Here is the code snippet. //14.0 is the version of the...