How to: Visually configure the data source connection string (2)

Author: water and smoke How to: Visually configure the data source connection string (1) File adoconnectiondialog. VB Option   Strict   Off Namespace udata Namespace Udata. connectionui Public   Class adoconnectiondialog

Please pay attention to msdn2, Chinese technical resource library

Msdn2 technical resource library (Chinese-People's Republic of China)Http://msdn2.microsoft.com/zh-cn/library/default.aspx Abstract:The msdn technical resource library is an essential resource for developers who use Microsoft tools, products, and

How to: Add domain users in batches

Author: water and smokeUse vbs. My domain name is fkdl. lcoal and add users to users.The content of addusers. vbs is as follows: users read the user to be added and their passwords from users.txt in the same folder. Set Adsou = GetObject ( "

How to: Drag and Drop files from the Resource Manager to the control

author: Smoke-like water of course, the so-called file refers to the complete file name. As for the file content, further operations must be performed according to the actual situation. The control here is a ListBox.CodeAs follows: Private

Functions and registries

Save the following functional snippets as Reg files for import.Format:File HeaderFeature snippet Note:File Header, which is related to the system version,For windowsserver2003Windows Registry Editor Version 5.00 Function: Cancel default

How to: retrieve local hardware information

Author: water and smoke Use Managementclass . The following example shows how to search hard disk information. Private   Sub button#click () Sub Button#click ( Byval Sender As System. object, Byval E As System. eventargs) Handles

How to: Get the doscommand output result

Author: water and smoke Public   Class consoleoutput Class Leleoutput Private   Sub new () Sub New()End sub Private   Shared Gworkingdirectory As   String   = Environment. getfolderpath (environment. specialfolder. Personal)

How to: Set the default printer

Author: water and smokeThe system. Management space must be referenced before imports system. ManagementUsage: Private   Sub Button2_click ( Byval Sender As System. object, Byval E As System. eventargs) Handles

Big image cutting tool and big image splitting Tool

1900 use of the large image cutting tool: Software features:The image material downloaded from the internet is sometimes a large image, which contains many small images and needs to be cut down during use,This software is applicable to small graph

Parse strings separated by blank characters (blank, tabulation)

/**/ ///   /// Parse strings separated by blank characters (blank, tabulation) ///   ///   ///   Public   Static Arraylist getstringssepbyblank ( String STRs) {Arraylist ar = New Arraylist (); // [^

Advanced version of horse traversal-Knight Parade (Added evaluation function) [teaks & xgluxv & R]

Last week, a simple horse traversal was released.ProgramBecause the method is not good, it cannot effectively solve the problem of Knight parade. This release can solve this problem within a tolerable time range, and greatly improve the search speed

About server guard parade

Introduction I read two articles about server guard parade written by live a few days ago. Algorithm Of Article (My horse's traversal code [teaks & xgluxv] and horse's traversal advanced edition-Knight Parade (Added evaluation function) [teaks &

A problem with drawimage

Today, we found that when we used the drawimage method to plot a 10*10 bitmap to a 100*100 graphics image, the right and lower sides of the image were always white. Initially thought it was a problem with the target size, but there was still a

Dynamically load controls

Http://blog.csdn.net/yicko/archive/2005/04/16/349740.aspx 1. Loads common controls instead of user controls. The user control uses loadcontrol, while the common control creates an object and adds it to the controls.2. It can be added to the

Use of managementclass and managementobject

Original article: http://blog.csdn.net/hardstone1/article/details/5380775 OnlineCodeAnd msdn help do not list managementobject [""] which attributes can be used here? refer to examples (). The useprop function describes how to obtain the IP

Heterogeneous how to: prompt the prompt box (6)

Author: water and smoke Log implementation:Methodlogattribute. VBNamespaceUremoting. methodwatcherAttributeusage (attributetargets. Class)>_Public ClassMethodlogattributeInheritsMethodwatcherbaseattribute protected overrides function

How to: Operation fixed length string

Author: water and smoke Public   Class ustring Class Ustring Private   Shared Gencoding As System. Text. Encoding = System. Text. encoding. getencoding ( " Gb2312 " ) Public   Shared   Property encoding () Property

How to: Enumerate computers with network neighbors and their shared folders

Author: water and smokeKey reference space: System. directoryservices, system. Management Note: Form There is Treeview1, button1 Code As follows:: Private   Sub button#click () SubButton#click (ByvalSenderAsSystem. object,ByvalEAsSystem.

Msoffice tips: Macro Security-level changes

Author: water and smoke Because of the security audit, a security warning is usually displayed when a file is opened with access. The security warning is displayed only after the selection.CodeThe same is true. Therefore, to cancel this option and

How to: Enumerate Assembly static methods

Author: water and smokeIt is now found that it is very important to be familiar with the static methods provided by NET. If you are not familiar with the static methods, you may encounter many detours.Of course, detours are not bad, but time is

Total Pages: 64722 1 .... 54026 54027 54028 54029 54030 .... 64722 Go to: GO

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.