| |

VerySource

 Forgot password?
 Register
Search
View: 1909|Reply: 8

How to delete the OCX control installed in C ++ Builder

[Copy link]

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-11 15:30:02
| Show all posts |Read mode
I used VC to make an OCX control, and then installed it in C ++ Builder through "Component-> Import Axtive Control", and the use was normal. However, I have made modifications and improvements to that control, and want to re-install under C ++ Builder. However, when installing through "Component-> Import Axtive Control", the system prompts that the control class already exists. I do not want to change the control. Name, how can you delete the controls I originally installed, or how to replace the old controls with the new controls I made now, thank you!
Reply

Use magic Report

0

Threads

12

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-6-6 11:00:01
| Show all posts
Component-->Install Packages-->Find your ocx component package in the Design Packages list, then click Remove
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-6-10 04:45:01
| Show all posts
Thank you夜云男爵, huh!
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-7-8 09:30:01
| Show all posts
to夜云男爵:
It has been verified through experiments that it seems that although the original control has been deleted, the function of the original control is still installed after the new control is installed. What is the reason, and the system prompts that xx.Cpp (xx is the file name) during installation ), asking if I want to replace it, I chose to replace it.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-11 14:30:01
| Show all posts
斩灵刃I solved it!
You change the name of the original OCX. For example, HyDicActiveProj.ocx is changed to HyDicActiveProj1.ocx.
Change the name of Class names when importing. It's OK.
Reply

Use magic Report

1

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

Post time: 2020-8-11 15:00:01
| Show all posts
regsvr32 /u HyDicActiveProj1.ocx
Reply

Use magic Report

1

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

Post time: 2020-8-11 15:15:01
| Show all posts
Or there is an activx delete menu under the run menu.
Reply

Use magic Report

1

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

Post time: 2020-8-11 15:45:01
| Show all posts
regsvr32 /u HyDicActiveProj1.ocx
You generated? ? The .ocx file is deleted. (Pay special attention to whether there are any residues in the system directory and path? The .ocx file exists)
Save the dclusr40.** file in another location (if there is no other imported control or something, the file can be deleted directly)
Just re-operate according to the newly generated OCX file.
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-8-17 21:15:01
| Show all posts
Thank you all for your help!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list