Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I distribute an application that uses Excel ??
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00195338
Message ID:
00195419
Views:
30
Benoit,
It sounds silly, but are you certain the client has Excel installed? Is it the same version as you are testing? Also, check the pathing. I've had problems with OlePublic DLLs finding the appropriate code. Once Excel starts it doesn't have the same path as VFP does on your development machine. I had to hard-code the path to the DLL and make sure it was correct on the client's machines.

Hopefully someone else will know a way around this.

HTH
Barbara

>Hi every body !
>
>In my application, I have an olepublic class. In a form, I have a button yhat calls Excel with a specific document... In this Excel document, I create an object of my FoxPro OlePublic class...It works fine on the computer I compile it. After that, I do an installation program with the FoxPro setup Wizard and I install it on an other computer. When I run the application and click on my button, It says : "Un composant ActiveX ne peut pas créer un objet".After that, I execute the commad line : MyAppp.exe /regserver and now, when I click on my button, my FoxPro object is created properly but on the first call to a method it says :
>Erreur d'execution '-2147319779 (8002801d)'
>Erreur Automation
>
>Now I really don't know what to do !!...What is different between my developpement computer and my user computer ???
>
>Thanks in advance !
>
>Benoit Grenier.
>
>P.S.: I'm going home right now...I'll check for answers tomorrow morning... :)
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform