problem with ppt with additional fonts

S

Savan Gandhi

Hi,
I have a .net application which opens ppt file and modifies few properties and saves it back. The .net application has two parts: GUI mode and win service mode. I have a strange problem with one ppt having additional fonts like ITC officana sans book. After installing this font on .net application machine, the application is able to modify this ppt in GUI mode, but fails to modify in service mode. This is the error in service mode:

Error - Unknown Member: Invalid Request. The presentation cannot be modified.

Could anyone please throw some light on this issue?

Thanks,
Savan
 
S

Savan Gandhi

A subquestion in this:

By using presentation.fonts collection, I am able to determine what fonts are being used in ppt. But how can I determine what fonts are embedded in ppt?

I think, that this problem is caused due to some embedded fonts. I think so because I have another copy of this ppt with embed fonts removed and this ppt works fine in both GUI and service mode.

I removed embedded by using this code:
ActivePresentation.SaveAs FileName:=newFolder & newFile, FileFormat:=ppSaveAsPresentation, EmbedTrueTypeFonts:=msoFalse

Thanks,
Savan
Hi,
I have a .net application which opens ppt file and modifies few properties and saves it back. The .net application has two parts: GUI mode and win service mode. I have a strange problem with one ppt having additional fonts like ITC officana sans book. After installing this font on .net application machine, the application is able to modify this ppt in GUI mode, but fails to modify in service mode. This is the error in service mode:

Error - Unknown Member: Invalid Request. The presentation cannot be modified.

Could anyone please throw some light on this issue?

Thanks,
Savan
 
S

Savan Gandhi

Thanks Steve. I used that property to determine what embedded fonts are
present in ppt; I see that one of the font: "ITC officana sans book" appears
embedded in .net application service mode and the same appears non-embedded
in GUI mode. Is there any way by which we can remove it from being embedded
in ppt?

I used this code to remove embedded fonts. But I guess, it didn't work 100%.

ActivePresentation.SaveAs FileName:=newFolder & newFile,
FileFormat:=ppSaveAsPresentation, EmbedTrueTypeFonts:=msoFalse

Thanks,
Savan
 
S

Savan Gandhi

Thanks for reply Steve. Even I thought about this and I already checked
this. Both the GUI and service mode are operating under local pc
administrator account. I have installed the fonts by using administrator
account. Even then, it is not working.

Regards,
Savan
 
S

Savan Gandhi

I re-installed the fonts and restarted PC. Now it is working fine in both
GUI and service mode. Thanks for all your inputs :)

Thanks,
Savan
 

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