Tutorials to .com

Tutorials to .com » Dotnet » Winform » .Net Windows development

.Net Windows development Articles


261: Call in C # in VB.NET function examples
using System; using Microsoft.VisualBasic; . . . . . . static void Main (string [] args) ( s = "ABCD123"; / / Fully qualified use of Mid () stringletters = Microsoft.VisualBasic.Strings.Mid (s, 1,4); / / Can also just use the stati...

262: Procedures to ensure that there is only one instance is running (C #) solutions
since http://www.yesky.com/20030407/1661941.shtml How to ensure that only one C # program (example) to run? Answer: The main application of the System.Diagnostics Namespace Process Class to achieve, thinking, before we run the program, find the pr...

263: I wrote a simple string handling functions (which may be useful)
using System; namespace Joycode.MSN.CommandParsers ( / / / <summary> / / / User code interpreter / / / </ Summary> internal class Encoders ( private static System.Text.Encoding enc = System.Text.Encoding.UTF8; public Encoders ()...

264: The use of friends see a problem WINDOWS2003
WINDOWS 2003 in the run the program and play media files whenspeed. Why? WINDOWS2003 is mainly due to a system as a dedicated server. He has all the properties of the hardware are going in the background. Default settings. We very slow to use. this ...

265: To CNET: Examples of global hotkeys, I do not know there is no use
Class Hotkey.cs using System; namespace Durius.Generics ( public delegate void HotkeyEventHandler (int HotKeyID); / / / <summary> / / / System wide hotkey wrapper. / / / / / / Robert Jeppesen / / / Send bugs to robert@durius.com / / ...

266: In. NET way to use API
In. NET way to use API Chinese www.yescnet.com CNET Network May say hate VB.NET is a programming software can also foster the love, the new version of. NET does not support VB6 as API calls, hard to find in the MSDN way the use of API, the code is...

267: --------- Continued
Now we can change the XML block this changed through the XML to create a new object of the. For example, we change the XML element in the value of Name to the new object to a different attribute value Name. In order to show the details of the new o...

268: In addition to using the hook, the following code is also able to capture the overall situation of the mouse: (csdn)
dy_2000_abc () public class Form1: System.Windows.Forms.Form, IMessageFilter ( private System.Windows.Forms.Button button1; static void Main () ( Application.Run (new Form1 ()); ) private void Form1_Load (object sender, System.EventArgs e) ...

269: HOW TO: Set a Windows Hook in Visual C #. NET
HOW TO: Set a Windows Hook in Visual C #. NET The information in this article applies to: Microsoft. NET Framework SDK Microsoft Visual C #. NET (2002) IN THIS TASK SUMMARY Set a Mouse Hook Global Hook Is Not Supported in. NET Framework REFE...

270: I have resolved to address the class the following detailed information:
If in the text box, enter the simple mathematical calculation: 200 +100 * 290 like the calculation formula of how to calculate their values: using System; using System.CodeDom; using System.CodeDom.Compiler; using Microsoft.CSharp; using System...

271: Activated form of the design ...
A typical application of a number of forms. And start to load the main form. Settings as follows: 1. Right-click the Solution Explorer (solution) in the name of the project, in the pop-up shortcut menu, select "Properties." 2. In the pop...

272: Close the form of methods and Hide methods ...
form1.close and allow users to form1.hide can not see form1, but still somewhat different between the two, the design can note the following: 1.Close is closed form, the form will not close the account for system resources. Hide the form is hidden,...

273: Form showed that mode with the sub-mode ...
No model shows that the form, you can switch from one to another, methods: from1.show Model shown in the form, can be interpreted as a dialog box, you must complete the operation or after closure of the form to return the form to open the form, met...

274: Explore occasional drag the file to VB.net window 40Star (original)
Explore occasional drag the file to VB.net window 40Star (original) Keyword WM_DROPFILES VB.net VB.net want to drag the appropriate external care of the documents, WM_DROPFILES news to be addressed. Private Declare Sub DragAcceptFiles Lib "s...

275: Call screen 40Star (original)
Screen saver you want to call the system, mainly to send a message WM_SYSCOMMAND. Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lP...

276: VB.NET player in the voice of Montaque (original)
VB.NET player in the voice of Montaque (original) Upgrade from VB6 to. NET, there were not the voices of processing, such as the time error, since the definition of a sound broadcast, or procedures for background music, including the game music and...

277: VB.Net to create irregular form Montaque (original)
VB.Net to create irregular form Montaque (original) In general, applications are the rules of the form, that is, rectangular form. Sometimes the use of a particular order, we want to change the shape of the application form, such as the personality...

278: To start the associated application to open a special file zlyperson (original)
To start the associated application to open a special file zlyperson (original) The original C #, I put it into the VB. But not had time to test. If any questions, please announce. This essay will demonstrate how to activate special file associate...

279: How to make TextBox border into the black light blue (borderstyle = FixedSingle)
I found the process of writing the control events do not use Paint, so had no choice but to direct interception of the WndProc function, which is very simple, like this: Public Class TextBoxBlue Inherits TextBox Protected Overrides Sub WndProc (B...

280: Refresh the parent form sub-form of the problem completely solved, thank you E moderator
In fact, I is not familiar with due to showdialog. Optical transmission of data expected, it has been re-showdialog incident, although the transmission of such data, but can not use form.owner way. The current solution is: Used in the main form s...


Page 14 of 25
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]   [18]   [19]   [20]   [21]   [22]   [23]   [24]   [25]