While exporting HTML in excel format you may encounter this error when opening the exported Excel file:
The file you are trying to open, ‘XXX.xls’ is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file.
This bug cannot be fixed through asp.net code. Here is more information on this problem:
If this app is running on an intranet and some specific computers is heavily using this export to excel feature, then we can suppress this warning notification by modifying the registry on each of the client computers as follows: [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security]“ExtensionHardening”=dword:00000000 1. Open your Registry (Start -> Run -> regedit.exe) 2. Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY 3. Right click in the right window and choose New -> DWORD 4. Type “ExtensionHardening” as the name (without the quotes) 5. Verify that the data has the value “0″
This blog will apply to those folks who use Photoshop for design. I will focus on the use of channels to make a perfect selection out of a very complex image. In this blo...
by: Atul Ahuja
Toast message is a way to provide some information to the user that stays on the screen for a couple of seconds. Here, we will be working on how to beautify that message ...
by: Ravi Rawal
Adobe has been keeping busy for a few months now working on the new features for Photoshop CC 2015. And finally they released a new version recently. The engineers worked...
In this blog, we will create a string array in our file "strings.xml" and then bind it to the listview and display some information in another string array based on that ...
Read on to find which new features have been added in Visual Studio 2015
by: Yukti Arora
Here you will be given an introduction on how to read and write to a file saved in internal storage of your phone.
What kind of email newsletter would you prefer to receive from CodeAsp.Net?