I do not repro this on my box. Specifically, in VS2010, if I add a reference to Microsoft.Office.Interp.Word version 11, and then type

1
2
3
4
5
6
 

let doSomething (sel:Microsoft.Office.Interop.Word.Selection) = 
    sel.Paragraphs

it works, no squiggles, right return type for doSomething. Can you specify more details of your environment or repro steps (which version of F#, VS, ...)?

By on 5/14/2010 12:42 PM ()

Hallo brianmcn,

thanks for trying. Well after removing and adding the Microsoft.Office.Interop.Word.dll (Version 11) reference again, the problem disappeared.

I really don't know why my VS2010 had these problems the first time.

By on 5/14/2010 1:06 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper