Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: word.application problem


Message #1 by Neeta.Ambekar@l... on Sun, 14 Apr 2002 16:43:43 +0530
Hi all
     I am facing problem while creating word application object. I am using
Microsoft Word 9.0 object dll.
It is giving error as "ActiveX component can not created" at createobject()
line.

Dim oWord As Word.ApplicationClass
        Dim oDoc As Word.DocumentClass
        'Dim oTable As Word.Table
        Dim oPara1 As Word.Paragraph
        Dim oRng As Word.Range
        Dim Pos As Double

        'For intCount = 0 To pdtsetIRDA.Tables(0).Rows.Count - 1

        'Start Word and open the document template.
        oWord = CreateObject("Word.Application")


        'oWord.Visible = True
        oDoc = oWord.Documents.Add

SOme one please help me to come out of this thing

Thanks in advance
Neeta Ambekar




  Return to Index