Keywords: Excel COM Error, 8008005
As a follow on to my amusing misadventures with Excel COM running server side, I did some more digging and found out more interesting details on this situation. For starters, it’s not supported:KB257757. That doesn’t really bother me so much, it’s stable enough to run a few reports. And [...]
Archive for March, 2007
More Excel COM Interop
Posted in C#, Programming, Weird Errors on March 31, 2007 | 1 Comment »
Ten Miles and a Flat Tire
Posted in Bicycling on March 24, 2007 | Leave a Comment »
I knew I was pushing my luck going for a ride today. Though it was a balmy 60 degrees with less than 10 MPH winds, it was wet and foggy. Plus the trails were in bad shape. I live near the Illinois Prairie Path, which is mostly limestone screenings, and at this [...]
Bike The Drive 2007
Posted in Bicycling, Family on March 24, 2007 | Leave a Comment »
Registration is open for for the 2007 Bike the Drive tour on May 27. It’s an annual 30-mile tour along Chicago’s lake front, and they close down Lake Shore Drive for the duration. For those not in the know, Lake Shore Drive is a 6 to 8 lane thoroughfare in downtown Chicago. [...]
Excel, COM Interop, and Printers
Posted in C#, Programming, Weird Errors on March 21, 2007 | 1 Comment »
Keywords: Excel in C#, COM Interop, Primary Interop Assemblies (PIA), Errors
I don’t even know where to begin.
I recently had a report project that called for reports to be generated in an Excel spreadsheet. To figure out how to write Excel from C#, I drew on plenty of resources on the web, for example here, [...]
Project Name Too Long
Posted in Programming, Weird Errors on March 21, 2007 | Leave a Comment »
Keywords: Microsoft.Net, Visual Studio, -1073741819, file path name length
While developing a simple console application recently in Visual Studio, I encountered the error
The program ‘[3952] LongNamedApplicationRpt.vshost.exe:
Managed’ has exited with code -1073741819 (0xc0000005).
The application builds fine, but when trying to run the [...]
Using “internal” (2)
Posted in C#, Programming on March 20, 2007 | Leave a Comment »
It turns out that the device introduced in my last post on this subject doesn’t really work with interfaces. In that solution, the class itself is satisfying two “logical interfaces”: the property’s getter is a public interface that clients can use to read and it’s setter is an internal interface that services can use [...]
Interfaces and Attributes
Posted in C#, Programming on March 17, 2007 | Leave a Comment »
I’ve been thinking a lot about interfaces lately. When I’m writing code, I often find myself slipping back and forth between several ways of thinking about interfaces. And if I’m not careful the result is a big mess!
The first way of thinking is “interface as contract”, and the second is “interface as behavior”, [...]
Using “internal” (1)
Posted in C#, Programming on March 16, 2007 | Leave a Comment »
When I first started programming in C#, I wondered about the proper usage of the internal keyword. The C# language specification states that classes or interfaces or members marked internal are accessible to code defined in the same assembly. The combination protected internal makes the affected elements accessible to subclasses in [...]
What’s All This, Then?
Posted in Not Specified on March 15, 2007 | Leave a Comment »
A few months ago, I was talking to my next door neighbor Jeff about what he does for a living. Jeff works at a large private investment bank downtown, and he was tasked with sorting out their organization of data. This particular bank is like a lot of financial institutions in that [...]