VSTA interaction with User controls created in addin's

Latest post 07-04-2008 8:49 AM by Melody. 1 replies.
  • 07-04-2008 7:16 AM

    VSTA interaction with User controls created in addin's

    Hi,

    I am trying to create add-in's using VSTA with custom controls and use these inside my main application. What I have understood so far is that UserControls & Forms etc do not marshal across the proxy layer. Is there a way to either avoid using proxy or there exists another method by using IContract?
  • 07-04-2008 8:49 AM In reply to

    • Melody
    • Top 10 Contributor
    • Joined on 04-26-2007
    • Syracuse, NY
    • Posts 219

    Re: VSTA interaction with User controls created in addin's

    goyalmayank,
    You are correct, you cannot marshal System.Windows.Forms and the like across the proxy layer.  However, we have a WPF sample that you may find helpful showing an alternative way to add UI to the form from an add-in.

    Samples:
    ExpenseIT UI Extensibility Demo
    ExpenseIT VSTA Integration Demo Source from MSDN

    I hope this helps, if you have any questions please let me know.
    Thanks,
    -Melody


Page 1 of 1 (2 items) | RSS
Copyright Summit Software Company, 2008. All rights reserved.