Here's my scenario and dilema.
I have created an ActiveX control that executes inside of a web page.
Inside this ActiveX control I open MS Word and feed it a downloaded document. Then on the BeforeSave event I save the document and post it to another web page.
the Abbreviated code looks like the following:
Private Withevent objWord as Word.Application
....
Set objWord = New Word.Application
'Open Document / make visible etc.
....
OnBeforeSave Event.
Document.Save, post etc...
the problem lies in that I have Word 2002 (10..) on my development machine. Everything works great on machines that have Word 2002 on them.
If we run the web page, and hence activeX control on a machine with Word 2000 (9..) it, of course, does not work.
Is there a way that I can late bind Word, so it attaches to whatever version of Word they have, and still catch events?
Something like the following
Private Withevent objWord as Object
Set objWord = CreateObject("Word.Application")
Or if I referenced and compiled against Word 2000 (9..) then would it work if Word 2002 (10..) is installed?
Thanks in advance for any insight or help.
-Adam T. Courtney
-Infinity Technology, Inc.
I have created an ActiveX control that executes inside of a web page.
Inside this ActiveX control I open MS Word and feed it a downloaded document. Then on the BeforeSave event I save the document and post it to another web page.
the Abbreviated code looks like the following:
Private Withevent objWord as Word.Application
....
Set objWord = New Word.Application
'Open Document / make visible etc.
....
OnBeforeSave Event.
Document.Save, post etc...
the problem lies in that I have Word 2002 (10..) on my development machine. Everything works great on machines that have Word 2002 on them.
If we run the web page, and hence activeX control on a machine with Word 2000 (9..) it, of course, does not work.
Is there a way that I can late bind Word, so it attaches to whatever version of Word they have, and still catch events?
Something like the following
Private Withevent objWord as Object
Set objWord = CreateObject("Word.Application")
Or if I referenced and compiled against Word 2000 (9..) then would it work if Word 2002 (10..) is installed?
Thanks in advance for any insight or help.
-Adam T. Courtney
-Infinity Technology, Inc.