Notes on compiling ActiveX controls with C #

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.