Click here to Skip to main content
15,846,078 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Respected Sir / Madam
i m using c# for winform programming. i have to use old ocx control in my c# winform application. but when i try to register that component under windows vista(32 bit) is show the error that ocx file not find or the file is corrupted. when i did the same task on windows XP the the registration was sucessfull.
plz help to solve this proble.
OriginalGriff 26-Jul-11 3:27am    
How did you try to register it?
[no name] 26-Jul-11 3:48am    
What was the exact error? When you post a question, make sure your put in enough information to enable others to understand your problem. "ocx file not find or the file is corrupted" doesn't make much sense.

1 solution

a) Right click and start a command prompt using "Run as Administrator".
b) Run regsvr32.exe from the command prompt.
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