Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hello Guys.
I want use a component to my app. I draged a component (forxample com1.ocx) to toolbox an use it. When publish my app it was runing very well with out crash. But when i installed my published app to another computer it Crashed and said "unhandled exception has ocurred in your application. If you ...". So how can i move component to another pc?

In properties of Solsuit i chose Include(auto) com1.ocx.dll but said that error again.

Thanks for your help:thumbsup:
Posted

You have to install (and/or register) the COM component on that computer.
 
Share this answer
 
When you use an ocx, you need to register it. See here:

http://support.microsoft.com/kb/146219/en-us[^]
 
Share this answer
 

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