Unable to import PowerPoint presentation

Home Forums Bug Report Unable to import PowerPoint presentation

Viewing 15 posts - 31 through 45 (of 49 total)
  • Author
    Posts
  • #9269
    mutsop
    Member

    Well both are PowerPoint 2007.
    I checked the other pc for installed components like Form 2.0 support but unfortunately it is installed 😀
    else I would know where the problem would be.

    I tried everything and am just stuck…
    One thing I might suspect is the copy local of the libraries, problem is I’m working in an n-tier project so the libraries aren’t copied in my starter project but in the business (domain) project. So can I just copy it to the debug folder of the starter project?

    #9270
    alain
    Keymaster

    Difficult to answer: I am using c# for my projects and you seem to use VB… and it is not quite the same.

    But yes, you have to copy libraries to use PPT in your program. In my case I bundle “Microsoft.Office.Interop.PowerPoint.dll” and “Office.dll” in the same directory than my application.

    #9271
    mutsop
    Member

    K weirdly enough, when I open powerpoint before using my program it does work.
    So on the other computer it doesnt seem to work when running in the background.

    #9272
    jonno
    Participant

    Hi Alain,

    I’m having the COM issue with the professional version 1.9.10 and Powerpoint 2010. I’ve installed VBA and rebooted but still having the issue. Below is the output from your check tool. Could you help?

    Thanks in advance.

    Regards,
    John

    output:
    Check CURRENT_USER…
    Found nothing
    Check LOCAL_MACHINE…
    Found something: C:\PROGRA~1\MICROS~2\Office14\POWERPNT.EXE
    Check if file exists
    Found.
    Check version
    major: 14
    minor: 0
    Connect to PPT DLL
    Connected to PPT DLL
    Connect Error
    System.InvalidCastException: Unable to cast COM object of type ‘Microsoft.Office.Interop.PowerPoint.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.PowerPoint._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{91493442-5A91-11CF-8700-00AA0060263B}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    at Microsoft.Office.Interop.PowerPoint.ApplicationClass.get_Presentations()
    at check_ppt.Form1..ctor()
    Unable to cast COM object of type ‘Microsoft.Office.Interop.PowerPoint.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.PowerPoint._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{91493442-5A91-11CF-8700-00AA0060263B}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    at Microsoft.Office.Interop.PowerPoint.ApplicationClass.get_Presentations()
    at check_ppt.Form1..ctor()

    #9273
    alain
    Keymaster

    Hi jonno,

    Sorry for the delay.

    Some questions:

    – Did you upgrade PPT from a previous version?
    – If you start PPT before importing/exporting is it working?
    – Did this work previously? is it something that happen only with SE 1.9.10?

    Thanks for these information: it will help me to figure out where the issue is.

    #9274
    jonno
    Participant

    Hi Alain,

    Thanks for your reply.

    – I didn’t upgrade PPT from a previous version
    – Starting PPT before importing doesn’t help
    – I only just recently have a need to import PPT’s, after updating to 1.9.10 so I can’t say
    for sure that it was working previously.

    I’m on vista (home edition) SP 1.
    Office is installed at: C:\Program Files\Microsoft Office\Office14

    Regards,
    John

    #9275
    alain
    Keymaster

    Can you do the following things:

    1) Repair your Office installation

    – Start menu
    – Control panel
    – Add Remove programs – Go to the tab Change or remove programs.
    – Go to Microsoft Office.
    – Click “Repair”

    Then check again with Slide Effect

    2) Run this tool

    If it is still not working, please download and run this modified check tool:

    download link: https://www.slide-effect.com/tools/checkPPTex2.zip

    And copy/paste the result here.

    #9276
    jonno
    Participant

    Hi Alain,

    Repairing MS Office did the trick! Thanks for your great support.

    Regards,
    John

    #9277
    namhip
    Member

    Hi Alain,
    Thank you for helping
    I have a trouble. My app use Winform C#, host powerpoint. My app work fine with Office 2010, but with Office 2007, sometime fine, sometime not. This is result 2 computer use Office 2007 when run checkPPTex2.zip.
    //————Com1:
    output:
    Check CURRENT_USER…
    Found nothing
    Check LOCAL_MACHINE…
    Found something: C:\PROGRA~1\MICROS~2\Office12\POWERPNT.EXE
    Check if file exists
    Found.
    Check version
    major: 12
    minor: 0
    Connect to PPT DLL
    Connected to PPT DLL
    Presentation Opened
    Slide Number: 3
    Slide Index: 0
    Shape Count: 3
    Shape Index: 0
    Shape Is Text
    Text is:tralala
    Slide Index: 1
    Shape Count: 3
    Shape Index: 0
    Shape Is Text
    Text is:Title.
    Shape Index: 1
    Shape Is Text
    Text is:Pouet
    pouet
    Slide Index: 2
    Shape Count: 3
    Shape Index: 0
    Shape Is Text
    Text is:zomg
    Shape Index: 1
    Shape Is Text
    Text is:It is not working
    Connect to PPT DLL second try
    Connected to PPT DLL
    Presentation Opened
    Slide Number: 3
    Slide Index: 0
    Shape Count: 3
    Shape Index: 0
    Shape Is Text
    Text is:tralala
    Slide Index: 1
    Shape Count: 3
    Shape Index: 0
    Shape Is Text
    //————Com2:
    output:
    Check CURRENT_USER…
    Found nothing
    Check LOCAL_MACHINE…
    Found something: C:\PROGRA~1\MICROS~2\Office12\POWERPNT.EXE
    Check if file exists
    Found.
    Check version
    major: 12
    minor: 0
    Connect to PPT DLL
    Connected to PPT DLL
    Connect Error
    System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    Connect to PPT DLL second try
    Connected to PPT DLL
    Connect Error
    System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    //———————-
    Can you help me work with com2?
    I was fixed Visual Basic for Applications
    Thank you so much!

    #9278
    alain
    Keymaster

    Sorry, but other than installing VB or applications I have no idea. Difficult to know what’s going on with this small amount of information.

    Did you compile your application with Office 2007 or 2010 DLLs? I think you have to compile with 2007 if you want to make it compatible with 2007/2010/…

    In my case I compile with 2003 and everything works well on any version of PPT from 2003 to the latest.

    Hope it helps.

    #9279
    khadervali
    Member

    Hi Alain,

    I have develop an web application on VS 2010.i have use PowerPoint file to convert into slide images and show in datalist,its working fine in localhost.But when i publish the application in IIS 7.5 its showing the error like this

    The remote procedure call failed. (Exception from HRESULT: 0x800706BE)

    In this application i have use MS-Office 2010

    #9280
    khadervali
    Member

    Pls help me

    #9281
    alain
    Keymaster

    Hi,

    Sorry but I cannot help you on this issue, I don’t use PPT for a web application, check specialized forums for this kind of issues.

    #9282
    siva_ds
    Member

    Hi,

    Can u tell me what is wrong here.I know this post is old but please help me…

    output:
    Check CURRENT_USER…
    Found nothing
    Check LOCAL_MACHINE…
    Found something: C:\PROGRA~1\MICROS~1\Office14\POWERPNT.EXE
    Check if file exists
    Found.
    Check version
    major: 14
    minor: 0
    Connect to PPT DLL
    Connected to PPT DLL
    Connect Error
    System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    Connect to PPT DLL second try
    Connected to PPT DLL
    Connect Error
    System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    at Microsoft.Office.Interop.PowerPoint.Presentations.Open(String FileName, MsoTriState ReadOnly, MsoTriState Untitled, MsoTriState WithWindow)
    at check_ppt.Form1..ctor()

    #9283
    alain
    Keymaster
Viewing 15 posts - 31 through 45 (of 49 total)
  • The forum ‘Bug Report’ is closed to new topics and replies.