ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cannot create object (https://www.excelbanter.com/excel-programming/353495-cannot-create-object.html)

extra

Cannot create object
 
Hi

I have an excel application that uses a vb6 activex exe component.
On my machine everything works fine (as always...)

however when i install the excel file on another computer and i'm
trying the following line:
MyExeObj = new ExeObj

I get activex cannot create component error.

when i remove the exe reference and add it again the line works.

does anyone have an idea how to make it work without re-reference the
exe ??

10x.


Tim Williams

Cannot create object
 
The exe is in the exact same location on each machine?

Tim


"extra" wrote in message
oups.com...
Hi

I have an excel application that uses a vb6 activex exe component.
On my machine everything works fine (as always...)

however when i install the excel file on another computer and i'm
trying the following line:
MyExeObj = new ExeObj

I get activex cannot create component error.

when i remove the exe reference and add it again the line works.

does anyone have an idea how to make it work without re-reference the
exe ??

10x.





All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com