Ask a questionAsk a question
 

QuestionWhy Document of Webbrowser is Nil?

  • Saturday, November 07, 2009 7:49 AMppt007 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    If my computer has only PPView97 installed(not MS Office),the Document object of Webbrowser is Nil? Why?

    Can anybody help me,how to get its Document object, thanks a lot!

    delphi code:
    procedure TForm1.Button1Click(Sender: TObject);
    begin
     wb.Navigate('c:\1.ppt'); //wb is a TWebbrowser
     if wb.Document=nil then showmessage('nil!');
    end;

    • Moved byCindy MeisterMVPSaturday, November 07, 2009 9:26 AMnot VSTO-related (From:Visual Studio Tools for Office)
    •  

All Replies

  • Saturday, November 07, 2009 9:25 AMCindy MeisterMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm afraid your question is off-topic in the VSTO forum. The forum's Please Read First message explains what VSTO is, what the forum supports, and provides links to venues where you can ask non-VSTO, Office-related questions. Unfortunately, there's no forum that covers your question, so I can't move your message to a more appropriate venue. You'll need to use a newsgroup, and post there separately. When you do post, be sure to provide more information about your application, such as the type of project and the version of Office invoved.
    Cindy Meister, VSTO/Word MVP