Skip to content

Commit 7b63500

Browse files
author
Colin Robertson
committed
Major update to samples content links
1 parent a664907 commit 7b63500

18 files changed

+569
-584
lines changed

docs/data/atl-database-classes-ole-db-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ For more information, see [OLE DB Programming](../data/oledb/ole-db-programming.
2828
[Creating an OLE DB Provider](../data/oledb/creating-an-ole-db-provider.md)<br/>
2929
[OLE DB Consumer Templates Reference](../data/oledb/ole-db-consumer-templates-reference.md)<br/>
3030
[OLE DB Provider Templates Reference](../data/oledb/ole-db-provider-templates-reference.md)<br/>
31-
[OLE DB Templates Samples](https://github.com/Microsoft/VCSamples)
31+
[OLE DB Templates Samples](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB)

docs/data/oledb/commands-and-tables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ The [ATL OLE DB Consumer Wizard](../../atl/reference/atl-ole-db-consumer-wizard.
1919

2020
- For data sources that support commands, you can use the `CCommand` class instead. To execute a command, call [Open](../../data/oledb/ccommand-open.md) on this class. As an alternative, you can call `Prepare` to prepare a command that you want to execute more than once.
2121

22-
`CCommand` has three template arguments: an accessor type, a rowset type, and a result type (`CNoMultipleResults`, by default, or `CMultipleResults`). If you specify `CMultipleResults`, the `CCommand` class supports the `IMultipleResults` interface and handles multiple rowsets. The [DBVIEWER](https://github.com/Microsoft/VCSamples) sample shows how to handle the multiple results.
22+
`CCommand` has three template arguments: an accessor type, a rowset type, and a result type (`CNoMultipleResults`, by default, or `CMultipleResults`). If you specify `CMultipleResults`, the `CCommand` class supports the `IMultipleResults` interface and handles multiple rowsets. The [DBVIEWER](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample shows how to handle the multiple results.
2323

2424
## See also
2525

26-
[OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-cpp.md)
26+
[OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-cpp.md)

docs/data/oledb/determining-which-type-of-accessor-to-use.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 22483dd2-f4e0-4dcb-8e4d-cd43a9c1a3db
88

99
You can determine data types on a rowset at compile time or at run time.
1010

11-
If you need to determine data types at compile time, use a static accessor (such as `CAccessor`).
11+
If you need to determine data types at compile time, use a static accessor (such as `CAccessor`).
1212

1313
If you need to determine the data types at run time, use a dynamic (`CDynamicAccessor` or its children) or manual accessor (`CManualAccessor`). In these cases, you can call `GetColumnInfo` on the rowset to return the column binding information, from which you can determine types.
1414

@@ -20,9 +20,9 @@ The following table lists the types of accessors provided in the consumer templa
2020
|`CDynamicAccessor`|Automatic.|No.|Useful if you don't know the type of data in a rowset.|
2121
|`CDynamicParameterAccessor`|Automatic, but can be [overridden](../../data/oledb/overriding-a-dynamic-accessor.md).|Yes, if the provider supports `ICommandWithParameters`. Parameters bound automatically.|Slower than `CDynamicAccessor` but useful for calling generic stored procedures.|
2222
|`CDynamicStringAccessor[A,W]`|Automatic.|No.|Retrieves data accessed from the data store as string data.|
23-
|`CManualAccessor`|Manual using `AddBindEntry`.|Manually using `AddParameterEntry`.|Fast; parameters and columns bound only once. You determine the type of data to use. (See [DBVIEWER](https://github.com/Microsoft/VCSamples) sample for an example.) Requires more code than `CDynamicAccessor` or `CAccessor`. It's more like calling OLE DB directly.|
23+
|`CManualAccessor`|Manual using `AddBindEntry`.|Manually using `AddParameterEntry`.|Fast; parameters and columns bound only once. You determine the type of data to use. (See [DBVIEWER](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample for an example.) Requires more code than `CDynamicAccessor` or `CAccessor`. It's more like calling OLE DB directly.|
2424
|`CXMLAccessor`|Automatic.|No.|Retrieves data accessed from the data store as string data and formats it as XML-tagged data.|
2525

2626
## See also
2727

28-
[Using Accessors](../../data/oledb/using-accessors.md)
28+
[Using Accessors](../../data/oledb/using-accessors.md)

docs/data/oledb/idbschemarowsetimpl-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,4 @@ The implementation of this function requires the user to have a schema map in th
254254
[Schema Rowset Classes and Typedef Classes](../../data/oledb/schema-rowset-classes-and-typedef-classes.md)<br/>
255255
[Supporting Schema Rowsets](../../data/oledb/supporting-schema-rowsets.md)<br/>
256256
[SCHEMA_ENTRY](../../data/oledb/schema-entry.md)<br/>
257-
[UpdatePV](https://github.com/Microsoft/VCSamples)
257+
[UpdatePV](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Provider)

docs/data/oledb/obtaining-metadata-with-schema-rowsets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ For the reference of the schema rowset, typedef classes provided in the OLE DB T
7575

7676
For more information about OLE DB schema rowsets, including restriction columns, see [Appendix B: Schema Rowsets](/previous-versions/windows/desktop/ms712921(v=vs.85)) in the **OLE DB Programmer's Reference**.
7777

78-
For more complex examples of how to use schema rowset classes, see the [CatDB](https://github.com/Microsoft/VCSamples) and [DBViewer](https://github.com/Microsoft/VCSamples) samples.
78+
For more complex examples of how to use schema rowset classes, see the [CatDB](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) and [DBViewer](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) samples.
7979

8080
For information about provider support for schema rowsets, see [Supporting Schema Rowsets](../../data/oledb/supporting-schema-rowsets.md).
8181

8282
## See also
8383

84-
[Using Accessors](../../data/oledb/using-accessors.md)
84+
[Using Accessors](../../data/oledb/using-accessors.md)

docs/data/oledb/ole-db-programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Also, you can use attributes to implement the OLE DB consumer templates.
1919
|OLE DB templates classes and macros|[OLE DB Templates Reference](../../data/oledb/ole-db-templates.md) (Visual C++)|
2020
|OLE DB consumer attributes|[OLE DB Consumer Attributes](../../windows/ole-db-consumer-attributes.md)|
2121
|OLE DB interfaces|[OLE DB programmer's reference](/sql/connect/oledb/oledb-driver-for-sql-server) (in the Windows SDK)|
22-
|OLE DB templates samples|[OLE DB Templates Samples](https://github.com/Microsoft/VCSamples)|
22+
|OLE DB templates samples|[OLE DB Templates Samples](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB)|
2323
|Data access programming overview (Visual C++)|[Data Access Programming](../../data/data-access-programming-mfc-atl.md)|
2424
|ODBC conceptual topics|[Open Database Connectivity (ODBC)](../../data/odbc/open-database-connectivity-odbc.md)|
2525

docs/data/oledb/ole-db-templates-attributes-and-other-implementations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For more information, you can:
2626

2727
- See the list of [OLE DB consumer classes](../../data/oledb/ole-db-consumer-templates-reference.md) or [OLE DB provider classes](../../data/oledb/ole-db-provider-templates-reference.md).
2828

29-
- See the list of [OLE DB templates samples](https://github.com/Microsoft/VCSamples).
29+
- See the list of [OLE DB templates samples](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB).
3030

3131
- See [OLE DB Programmer's Reference](/sql/connect/oledb/ole-db/oledb-driver-for-sql-server-programming) (in the Windows SDK).
3232

@@ -45,4 +45,4 @@ In the cases where the OLE DB Templates don't support OLE DB functionality, you
4545
## See also
4646

4747
[OLE DB Programming](../../data/oledb/ole-db-programming.md)<br/>
48-
[OLE DB Programming Overview](../../data/oledb/ole-db-programming-overview.md)
48+
[OLE DB Programming Overview](../../data/oledb/ole-db-programming-overview.md)

docs/data/oledb/using-manual-accessors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ To do these things with the OLE DB Consumer Templates, use the `CManualAccessor`
3434
3535
1. Call `GetNextResult` to determine if more rowsets are available. Repeat steps 2 through 5.
3636
37-
For an example of a manual accessor, see `CDBListView::CallProcedure` in the [DBVIEWER](https://github.com/Microsoft/VCSamples) sample.
37+
For an example of a manual accessor, see `CDBListView::CallProcedure` in the [DBVIEWER](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer) sample.
3838
3939
## See also
4040
41-
[Using Accessors](../../data/oledb/using-accessors.md)
41+
[Using Accessors](../../data/oledb/using-accessors.md)

docs/data/oledb/working-with-ole-db-consumer-templates.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ For an example of creating and implementing an OLE DB Consumer, see [Creating a
4444

4545
You can also find examples of how to use the OLE DB Consumer Templates in the following samples:
4646

47-
- [CatDB](https://github.com/Microsoft/VCSamples)
47+
- [CatDB](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
4848

49-
- [DBViewer](https://github.com/Microsoft/VCSamples)
49+
- [DBViewer](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
5050

51-
- [MultiRead](https://github.com/Microsoft/VCSamples)
51+
- [MultiRead](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/ATL/OLEDB/Consumer)
5252

5353
## See also
5454

55-
[OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-cpp.md)
55+
[OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-cpp.md)

docs/mfc/reference/creating-a-web-browser-style-mfc-application.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: 257f8c03-33c3-428c-832e-0b70aff6168d
99

1010
A Web browser-style application can access information from the Internet (such as HTML or active documents) or an intranet, as well as folders in the local file system and on a network. By deriving the application's view class from [CHtmlView](../../mfc/reference/chtmlview-class.md), effectively you make the application a Web browser by providing the view with the WebBrowser control.
1111

12-
### To create a Web browser application based on the MFC document/view architecture
12+
## To create a Web browser application based on the MFC document/view architecture
1313

1414
1. Follow the directions in [Creating an MFC Application](../../mfc/reference/creating-an-mfc-application.md).
1515

@@ -24,7 +24,7 @@ A Web browser-style application can access information from the Internet (such a
2424
The WebBrowser control supports Web browsing through hyperlinks and Uniform Resource Locator (URL) navigation. The control maintains a history list that allows the user to browse forward and backward through previously browsed sites, folders, and documents. The control directly handles the navigation, hyperlinks, history lists, favorites, and security. Applications can use the WebBrowser control as an active document container to host active documents as well. Thus, richly formatted documents such as Microsoft Excel spreadsheets or Word documents can be opened and edited in place from within the WebBrowser control. The WebBrowser control is also an ActiveX control container that can host any ActiveX control.
2525

2626
> [!NOTE]
27-
> The WebBrowser ActiveX control (and therefore `CHtmlView`) is available only to applications running under Windows versions in which Internet Explorer 4.0 or later has been installed.
27+
> The WebBrowser ActiveX control (and therefore `CHtmlView`) is available only to applications running under Windows versions in which Internet Explorer 4.0 or later has been installed.
2828
2929
Because `CHtmlView` simply implements the Microsoft Web browser control, its support for printing is not like other [CView](../../mfc/reference/cview-class.md)-derived classes. Rather, the WebBrowser control implements the printer user interface and printing. As a result, `CHtmlView` does not support print preview, and the framework does not provide for other printing support functions: for example, [CView::OnPreparePrinting](../../mfc/reference/cview-class.md#onprepareprinting), [CView::OnBeginPrinting](../../mfc/reference/cview-class.md#onbeginprinting), and [CView::OnEndPrinting](../../mfc/reference/cview-class.md#onendprinting), which are available in other MFC applications.
3030

@@ -58,9 +58,8 @@ void CWebView::OnInitialUpdate()
5858

5959
## See also
6060

61-
[MFC Sample MFCIE](https://github.com/Microsoft/VCSamples)<br/>
61+
[MFC Sample MFCIE](https://github.com/microsoft/VCSamples/tree/master/VC2010Samples/MFC/internet)<br/>
6262
[MFC Application Wizard](../../mfc/reference/mfc-application-wizard.md)<br/>
6363
[Set compiler and build properties](../../build/working-with-project-properties.md)<br/>
6464
[Property Pages](../../build/reference/property-pages-visual-cpp.md)<br/>
6565
[Set compiler and build properties](../../build/working-with-project-properties.md)
66-

0 commit comments

Comments
 (0)