After my first blog was published, I was very happy to get your support and my work was recognized. Of course, many of my friends have made great comments. I want to explain my understanding of these problems here.
The control that I completed is an ActiveX control used to obtain the client camera image and save it in a special folder, and then upload it to the server. One for everyone. The control that displays the image.
The reason why I first thought of using C # To write ActiveX controls is that I would not use VB/C ++ to write ActiveX controls. The second reason is that the simple winform control is caused. and cannot perform complex operations on the client. ActiveX controls run as local users, so they can break through the. NET security restrictions. This is the true advantage of using C # To write ActiveX controls.
In fact, the principle of using C # To write ActiveX controls is very simple, that is, the interoperability between the. NET platform and COM is used. In my "using C # To compile ActiveX controls", the purpose of modifying project properties is to register the. Net control as an ActiveX control. In this way, you can treat this control as an ActiveX control. For example, you can use JS and vbs for calling or C ++ for calling. The only pity is that ActiveX Controls require the client to install. NET Framework.
Because I have been busy recently, I'm taking the CET-4 and CET-6, and I'm about to take the final exam.ArticleIt has never been written. After the CET4 and cet6, I must complete the article.