Browse by Tags

Tagged Content List
  • Blog Post: How to edit the content and HTML in a content-web-part in SharePoint 2010

    Thought this may interest some of you (plus, I use it sometimes in my blog posts).. Step 1: Add a content part Click on the “Add Part” when in design mode in a web-part page and choose from Category “Media and content” and from “web parts” choose “Content Editor”: Then click the “Add” button...
  • Blog Post: Optimizing life – Life in Async

    I was going to get coffee today at work, minding my own business, when someone from the test-team asked me if the order I was doing things when preparing coffee was intentional. Absentmindedly, I explained the reasoning behind the order of things and how I reached this way of doing things and belatedly...
  • Blog Post: Can you be your own parent (And no, this is not a KUOW Weekday discussion)?

    No you can't. Or can you? No, you can't. Just ran into this bug in my code: I was getting an annoying StackOverflow, but it was hard to figure out why because the debugger was not willing to show me the originating code - just the recurring call to the Parent property. Once I used a "Hit Count" breakpoint...
  • Blog Post: Closing workbooks Asynchronously - VS2003

    I just got asked about this today. If you will recall, in a previous post I explained why the CloseWorkbook() Excel Web Services method is a good candidate for calling in a "Fire and Forget" manner. The explanation in that post was specific for VS2005. In VS2003, the name of the method that does...
  • Blog Post: Making Excel Services UDFs work on Excel 2007 - Part 1

    I have made a few posts about UDFs over the past couple of months. One of the things I neglected to explain is how to make server targeted UDFs work on the client. Among other reasons why one would want that, is the fact that it’s useful to actually see what the results of your workbook is before you...
  • Blog Post: Nice little power toy for VS2005 - Command Shell in the IDE

    http://blogs.msdn.com/bertan/archive/2006/07/15/666446.aspx
  • Blog Post: How to debug UDFs

    Since only Angels get code running right the first time around, it is useful to actually be able to debug UDFs. The way to debug UDFs is to attach to the w3wp.exe process that is running Excel Services and place a breakpoint in your UDF. However, if you bring up the process list in Visual Studio ...
  • Blog Post: How to update UDF assemblies during development

    In previous posts, I showed quite a few examples of how to create UDFs. In a recent email in one of our distribution lists, somebody asked how to update UDF dlls in Excel Services. The issue is that as long as the server is up, the UDF assemblies have a lock on them, making it impossible to update...
  • Blog Post: Internet Explorer Developer Toolbar - pretty cool

    Just thought I would drop a line about this guy. If you are misfortunate enough to have to do some HTML programming of any level that is more than basic, this toolbar alows you to modify a bunch of things about your page and see how it's buit. Finding it very useful. http://www.microsoft.com...
  • Blog Post: Hidden feature of the day – AutoToolboxPopulate

    For some reason on all 6 machines where I do development (<GeekMoment>Home machine, laptop and 4 dev machines at work</GeekMoment>) this option is turned off. Not a big deal of course since there are workarounds, but for my side projects (where I actually do UI work) this is actually pretty...
  • Blog Post: The undetectebility of C++/CLI gcroot<> template references.

    In recent builds, we have been having an awful memory leak in our system. Silvio was debugging it and noticed that we had way too many instances of a specific type in our appdomain (where there should have been zero copies of this item when the system was in idle, there were thousands of it). Now...
  • Blog Post: Environment.TickCount returns negative numbers - MSDN doc error

    This one just bit us a today. The documentation for TickCount on MSDN say that this value is always positiove: <Quote> The TickCount property handles an overflow condition by resetting its value to zero. The minimum value returned by TickCount is 0. </Quote> And in another place...
  • Blog Post: Information about the various Excel Service API calls to get info from and to Excel Services

    In a previous post , I talked about how to work with an Excel Model on the server and promised I would talk about the various method calls that actually set cells on the server or get cells from the server. The Excel Services API exposes four methods for setting cells in an Excel workbook and four...
  • Blog Post: Code snippets that will help with using Excel Services APIs.

    I published two C# snippets for helping with writing code against Excel Services APIs. If more get added, I will add them in the article .
  • Blog Post: Excel Services related Snippets

    Snippets are small coding helpers that you can use to make development a little faster. In this article, I will aggregate various helpers that have to do with Excel Services. To import the snippets follow these steps: 1. Download the attached file (bottom of this article). 2. In Visual Studio 2005...
  • Blog Post: Tracing exceptions - guidelines

    (Don't know what Excel Services are? Find out! ) Since Excel Services (in the Microsoft Office Sharepoint Server 2007 product) is, well, a server product, we rely heavily on tracing when we debug or try to figure out what’s going on. Most servers and quite a few client applications use that. Our...
  • Blog Post: Be careful when debugging Visual Studio 2005 created Web-Apps

    While fixing a bug (I have to do that every once in a while. It’s in the contract. I think), I needed to make use of the IsClientConnected property of the HttpResponse object in a WebService sort of project. After trying various things, I still could not make it return false so I decided to create a...
  • Blog Post: Copy (Ctrl-C) works in Message Boxes

    This feature has been working since windows 2k or early versions of XP, and still many people do not know about it. If you have a Message Box showing, and you want to copy its contents, you can just Ctrl-C when the window is focused - you will hear a beep and the contents of the Message Box (including...
  • Blog Post: That annoying c:\windows\assembly folder

    If you are anything like me, you want to tear your hair out and smash your head on a concrete wall with embedded rusty nails everytime you need to use Explorer (and any file-open dialog box) on the c:\windows\assembly directory. While I am still working with my therapist on these issues, I decided...
Page 1 of 1 (19 items)