# Saturday, August 26, 2006

Because of the way you assign FullTrust permissions to an InfoPath form, the correct permissions are not assigned when running the form under the Visual Studio debugger. You might see errors such as "That assembly does not allow partially trusted callers". The solution is to use a macro that ships in the InfoPath 2003 Toolkit called IPFullTrust. See the macro page for more detail.

This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Saturday, August 26, 2006 11:03:19 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Monday, July 17, 2006

Some links to keep:

The last one should be of particular interest to anyone doing multi-tenanted systems (Doug?).

This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Monday, July 17, 2006 3:16:24 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Friday, June 16, 2006
CDM Day Presentation
CDM Day Presentation, originally uploaded to Flickr by James Snape.

We had a customer day this week where we get 50 to 60 customers along and tell them about all the cool stuff being released in the next year or so. Then we go and race around a kart track for a couple of hours. The picture is of me giving my presentation on Office 2007 System and SharePoint. I had a couple of demos on Windows Workflow and Excel Services to show plus some slides on the new XML file formats, Ribbon UI and other enhancements.

This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Friday, June 16, 2006 3:58:02 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Thursday, May 25, 2006

...or a frown. There is a little tool that you can use to send feedback directly to the Office team called "Send a Smile" which can be downloaded here. Basically a couple of task tray icons allows you to very quickly send good or bad feedback. More details on Joe's Blog.

This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Thursday, May 25, 2006 3:01:13 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback

Both Office 2007 and Windows Vista Beta 2 have been released. If you are an MSDN subscriber then you can pick up copies from subscriber downloads. If you are not then you can get Office from http://www.microsoft.com/uk/office/preview and Vista from the Vista Customer Preview Program (coming soon but register here).

In addition, if you want to do development for Vista you will need the following (in order of install):

  1. Install the BETA 2 WinFX Runtime Components from here.
  2. [ONLY REQUIRED FOR VS2005] Install the Windows SDK BETA 2 from here.
  3. [ONLY REQUIRED FOR VS2005] Install the VS2005 WinFX extensions (Visual Studio ‘Orcas’ May CTP) from here.
  4. Install Microsoft Expression Interactive Designer May CTP (Sparkle) from here.
  5. Install Microsoft Expression Graphic Designer May CTP (Acrylic) from here.
  6. Install Microsoft Expression Web Designer (Quartz) CTP1 from here.
  7. Install Erain’s ZAM3D from here.
  8. Check out videos on the Expression Suite here.

For Office development you'll need:

  1. Install the Visual Studio Tools for Office (VSTO) June CTP from here.
  2. Install the Windows SharePoint Services v3 SDK from here.
  3. Install the SharePoint Server 2007 SDK from here.
  4. Browse the SharePoint SDK documentation here.
  5. Don't forget the new SharePoint Developer Center on MSDN.
  6. Check out videos on SharePoint here (more to come later).

<edit>

  1. The Groove SDK can be found here.

</edit>

This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Thursday, May 25, 2006 9:43:38 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0] Trackback
# Wednesday, April 05, 2006

At Microsoft we get a fair bit of mail with all the distribution lists. The 'Mark All as Read' command only operates on the current folder so I knocked together a macro to do the recursion. The code below iterates the selected folder and it's children marking all the mails as 'read'. There may be optimisations as my VBA is a bit rusty so I'd love to hear what they are.

Sub RecursiveMarkAsRead()
  MarkFolderAsRead Application.Explorers.Item(1).CurrentFolder, True
End Sub

Sub MarkFolderAsRead(ByVal parent As MAPIFolder, ByVal recurse As Boolean)
  On Error GoTo ErrorHandler
  If parent.UnReadItemCount > 0 Then
    Dim item As Object
    For Each item In parent.Items
      If TypeName(item) = "MailItem" Then
        Dim mail As MailItem
        Set mail = item
        mail.UnRead = False
      End If
    Next
  End If

  If recurse = True Then
    Dim folder As MAPIFolder
    For Each folder In parent.Folders
      MarkFolderAsRead folder, recurse
    Next
  End If

Exit Sub
ErrorHandler:
' Ignore this folder
End Sub

This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Wednesday, April 05, 2006 4:12:58 PM (GMT Daylight Time, UTC+01:00)  #    Comments [1] Trackback