xml| Conversion
Using System;Using System.Drawing;Using System.Collections;Using System.ComponentModel;Using System.Windows.Forms;Using System.IO;Using System.Xml;Namespace MyWindows{/**////This example shows how to encode an Office file as an XML
First of all, this article is only a personal learning experience, not standard data. If there is any fallacy, welcome the expert to point out.
Object O1 = new Object ();
string S1 = O1. ToString (); S1 would be "System.Object"
Object O2 =
Previously wrote a directory through the calculation of all files and subdirectories to obtain the number of files in a directory, the result found that the speed is very slow, far less than the system itself in the directory properties of the speed
excel| programming to open Excel's VBA Help and view the Excel object model, it is easy to find several collections and objects needed to complete this feature: application, workbooks, workbook, worksheets also has worksheet and range. Application
C++
Using a DLL written in C/C + +
Well, it's time for me to write something. Recently in the forum always see a friend ask
How does the C + + program work in C #? Actually, it's a very good idea. Code reuse. But
How do managed programs use
Using System;
Namespace Guessnumber{Summary description of the CLASS1.Class Class1{The main entry point for the application.[STAThread]static void Main (string[] args){Guessgame mygame=new guessgame ();while (Mygame.play (). ToUpper () = = "Y"){
}}}
Asynchronous
Asynchronous programming is a feature supported by many areas of the common language runtime, such as remoting, ASP.net, and Windows forms. Asynchronous programming is the core concept in the. NET Framework. Use. NET asynchronous
To set a shortcut key, you must use the two methods below user32.dll.
BOOL RegisterHotKey (HWND hwnd,int ID,UINT Fsmodifiers,UINT VK);
And
BOOL Unregisterhotkey (HWND hwnd,int ID);into C # code, you first need to refer to the namespace
Print
Printing a document in a Windows application is a very important feature that has been a very complex work in the past, and the Microsoft. NET FrameworkPrinting features are provided in the form of components, providing a great convenience to
static | page
Environment: Microsoft. NET Framework SDK v1.1Os:windows Server 2003 Chinese versionAsp. NET generates static HTML pagesThe FileSystemObject object for generating static pages implemented in ASP!This type of operation is involved in.
Page load Events
public void Page_Load (Object Sender,system.eventargs e)
{
Define picture Flags
String Pys_pic;
Pys_pic= "";
Define folder names
String Pys_dir;
Pys_dir=datetime.now.year.tostring ();
Define the previous part of the file name to
Disconnect | The network recently I am responsible for the development of an IM project, the server and the client adopt TCP protocol connection. The service side uses the C # development, the client uses Delphi development. In the service side
Control (cracked version, limited. Net2005) and skin download address: http://www.cnblogs.com/liuxzh1026/archive/2006/08/19/480981.html
Embedded in the project:
Unzip the downloaded skin files and Irisskin2.rar, add the existing items to the
Internet
Using System;Using System.Drawing;Using System.Collections;Using System.ComponentModel;Using System.Windows.Forms;Query the computer IP on the network and user needs referenceUsing System.Data;Using System.IO;Using System.Net;Using
Data | database | conversion
/*A, note that the database coding to be compatible with gb2312 and Big5, such as the use of MySQL UTF8b, the code in the way of traversal, and with Mysqlcommandbuilder for batch update, so the table can be converted
Programming
When the USB disk is inserted, the program automatically copies the contents of the U disk to the local hard drive
Using System;Using System.Collections.Generic;Using System.ComponentModel;Using System.Data;Using System.Drawing;Using
In C #, the overload of the virtual method has some experience, now share with you.
First of all, please take a look at the following example,
Using System;
Abstract public class contacts
{
Public virtual string Prinf ()
{
Return ("This is a
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