locked
How to create a view and table with VSTO RRS feed

  • Question

  • I need to create some tables and views when the Add-in is installed or on runtime.

    Does any one know if it is possible?


    Andre Xavier Blog: http://www.mundoepm.com.br
    Monday, January 10, 2011 8:13 PM

Answers

  • Hi,

    Yes this is possible. Code can run on add-in startup or when run from buttons or menus. Record code in VBA of you creating what you want. Optimisie the VBA code then copy to Visual Studio for your add-in. Obviously if you code with VB.net then there is minimal conversion needed.

    If you ise C#, then I strongly recommend VS2010 as it adds optional parameters etc that make writing Office add-in code nearly as good as in VB!


    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    Saturday, January 22, 2011 11:06 PM

All replies

  • Hi,

    Yes this is possible. Code can run on add-in startup or when run from buttons or menus. Record code in VBA of you creating what you want. Optimisie the VBA code then copy to Visual Studio for your add-in. Obviously if you code with VB.net then there is minimal conversion needed.

    If you ise C#, then I strongly recommend VS2010 as it adds optional parameters etc that make writing Office add-in code nearly as good as in VB!


    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    Saturday, January 22, 2011 11:06 PM
  • Thanks Rod!

    I did that.

    I create a Project 2010 add-in for PERT Analysis.

    http://code.msdn.microsoft.com/projectpert


    Andre Xavier Blog: http://www.mundoepm.com.br
    Saturday, January 22, 2011 11:10 PM