Sometimes getting Error '429': ActiveX component can't create obje

S

sudhakar

Hi
I'm creating an application that plays .pps files sequentially. The
application is able to play the files sometimes but it fails for some files.
I'm using Powerpoint object library in Visual Basic and following line of
code works well sometimes but sometimes it throws the Run-time error '429':
ActiveX component can't create object.

Set objPPT = New PowerPoint.Application

I'm instantiating the objPPT(with above line) for running each file in the
sequence. So, the above line executes fine sometimes, but its failing with
the exception sometimes.
Appreciate if anybody can help me out. I'm using Windows 2000 Professional,
VB6 and Office 2000.

Thanks
Sudhakar.
 
S

Shyam Pillai

Sudhakar,
Without more of the code it's hard to ascertain the cause. Have you tried
using CreateObject instead of the new keyword?
 

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