List Info

Thread: Re: powerpoint via Com




Re: powerpoint via Com
country flaguser name
Philippines
2008-03-13 02:01:14

Hi,

1. You can write a .NET class library to get the data from AX and export onto PPT. (Make use of .NET COM business connector + Microsoft Powerpoint COM object).
2. Register the created .NET class library DLL into GAC (Optionally, you can copy the .NET class library DLL and put it in AX client Bin folder; if you have multiple clients accessing the same AOS then I should not suggest you to put the DLL in AX client Bin folder rather you can register the DLL in AOS & Application machine's GAC)
3. Add the DLL reference in AOT.
4. Call this reference to pass AX table record. (Your code written in .NET class library will get the data and export onto PPT)
5. Then return the file name, file path of newly created PPT from .NET assembly to AX.
6. Use the returned file name and file path to Open that created file from AX. (use WinApi::ShellExecute("<file_path&gt;") to open the newly created PPT)

Hope this design will help you.

Good luck!

Regards,
Muthukrishnan

----- Original Message ----
From: amitsinha_tinu < amitsinha_tinu%40yahoo.co.in">amitsinha_tinuyahoo.co.in>
To: development-axapta%40yahoogroups.com">development-axaptayahoogroups.com
Sent: Wednesday, 12 March, 2008 6:13:02 PM
Subject: [development-axapta] powerpoint via Com

it is possible to export on PPT...via ComObj..or from any other way..???
pls guid me.

AMT

Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
AW: powerpoint via Com
country flaguser name
Germany
2008-03-13 06:02:04

Note, all the COM is really! Slow.

Maybe you desire to "write" pptx xml files or some other xml files and
traverse this via xslt to pptx or ppt.

1. You can write a .NET class library to get the data from AX and export
onto PPT. (Make use of .NET COM business connector + Microsoft
Powerpoint COM object).

2. Register the created .NET class library DLL into GAC (Optionally, you
can copy the .NET class library DLL and put it in AX client Bin folder;
if you have multiple clients accessing the same AOS then I should not
suggest you to put the DLL in AX client Bin folder rather you can
register the DLL in AOS & Application machine's GAC)3. Add the DLL
reference in AOT.
4. Call this reference to pass AX table record. (Your code written in
.NET class library will get the data and export onto PPT)
5. Then return the file name, file path of newly created PPT from .NET
assembly to AX.
6. Use the returned file name and file path to Open that created file
from AX. (use WinApi::ShellExecute("<file_path&gt;") to open the newly
created PPT)

Hope this design will help you.

Good luck!

Regards,
Muthukrishnan

----- Original Message ----
From: amitsinha_tinu < amitsinha_tinu%40yahoo.co.in">amitsinha_tinuyahoo.co.in
<mailto:amitsinha_tinu%40yahoo.co.in> >
To: development-axapta%40yahoogroups.com">development-axaptayahoogroups.com
&lt;mailto:development-axapta%40yahoogroups.com>
Sent: Wednesday, 12 March, 2008 6:13:02 PM
Subject: [development-axapta] powerpoint via Com

it is possible to export on PPT...via ComObj..or from any other way..???
pls guid me.

AMT

Bollywood, fun, friendship, sports and more. You name it, we have it on
http://in.promos.yahoo.com/groups

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )