D
DavidY
I wrote a COM object several years ago using VB6 that would query an Access
2002 database into a DAO recordset. It would then format the data in a very
specific way and then write it out to an excel.application object. This all
used to work just great and the COM object could be invoked from a form on
the database or from a field in a Word document. However I tried to run it
recently on a "newer" XP machine and it now generates and error that says
"Class does not support automation" (or something similar). I have not
installed VB on this machine yet so I have not stepped through the object to
see exactly when the error is generated but I have a feeling it's when it
tries to create the excel.application object.
Has something changed since 2004 that could affect the way this COM object
works either with Excel or something else?
Thanks.
2002 database into a DAO recordset. It would then format the data in a very
specific way and then write it out to an excel.application object. This all
used to work just great and the COM object could be invoked from a form on
the database or from a field in a Word document. However I tried to run it
recently on a "newer" XP machine and it now generates and error that says
"Class does not support automation" (or something similar). I have not
installed VB on this machine yet so I have not stepped through the object to
see exactly when the error is generated but I have a feeling it's when it
tries to create the excel.application object.
Has something changed since 2004 that could affect the way this COM object
works either with Excel or something else?
Thanks.