How to VERY EASILY decompress XSN files using C#
XSN files are just cab files, but .NET doesn’t ship with APIs to easily decompress them. After a little bit of poking around I found SevenZipSharp to be the fasted and simplest way to do so. 1. Instal
XSN files are just cab files, but .NET doesn’t ship with APIs to easily decompress them. After a little bit of poking around I found SevenZipSharp to be the fasted and simplest way to do so. 1. Instal
You need to change the target platform to x64. Double click properties. Click on Build Tab Change Platform target to x64 Can not load 7-zip library or internal COM error! Message: failed to load libr
Here’s how to solve the exception: “Can not load 7-zip library or internal COM error! Message: DLL file does not exist.” Step 1: SetLibraryPath Add a call to SetLibraryPath before you init SevenZipEx
I had to change TFS Iterations and didn’t want to break all existing queries. I also didn’t want to update them all manually. Thanks to Tarun Arora for a good starting point: http://geekswithblogs.net
Probably not the only reason you’d get this exception, but if you do try this: Open WMAppManifest.xml under /Properties Remove all child nodes from HTH, Jon
It’s really simple to Navigate to another page in Windows Phone 7, but it took me a few to figure it out. Where Page1.xaml is in the root of the app: NavigationService.Navigate(new Uri("/Page1.xaml",
I’m not sure what the deal is with this one, but rebooting my phone resolved it.
[ You likely get the exception "Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly.��� when you are trying to add a Database file to a project and don’t
[ This exception: “This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported” Probably means that you have SQL Server 2008 installed and don’t have Visual Studio
By default the DataSource wizard passes parameters for AutoNumber primary keys. If you are getting this error: You tried to assign the Null value to a variable that is not a Variant data type. Then yo
You are probably using the wrong DbConnection class. If you are using Access then make sure you use OleDbConnection, not SqlConnection…and vice versa. Alternatively you could be referencing your MDB f
Could be a couple of things: The file is marked as read-only. Right click on file, uncheck “read only”.2. The application pool identity doesn’t have write permissions to the folder that contains th
Before last week the only two viable Mobile Browser Detection options were: WURFL – Great for non-.NET solutions. .NET APIs lack support2. DeviceAtlas – Great for .NET solutions, but it’s starts at
ASP.NET doesn’t ship with Membership, Profile, Role or Personalization providers out of the box. Imar Spaanjaars has a great article on how to setup a site using the “Sample Access Providers” provided
If you get this exception _System.TypeLoadException: Could not load type ‘x’ from assembly ‘xx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ because the method ‘SendMessage’ has no implemen
I’m creating an app and need the same data set for two tree views. Nodes.AddRange only works with a TreeNode[] and the TreeNodeCollection is read-only and doesn’t have a ctor. I first tried something
My Outlook RSS Feeds were in a really funky state this morning. I had to create a new profile and I had RSS Sync enabled. When that is the case Outlook re-adds all Feeds that you have ever added to th
PDC was great this year! Here’s a quick list of my favorite sessions of technologies and products that Social Bookmarking will use soon… Stuff we’ll use this year: Velocity ADO.NET Data Services Vis
If you call Single to get an object from your DB and the object doesn’t exist you will get an InvalidOperationException. return this.DataContext.MemberDaos.Single(m => m.MemberID == id); Instead o
If you are using LINQ to insert data with RTM bits you won’t find the Add method on the DataContext post Beta2. Use the InsertOnSubmit method instead.