Skip to content

Fixed included notes #1275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ translation.priority.mt:
# Walkthrough: Embedding Type Information from Microsoft Office Assemblies in Visual Studio (C#)
If you embed type information in an application that references COM objects, you can eliminate the need for a primary interop assembly (PIA). Additionally, the embedded type information enables you to achieve version independence for your application. That is, your program can be written to use types from multiple versions of a COM library without requiring a specific PIA for each version. This is a common scenario for applications that use objects from Microsoft Office libraries. Embedding type information enables the same build of a program to work with different versions of Microsoft Office on different computers without the need to redeploy either the program or the PIA for each version of Microsoft Office.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

## Prerequisites
This walkthrough requires the following:
Expand Down Expand Up @@ -139,4 +139,4 @@ If you embed type information in an application that references COM objects, you

## See Also
[Walkthrough: Embedding Types from Managed Assemblies in Visual Studio (C#)](../../../../csharp/programming-guide/concepts/assemblies-gac/walkthrough-embedding-types-from-managed-assemblies-in-visual-studio.md)
[/link (C# Compiler Options)](../../../../csharp/language-reference/compiler-options/link-compiler-option.md)
[/link (C# Compiler Options)](../../../../csharp/language-reference/compiler-options/link-compiler-option.md)
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If you embed type information from a strong-named managed assembly, you can loos

- Run the client program to see that the new version of the runtime assembly is being used without having to recompile the client program.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

## Creating an Interface

Expand Down Expand Up @@ -181,4 +181,4 @@ If you embed type information from a strong-named managed assembly, you can loos
[/link (C# Compiler Options)](../../../../csharp/language-reference/compiler-options/link-compiler-option.md)
[C# Programming Guide](../../../../csharp/programming-guide/index.md)
[Programming with Assemblies](http://msdn.microsoft.com/library/25918b15-701d-42c7-95fc-c290d08648d6)
[Assemblies and the Global Assembly Cache (C#)](../../../../csharp/programming-guide/concepts/assemblies-gac/index.md)
[Assemblies and the Global Assembly Cache (C#)](../../../../csharp/programming-guide/concepts/assemblies-gac/index.md)
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ translation.priority.ht:
# How to: Check Connection Status in Visual Basic
The <xref:Microsoft.VisualBasic.Devices.Network.IsAvailable%2A> property can be used to determine whether the computer has a working network or Internet connection.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To check whether a computer has a working connection

Expand All @@ -51,4 +51,4 @@ The <xref:Microsoft.VisualBasic.Devices.Network.IsAvailable%2A> property can be

## See Also
<xref:Microsoft.VisualBasic.Devices.Network?displayProperty=fullName>
<xref:Microsoft.VisualBasic.Devices.Network.IsAvailable%2A>
<xref:Microsoft.VisualBasic.Devices.Network.IsAvailable%2A>
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The <xref:Microsoft.VisualBasic.Devices.Network.DownloadFile%2A> method can be u

- The request is denied by the Web site (<xref:System.Net.WebException>).

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

> [!IMPORTANT]
> Do not make decisions about the contents of the file based on the name of the file. For example, the file Form1.vb may not be a Visual Basic source file. Verify all inputs before using the data in your application. The contents of the file may not be what is expected, and methods to read from the file may fail.
Expand Down Expand Up @@ -80,4 +80,4 @@ The <xref:Microsoft.VisualBasic.Devices.Network.DownloadFile%2A> method can be u
<xref:Microsoft.VisualBasic.Devices.Network>
<xref:Microsoft.VisualBasic.Devices.Network.DownloadFile%2A>
[How to: Upload a File](../../../../visual-basic/developing-apps/programming/computer-resources/how-to-upload-a-file.md)
[How to: Parse File Paths](../../../../visual-basic/developing-apps/programming/drives-directories-files/how-to-parse-file-paths.md)
[How to: Parse File Paths](../../../../visual-basic/developing-apps/programming/drives-directories-files/how-to-parse-file-paths.md)
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This walkthrough provides an introduction to the fundamentals of file I/O in [!I

This walkthrough uses members of the `My.Computer.FileSystem Object`, which are available in [!INCLUDE[vbprvb](../../../../csharp/programming-guide/concepts/linq/includes/vbprvb_md.md)]. See <xref:Microsoft.VisualBasic.FileIO.FileSystem> for more information. At the end of the walkthrough, an equivalent example is provided that uses classes from the <xref:System.IO> namespace.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To create the project

Expand Down Expand Up @@ -185,4 +185,4 @@ This walkthrough provides an introduction to the fundamentals of file I/O in [!I
<xref:System.IO>
<xref:Microsoft.VisualBasic.FileIO.FileSystem>
<xref:Microsoft.VisualBasic.FileIO.FileSystem.CurrentDirectory%2A>
[Walkthrough: Manipulating Files by Using .NET Framework Methods](../../../../visual-basic/developing-apps/programming/drives-directories-files/walkthrough-manipulating-files-by-using-net-framework-methods.md)
[Walkthrough: Manipulating Files by Using .NET Framework Methods](../../../../visual-basic/developing-apps/programming/drives-directories-files/walkthrough-manipulating-files-by-using-net-framework-methods.md)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ translation.priority.ht:
# Walkthrough: Manipulating Files by Using .NET Framework Methods (Visual Basic)
This walkthrough demonstrates how to open and read a file using the <xref:System.IO.StreamReader> class, check to see if a file is being accessed, search for a string within a file read with an instance of the <xref:System.IO.StreamReader> class, and write to a file using the <xref:System.IO.StreamWriter> class.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

## Creating the Application
Start [!INCLUDE[vsprvs](../../../../csharp/includes/vsprvs_md.md)] and begin the project by creating a form that the user can use to write to the designated file.
Expand Down Expand Up @@ -172,4 +172,4 @@ This walkthrough demonstrates how to open and read a file using the <xref:System
## See Also
<xref:System.IO.StreamReader>
<xref:System.IO.StreamWriter>
[Walkthroughs](../../../../visual-basic/walkthroughs.md)
[Walkthroughs](../../../../visual-basic/walkthroughs.md)
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ translation.priority.mt:
# Walkthrough: Embedding Type Information from Microsoft Office Assemblies in Visual Studio (Visual Basic)
If you embed type information in an application that references COM objects, you can eliminate the need for a primary interop assembly (PIA). Additionally, the embedded type information enables you to achieve version independence for your application. That is, your program can be written to use types from multiple versions of a COM library without requiring a specific PIA for each version. This is a common scenario for applications that use objects from Microsoft Office libraries. Embedding type information enables the same build of a program to work with different versions of Microsoft Office on different computers without the need to redeploy either the program or the PIA for each version of Microsoft Office.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

## Prerequisites
This walkthrough requires the following:
Expand Down Expand Up @@ -124,4 +124,4 @@ If you embed type information in an application that references COM objects, you

## See Also
[Walkthrough: Embedding Types from Managed Assemblies in Visual Studio (Visual Basic)](../../../../visual-basic/programming-guide/concepts/assemblies-gac/walkthrough-embedding-types-from-managed-assemblies-in-vs.md)
[/link (Visual Basic)](../../../../visual-basic/reference/command-line-compiler/link.md)
[/link (Visual Basic)](../../../../visual-basic/reference/command-line-compiler/link.md)
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If you embed type information from a strong-named managed assembly, you can loos

- Run the client program to see that the new version of the runtime assembly is being used without having to recompile the client program.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

## Creating an Interface

Expand Down Expand Up @@ -186,4 +186,4 @@ End Function
[/link (Visual Basic)](../../../../visual-basic/reference/command-line-compiler/link.md)
[Visual Basic Programming Guide](../../../../visual-basic/programming-guide/index.md)
[Programming with Assemblies](http://msdn.microsoft.com/library/25918b15-701d-42c7-95fc-c290d08648d6)
[Assemblies and the Global Assembly Cache (Visual Basic)](../../../../visual-basic/programming-guide/concepts/assemblies-gac/index.md)
[Assemblies and the Global Assembly Cache (Visual Basic)](../../../../visual-basic/programming-guide/concepts/assemblies-gac/index.md)
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ You use the `Const` statement to declare a constant and set its value. By declar

The constant must have a valid symbolic name (the rules are the same as those for creating variable names) and an expression composed of numeric or string constants and operators (but no function calls).

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To declare a constant

Expand Down Expand Up @@ -96,4 +96,4 @@ You use the `Const` statement to declare a constant and set its value. By declar
[How to: Declare an Enumeration](../../../../visual-basic/programming-guide/language-features/constants-enums/how-to-declare-enumerations.md)
[Enumerations and Name Qualification](../../../../visual-basic/programming-guide/language-features/constants-enums/enumerations-and-name-qualification.md)
[Option Strict Statement](../../../../visual-basic/language-reference/statements/option-strict-statement.md)
[Constants and Enumerations](../../../../visual-basic/language-reference/constants-and-enumerations.md)
[Constants and Enumerations](../../../../visual-basic/language-reference/constants-and-enumerations.md)
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The <xref:System.Collections.Generic.IEnumerable%601> interface is implemented b

In this walkthrough, you will create a class that implements the `IEnumerable(Of String)` interface and a class that implements the `IEnumerator(Of String)` interface to read a text file one line at a time.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

## Creating the Enumerable Class

Expand All @@ -72,4 +72,4 @@ The <xref:System.Collections.Generic.IEnumerable%601> interface is implemented b
[Introduction to LINQ in Visual Basic](../../../../visual-basic/programming-guide/language-features/linq/introduction-to-linq.md)
[Control Flow](../../../../visual-basic/programming-guide/language-features/control-flow/index.md)
[Loop Structures](../../../../visual-basic/programming-guide/language-features/control-flow/loop-structures.md)
[For Each...Next Statement](../../../../visual-basic/language-reference/statements/for-each-next-statement.md)
[For Each...Next Statement](../../../../visual-basic/language-reference/statements/for-each-next-statement.md)
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Interfaces describe the characteristics of properties, methods, and events, but
> [!NOTE]
> This walkthrough doesn't provide information about how to create a user interface.

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To define an interface

Expand Down Expand Up @@ -131,4 +131,4 @@ Interfaces describe the characteristics of properties, methods, and events, but
[Implements Statement](../../../../visual-basic/language-reference/statements/implements-statement.md)
[Interfaces](../../../../visual-basic/programming-guide/language-features/interfaces/index.md)
[Interface Statement](../../../../visual-basic/language-reference/statements/interface-statement.md)
[Event Statement](../../../../visual-basic/language-reference/statements/event-statement.md)
[Event Statement](../../../../visual-basic/language-reference/statements/event-statement.md)
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Language-Integrated Query (LINQ) makes it easy to access database information, i

The examples in this topic use the Northwind sample database. If you do not have the Northwind sample database on your development computer, you can download it from the [Microsoft Download Center](http://go.microsoft.com/fwlink/?LinkID=98088) Web site. For instructions, see [Downloading Sample Databases](https://msdn.microsoft.com/library/bb399411).

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To create a connection to a database

Expand Down Expand Up @@ -95,4 +95,4 @@ Language-Integrated Query (LINQ) makes it easy to access database information, i
[Queries](../../../../visual-basic/language-reference/queries/queries.md)
[LINQ to SQL](https://msdn.microsoft.com/library/bb386976)
[DataContext Methods (O/R Designer)](/visualstudio/data-tools/datacontext-methods-o-r-designer)
[How to: Assign stored procedures to perform updates, inserts, and deletes (O/R Designer)](http://msdn.microsoft.com/library/e88224ab-ff61-4a3a-b6b8-6f3694546cac)
[How to: Assign stored procedures to perform updates, inserts, and deletes (O/R Designer)](http://msdn.microsoft.com/library/e88224ab-ff61-4a3a-b6b8-6f3694546cac)
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Language-Integrated Query (LINQ) makes it easy to access database information an

The examples in this topic use the Northwind sample database. If you do not have the Northwind sample database on your development computer, you can download it from the [Microsoft Download Center](http://go.microsoft.com/fwlink/?LinkID=98088) Web site. For instructions, see [Downloading Sample Databases](https://msdn.microsoft.com/library/bb399411).

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To create a connection to a database

Expand Down Expand Up @@ -105,4 +105,4 @@ Language-Integrated Query (LINQ) makes it easy to access database information an
[LINQ to SQL](https://msdn.microsoft.com/library/bb386976)
[DataContext Methods (O/R Designer)](/visualstudio/data-tools/datacontext-methods-o-r-designer)
[Aggregate Clause](../../../../visual-basic/language-reference/queries/aggregate-clause.md)
[Group By Clause](../../../../visual-basic/language-reference/queries/group-by-clause.md)
[Group By Clause](../../../../visual-basic/language-reference/queries/group-by-clause.md)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Language-Integrated Query (LINQ) makes it easy to access database information an

The examples in this topic use the Northwind sample database. If you do not have the Northwind sample database on your development computer, you can download it from the [Microsoft Download Center](http://go.microsoft.com/fwlink/?LinkID=98088) Web site. For instructions, see [Downloading Sample Databases](https://msdn.microsoft.com/library/bb399411).

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To create a connection to a database

Expand Down Expand Up @@ -103,4 +103,4 @@ Language-Integrated Query (LINQ) makes it easy to access database information an
[LINQ](../../../../visual-basic/programming-guide/language-features/linq/index.md)
[Queries](../../../../visual-basic/language-reference/queries/queries.md)
[LINQ to SQL](https://msdn.microsoft.com/library/bb386976)
[DataContext Methods (O/R Designer)](/visualstudio/data-tools/datacontext-methods-o-r-designer)
[DataContext Methods (O/R Designer)](/visualstudio/data-tools/datacontext-methods-o-r-designer)
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Language-Integrated Query (LINQ) makes it easy to access database information an

The examples in this topic use the Northwind sample database. If you do not have the Northwind sample database on your development computer, you can download it from the [Microsoft Download Center](http://go.microsoft.com/fwlink/?LinkID=98088) Web site. For instructions, see [Downloading Sample Databases](https://msdn.microsoft.com/library/bb399411).

[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]
[!INCLUDE[note_settings_general](../../../../csharp/language-reference/compiler-messages/includes/note_settings_general_md.md)]

### To create a connection to a database

Expand Down Expand Up @@ -102,4 +102,4 @@ Language-Integrated Query (LINQ) makes it easy to access database information an
[LINQ](../../../../visual-basic/programming-guide/language-features/linq/index.md)
[Queries](../../../../visual-basic/language-reference/queries/queries.md)
[LINQ to SQL](https://msdn.microsoft.com/library/bb386976)
[DataContext Methods (O/R Designer)](/visualstudio/data-tools/datacontext-methods-o-r-designer)
[DataContext Methods (O/R Designer)](/visualstudio/data-tools/datacontext-methods-o-r-designer)
Loading