Robert Jan - Sunday, November 02, 2008 - 4:06 PM

I installed the Oslo CTP SDK on my laptop, and wanted to try out some MGrammar stuff. I looked all around the tool to find the switch to enable the three pane view ‘MGrammar Mode´ as was shown in the demo’ s on the PDC.

So when browsing the SDK folder I found the Sample Sources directory :
” C:\Program Files\Microsoft Oslo SDK 1.0\Bin\Intellipad\Sample Sources”

It contains a VS solution file which contains a Microsoft.M.Grammar.IntellipadPlugin project; so it seems to me that I should do something with this project.
So I fired up the solution and built it right away.

Within the components directory of the Intellipad tool, I created a new folder called “Microsoft.M.Grammar.IntellipadPlugin” and I copied over a bunch of files:

image

The Private directory contains the “ModeMenuItem.xcml” file which can be found in the Private directory at the samples source location.

Also copy the Microsoft.M.Grammar.dll assembly into this new component directory and you are good to go.

Now when you fire up Intellipad, and open an .mg file, you will see an “MGrammar Mode” menu item appear. Click it, select  “Tree Preview” and open up the .mg file, and you will see the three pane view like in the demo’s on the PDC.

UPDATE 3/11/2008:
Just found at that Owen Evans found this (and his solution is easier :) )out a bit earlier than I did, check his blog at http://bgeek.net/2008/10/28/getting-oslos-intellipad-to-show-mgrammar-mode/
Also check out this intellipad blog: http://blogs.msdn.com/intellipad/archive/2008/10/29/creating-and-editing-mgrammar-files-with-intellipad.aspx

 


Posted in: MGrammar , Oslo  Tags:

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Page List

    Calendar

    «  July 2010  »
    MoTuWeThFrSaSu
    2829301234
    567891011
    12131415161718
    19202122232425
    2627282930311
    2345678
    View posts in large calendar

    Recent Comments

    Feedburner Statistics 7/29/2010
    0 Readers ~ 0 hits ~ 0 reach

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2010 Inwit.nl