A
ai38kpo
Since I installed Office 2007 beta (latest one on May 26th), I am unable to
access the HTMLProject property of a Word Document object using VB6. I get
"Application Defined Error" if I view it using Watch. I get method of ~
failed when running the program. Basically the code is:
Set WordApp = CreateObject("Word.Application")
Set worddoc = WordApp.Documents.Add
Set prjItem = worddoc.HTMLProject.HTMLProjectItems.Item(1)
This code works fine in Word 2000, XP and 2003.
Any ideas what may be wrong?
Thanks
Kevin O'Brien
access the HTMLProject property of a Word Document object using VB6. I get
"Application Defined Error" if I view it using Watch. I get method of ~
failed when running the program. Basically the code is:
Set WordApp = CreateObject("Word.Application")
Set worddoc = WordApp.Documents.Add
Set prjItem = worddoc.HTMLProject.HTMLProjectItems.Item(1)
This code works fine in Word 2000, XP and 2003.
Any ideas what may be wrong?
Thanks
Kevin O'Brien