I'm writting an VB6 application which needs to open a Word Document from a Template. This I've managed with Word2000 installed using the following code...

Dim WdApp As Word.Application
Set WdApp = New Word.Application
WdApp.Application.Visible = True
WdApp.Documents.Add
Template:=g_WordOrderFile$,
NewTemplate:=False

... but it fails on the 'Set' line when using Word97 (Run Time Error 458 : Variable uses an Automation type not supportd in VB) or Word95 (Run Time Error 429 : Actice X component cant't be created)

Can any one help me? ...... MTIA