Reading directory
I. Preface
Ii. unmanaged code
I. Preface
When talking about the concept of unmanaged code, we should first introduce several concepts involved.
.What is the difference between explain execution and compile execution ?" The concept of machine code is described in this article. machine code refers
Because RFID reading is used in Web projects, it is necessary to develop Activex. Generally, Activex is developed using VC, VB, etc. However, these two parts are not very familiar, therefore, C # is used to compile Activex. For more information, see network 1. compile WindowsFromControls2. publish WindowsFormControls to Activex3. use this Activex in the web. First, compile the windows Control and do not ela
C # Call the WORD processing instance Code (including excel ),
Recently, the program life (http://www.manong123.com) a friend asked me to help him to do a small function, in fact, is to save the content in the Word documents to the database, can achieve the search and convert the EXCEL function, the demand is very simple, I couldn't think of it for a week. I will describe the requirements in detail:
Provide
Because of the use of RFID in the Web project to read the function, so it is necessary to develop ActiveX, the general development of ActiveX use VC,VB, etc., but the two are not very familiar with, so use C # to write ActiveX way to achieve.
This article method reference network
1. Preparation of Windowsfromcontrols
2. Publish Windowsformcontrols as ActiveX
3. Use this A
I found
C # convert to vbnetOf
Code,
Some of the conversions fail.
ETC: If {} else {}
Function
.
Changed the UI.
It can be used as a small tool.
Attached
Source code
If you are interested, you can add the VB-> C # function.
Convenience for everyone :)
PS: The co
We all know that java, c #, vb and other languages all have sleep pause functions, while JavaScript scripts do not have similar functions. The following is my implementation method:
Code
The Code is as follows:
I 've taken a photo from someone else. I haven't tried it yet.
The following is a code snippet:
StringWriter textBuffer = new StringWriter ();
Match match = Regex. Match (HTMLStr, @ "\", RegexOptions. IgnoreCase | RegexOptions. Compiled );
If (match = null)
Response. Write (HTMLStr );Return;
String codeType = match. Groups ["codeType"]. Value;String content = match. Groups ["codeContent"]. Value;If (codeType = String. Empty | content = String. Empty)
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.