May 13, 2021 14:00 0 Comment vb.net
Define sub-procedures, Define sub-procedures, Example, Pass arguments by value, Pass the parameter by reference, As we mentioned in the previous chapter, the Sub procedure is a process that does not return any values. W, e've been using sub-process Main in all ou
May 13, 2021 14:00 0 Comment vb.net
VB.Net - function, Define the function, Example, The function returns a value, Recursive function, An array of parameters, Pass the array as a function argument, A procedure is a set of statements that perform tasks together when called. A, fter the procedure is executed, controls the statement that returns to
May 13, 2021 14:00 0 Comment vb.net
Create VB.Net in the group, Create VB.Net in the group, Dynamic array, Multi-dimensional array, Irregular array, Array class, Arrays store a fixed-size sequence of elements of the same type., Arrays are used to store data collections, but it is often more useful to think of a
May 13, 2021 14:00 0 Comment vb.net
The properties and methods of the DateTime structure, The properties and methods of the DateTime structure, Create a DateTime object, Get the current date and time:, Format the date, Predefined date/time format, Properties and methods for the DateAndTime class, Most of the software you write needs to implement some form of date function, returning the current date and time. D, ates are part of everyday life,
May 13, 2021 14:00 0 Comment vb.net
Create a string object, Create a string object, The property of the String class, The method of the String class, Example:, In VB.Net, strings can be used as an array of characters, but it is more common to declare a string variable using the String keyword. T, he string ke
May 13, 2021 14:00 0 Comment vb.net
Loop control statement:, Loop control statement:, There may be a situation when you need to execute a piece of code several times., In general, statements are executed sequentially: the first statemen
May 13, 2021 15:00 0 Comment vb.net
VB.Net - Basic control, Control the properties, The control method, Control the event, Basic control, An object is a user interface element created on a Visual Basic form by using toolbox controls. I, n fact, in Visual Basic, the form itself is an obje
May 13, 2021 15:00 0 Comment vb.net
VB.Net - dialog box, There are many built-in dialog boxes for various tasks in Windows Forms, such as opening and saving files, printing pages, providing users with colors
May 13, 2021 15:00 0 Comment vb.net
VB.Net - Advanced form, Add menus and sub-menus to the application, Add cut, copy, and paste to your form, Anchors and docks the controls in the form, Pattern Form, A pattern form is a form that needs to be closed or hidden before you can continue to use the rest of the application. A ll dialog boxes are modal forms. M essageBox is also a modal form., In this chapter, we'll look at the following concepts:, Add menus and sub-menus to the application, Add cut, copy, and paste to your form, Anchoring a
May 13, 2021 15:00 0 Comment vb.net
VB.Net - Event handling, Handle mouse events, Example, Handle keyboard events, Example, Events are basically user actions, such as keystrokes, clicks, mouse movements, etc., or certain events, such as system-generated notifications., Appl
May 13, 2021 15:00 0 Comment vb.net
Defines the construction of regular expressions, Defines the construction of regular expressions, Regular expression class, Example 1, Example 2, Example 3, Regular expressions are patterns that can match input text. . . T, he Net framework provides a regular expression engine that allows this match. P, at
May 13, 2021 15:00 0 Comment vb.net
VB.Net - Database access, Ado. Net object model, The data provider, The dataset, Connect to the database, Example 1, 示例2, Create tables, columns, and rows, 示例3, The application communicates with the database, first, retrieving the data stored there and rendering it in a user-friendly manner, and second, updati
May 13, 2021 15:00 0 Comment vb.net
VB.Net - Excel worksheet, Create VB.Net excel application from the same time, Vb. N, et provides support for interoperability between the COM object model and applications of Microsoft Excel 2010., To use this interoperability i
May 13, 2021 15:00 0 Comment vb.net
VB.Net - Send a message, SmtpClient class, Example, Vb. N, et allows e-mail to be sent from your application., The System.Net.Mail namespace contains classes that are used to send e-mail messages to the
May 13, 2021 15:00 0 Comment vb.net
VB.Net - XML processing, The API of the XML parser, Parsing XML uses the SAX API, Example 1, 示例2, Use the DOM API to resolve XML, 示例3, Extensable tag language (XML) is a tag language that is very similar to HTML or SGML., This is recommended by the World Wide Web Alliance and can be u