Показать сообщение отдельно
Старый 12.12.2008, 13:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
DeniZone: OpenOffice and Dynamics ax
Источник: http://denizone.blogspot.com/2008/08...namics-ax.html
==============

Here is an example of how to use OpenOffice together with Dynamics AX (code-wise of course)

X++:
static void Job2(Args _args)
{     COM OpenOffice;   
       COM DeskTop;    
       COM Document;     
       COMVariant arg;    
       Array arr = new Array(Types::String);     

      //Creating instance of OpenOffice.org   
      OpenOffice = new Com("com.sun.star.ServiceManager");    
      DeskTop = OpenOffice.CreateInstance("com.sun.star.frame.Desktop");     

       // create and initialize a COMVariant object    
      arg = COMVariant::createFromArray(arr);    
     //Creating the document    
      Document = DeskTop.LoadComponentFromURL("private:factory/scalc",  "_blank", 0, arg);
 }
Original post by Ivan Kasperuk

Источник: http://denizone.blogspot.com/2008/08...namics-ax.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.