Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a program that when I run it to other computer an error occur "Could not register Visual Basic: Environment. Please run setup". When I press OK another runtime error occur "-2146985320 (800079a98)". I try running the exe to my computer an it works fine. Is anybody know how to fix it.

Thanks...

I use [Microsoft Excel 9.0 Object Library]
Posted

That's a VBA error - is office installed on the other computer?
 
Share this answer
 
Comments
Abhinav S 31-Aug-11 12:35pm    
Accurate. 5.
If you didn't create an installer for the app, you'll need to do that to make sure all required libraries and controls are on the target machine. Also, you'll need to make sure that the correct version of MS Office is installed on the target machine since you mention using the MS Excel object library.
 
Share this answer
 
Comments
Abhinav S 31-Aug-11 12:35pm    
Proposed as answer. 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900