Vb.net.Notas

download Vb.net.Notas

of 2

Transcript of Vb.net.Notas

  • 8/9/2019 Vb.net.Notas

    1/2

    usar#region

    usarCTRL+k,c / CTRL+k,u

    WINDOWS FORMS1 Dynamic Control Creation SampleDemonstrates how to add controls to a form in a Windows Forms application at run

    time.

    2 Inherit Form

    3 ListBox and ComboBox SampleDemonstrates several basic ListBox and ComboBox tasks, such as adding items, binding to a database table, and accessing a selected item.

    4 Menus SampleDemonstrates how to use MenuStrip controls in Windows Forms applications to crea

    te menus at runtime and handle menu events.5 NotifyIcon SampleDemonstrates how to create a program that displays an icon in the notification area by using the NotifyIcon control and its associated ContextMenu.

    6 Regular Expressions SampleDemonstrates how to validate user input by using the Regex class, which represents regular expressions.

    7 Simple Browser

    8 StatusStrip Control SampleDemonstrates how to display various types of data visually in the StatusStrip control.

    9 Text Validation SampleProvides a comparison of two ways of validating text: by using regular expressions in a custom TextBox control and by using the MaskedTextBox component.

    10 Top-Level Forms SampleDemonstrates how to implement an application that supports multiple windows that

    appear separately in the taskbar.

    DATA

    1 Occasionally Connected Data SampleDemonstrates how to use Microsoft Synchronization Services for ADO.NET for two-tier download-only synchronization.

    2 Database Creation SampleShows how to execute SQL statements from code to create a database, a table, a stored procedure, and a view.

    3 Custom Data Controls SampleDemonstrates how to use your own controls with the Data Source window.

    MISCELLANEOUS1 Environment Information SampleDemonstrates the use of several classes that provide environment information.

    2 Excel Sample

  • 8/9/2019 Vb.net.Notas

    2/2

    Demonstrates how to use Visual Basic to start Excel, create a workbook from a template, and update cells in a worksheet that then populates graphs in the workbook. Also shows how to send the workbook to an e-mail address, either one time or

    on a regular schedule.

    3 Logging SampleUses the My.Application.Log object to write to a plain text file, the event log,

    and an XML file.

    4 Multithreading SampleDemonstrates how to use multiple threads to achieve concurrency in tasks.

    5 Resources and Settings SampleDemonstrates how to manage resources and settings for an application by using the My.Settings object, the My.Resources object, the Project Designer, and the Resource Editor.

    6 Send Mail SampleShows how to send email over SMTP using classes in the System.Web.Mail namespace

    .7 Threaded User Interface Update SampleShows how to update the user interface when data is supplied from a different thread.

    LANGUAGE1 API Call SampleDemonstrates calling Win32 API functions to enumerate and control processes andwindows, and to query and change system settings.

    2