Control the control in the C # language in the web page (repost)

xiaoxiao2021-03-06  73

The C # language development controls embedded in the inside pages of: wyq@zzti.edu.cn

Download Source Codes This article requires you to be familiar with C #, ActiveX back to an reader's letter, briefly put our control in the page (we can implement the application in the web). As for this small control, the function is not worth mentioning. As for the code, everyone to see the control written with C # is. Wang Jian, hello! Sorry, I can give you back now. I am so sorry. This problem you said is achievable. At present, I have turned to C # language, I want to show you on the .NET platform, I don't know how you think? Of course, you can also do it with C . The principle is the same. If you also use the .NET development control, you can also embed it on the web page. At present, I am trying to put the program on the web, let people be better, and more convenient to use our network. Now I want to create a "Windows Control Library" project name "PDFControl" and then embed "Acrobat Control for ActiveX" control within the control window. In this project, I change the default name of the program to "PDFCTL", here remind you to pay attention to the writing of the original code. Let us look at the renderings: Figure 1 Note: We apply "Acrobat Control to the ActiveX" control to "PDFControl" control, then apply the PDFControl control to our web page. When you click the "Chang Size" button, we will see the following picture: As for the specific code, I will send it as an attachment and "Acrobat Control for the ActiveX" control (version 4.0). If you have any questions, you can continue to believe, and ensure that you will not be able to reply in this long time. :) What needs to be explained is that our operations are basically limited. To get the effect as shown above, you need to run the "Visual Studio .NET 2003 command prompt" to run "Caspol -s Off" command. In addition, it is also necessary to set a virtual directory in IIS. In its properties, select execution permission is "pure script". In addition, the controls we reference are controls that install Acrobat Reader 4.0 registration, and other high versions do not work. // The following is the letter of the friend: Mr. / Miss: Hello! I have read your article "Do a PDF Format E-Book Browser - Talking about the use of a type of control." There is a question I want to ask: I want to be an ActiveX control to display the PDF file in the web page. After I see your article, I want to try to see "Acrobat Control for ActiveX" controls in my ActiveX control. Do you not know? Will there be no effect? Trouble you, thank you!

转载请注明原文地址:https://www.9cbs.com/read-120223.html

New Post(0)