2002 and automation doubt

Z

zidansoft

In my program I use powerpoint objects like
presentation,slides,pagesetup etc..working fine in 2000,2003,2007
but in 2002 version always hang ,i take object like this
1 ApplicationObject
2 ActivePresentation
3 SlideShowSettings
4 slides
5 PageSetup
6 shapes
7 shape
etc...
when i try to get pagesetup it hangs
if i comment that line ,it hang when take shapes(means next line)
if i call Activate function of ApplicationObject before each
call ,it is working fine..why this happening?
any alternative?
NB: i am using c++ ..
 
Z

zidansoft

thanks for reply..i messed up with this issue,my addin creating
buttons on OnStartupComplete event,even though i am calling
activate,it is not working in some machine
i use savecopyas function,when i removed this code it starts working.
i guess problem might be from addin because, same exe
(automation)executing from another place,it is working fine.when i
start executing from addin(button click) it is hanging.
my doubt ..if i am doing anything wrong ,why this problem happening
only in 2002 version?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top