Skip to content

Commit 937be63

Browse files
committed
Merged main into live
2 parents c351da5 + ceae292 commit 937be63

File tree

4 files changed

+42
-69
lines changed

4 files changed

+42
-69
lines changed

docs/data-tools/connect-to-data-in-an-access-database-windows-forms.md

Lines changed: 4 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ Connect to databases created with Microsoft 365, Access 2016, Access 2013, Acces
100100
![Screenshot of Data Sources Window, populated with database objects](media/vs-2022/data-sources-window-populated.png)
101101

102102
14. On 64-bit machines with the 64-bit Access database engine, you need to ensure that the application runs as a 64-bit application. Open the project properties (press **Alt**+**Enter** or right-click on the project node, and select **Properties**). In the **Build** tab, clear the **Prefer 32-bit** checkbox.
103+
104+
The connection string is stored in *app.config*, and in the *Settings.settings* file under **Properties** in Solution Explorer.
105+
103106
:::moniker-end
104107

105108
:::moniker range="vs-2019"
@@ -197,60 +200,7 @@ Connect to databases created with Access 2000-2003 by using the following proced
197200

198201
## View the generated code
199202

200-
The data tools are configured to generate a lot of code automatically when you perform certain operations in the Form Designer. For example, when you drag and drop a table onto the form, a `DataGridView` is added and code is created to hook up the data with the control. You can view this code in the `*.Designer.cs` file. Visual Studio adds a number of private members:
201-
202-
```csharp
203-
private Database11DataSet database11DataSet;
204-
private System.Windows.Forms.BindingSource ordersBindingSource;
205-
private Database11DataSetTableAdapters.OrdersTableAdapter ordersTableAdapter;
206-
private Database11DataSetTableAdapters.TableAdapterManager tableAdapterManager;
207-
private System.Windows.Forms.BindingNavigator ordersBindingNavigator;
208-
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
209-
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
210-
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
211-
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
212-
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
213-
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
214-
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
215-
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
216-
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
217-
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
218-
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
219-
private System.Windows.Forms.ToolStripButton ordersBindingNavigatorSaveItem;
220-
private System.Windows.Forms.DataGridView ordersDataGridView;
221-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
222-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
223-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
224-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
225-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
226-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
227-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
228-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
229-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
230-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
231-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
232-
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
233-
```
234-
235-
If you expand the hidden region, you can see that Visual Studio also adds a large amount of code to set up the `DataGridView` control with data binding to the table you dragged to the form.
236-
237-
Also, in the main form code-behind file, Visual Studio adds code that processes the save action to save interactive changes to the data, and the code that loads the table into the table adapter.
238-
239-
```csharp
240-
private void ordersBindingNavigatorSaveItem_Click(object sender, EventArgs e)
241-
{
242-
this.Validate();
243-
this.ordersBindingSource.EndEdit();
244-
this.tableAdapterManager.UpdateAll(this.database11DataSet);
245-
246-
}
247-
248-
private void Form1_Load(object sender, EventArgs e)
249-
{
250-
// TODO: This line of code loads data into the 'database11DataSet.Orders' table. You can move, or remove it, as needed.
251-
this.ordersTableAdapter.Fill(this.database11DataSet.Orders);
252-
}
253-
```
203+
The data tools are configured to generate a lot of code automatically when you perform certain operations in the Form Designer. For example, when you drag and drop a table onto the form, a `DataGridView` is added and code is created to hook up the data with the control. You can view this code in the `*.Designer.cs` file. The generated code may differ depending on your version of Visual Studio.
254204

255205
Congratulations! With a little help from Visual Studio, you've created a form-based editing experience for an Access data table.
256206

docs/ide/copilot-chat-context.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Tips & Tricks for GitHub Copilot Chat in Visual Studio'
33
description: Use slash commands, references, and threads to form better questions and get better answers with scoped context in GitHub Copilot Chat.
4-
ms.date: 10/02/2024
4+
ms.date: 12/13/2024
55
ms.topic: how-to
66
author: anandmeg
77
ms.author: meghaanand
@@ -19,6 +19,7 @@ You can use [**GitHub Copilot Chat**](visual-studio-github-copilot-chat.md) in V
1919

2020
In addition to your prompt, Copilot uses additional context, like the code in your current file and the chat history, to generate a response. In this article, you learn how to get better answers by providing more information to Copilot Chat including:
2121
+ Use [slash commands](#slash-commands) to quickly specify common tasks like `/explain` to get code explanations.
22+
+ Use the [guided chat experience](#prompting-guidance) and [custom instructions](#enable-custom-instructions) to refine context in Visual Studio 17.12 or later.
2223
+ Scope the chat to specific files using [references](#reference).
2324
+ Review the [source used](#find-context) by Copilot to generate the answer.
2425
+ Use different [threads](#threads) for each of your Copilot chats so you can maintain different contexts in each.
@@ -42,6 +43,16 @@ The guided chat experience in Visual Studio 17.12 and later helps refine your pr
4243

4344
:::image type="content" source="media/vs-2022/copilot-chat-context/copilot-chat-guided-chat.png" alt-text="Screenshot of guided chat experience with GitHub Copilot Chat.":::
4445

46+
## Enable custom instructions
47+
48+
The custom instructions feature enables you to automatically add pre-specified contextual details to your chat questions. Copilot Chat uses these instructions tailored to your specific context, such as, the way your team works, the tools you use, or the specifics of your project, when generating responses.
49+
50+
To configure custom instructions:
51+
1. [Create/add](https://docs.github.com/en/enterprise-cloud@latest/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot) a custom instructions file `.github/copilot-instruction.md` in the root of your repository.
52+
1. Enable the feature in Visual Studio via **Tools** > **Options** > **GitHub** > **Copilot** > select **(Preview) Enable custom instructions to be loaded from .github/copilot-instructions.md files and added to requests.**.
53+
54+
Custom instructions are not visible in the Chat view or inline chat. However, when used by Copilot, the`.github/copilot-instructions.md` file is listed in the References list of a response.
55+
4556
## <a name="slash-commands"></a>Use slash commands in Copilot Chat for common tasks
4657

4758
Slash commands in Copilot Chat help you set the intent quickly for common development tasks. By using specific slash commands to form your question, you can get better answers without having to write out long questions.

docs/ide/developer-community-privacy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ If **Report a problem** is initiated from Visual Studio, we collect one or more
7878
> Log files, screenshots and recording data you send can significantly increase Microsoft's ability understand and respond to your issue. So we recommend including them. To protect your privacy, any attached log files, screenshots and recording data are sent only to Microsoft when you provide permission by submitting the problem report with which they are included. You can see which files are included on the 'Summary' step of the 'Report a Problem' window before submitting the report. You can exclude system log files from the report by unchecking 'Attach system logs' in the 'Summary' step. For reference, see the following screenshot.
7979
> ![Report a Problem * Summary of logs collected](media/report-a-problem-logs-collected.png)
8080
81+
## Leveraging AI
82+
Publicly submitted information on Developer Community, including ticket titles, descriptions, and public comments, may be processed by AI language models. This data is utilized to facilitate tasks such as ticket summarization, routing, and other operational improvements aimed at enhancing the user experience. Your data is not used for training AI nor retained outside the feedback system.
83+
84+
8185
## GDPR Data Subject Request processing
8286

8387
We support [General Data Protection Regulation (GDPR)](https://commission.europa.eu/law/law-topic/data-protection/data-protection-eu_en) and other data protection regulation requests through the [Developer Community](https://developercommunity.visualstudio.com/) website. You can View, Export, or Delete your feedback data.

subscriptions/what-are-subscriptions.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: What are Visual Studio subscriptions?
33
author: joseb-rdc
44
ms.author: amast
55
manager: shve
6-
ms.date: 09/11/2024
6+
ms.date: 12/12/2024
77
ms.topic: conceptual
88
description: Learn about Visual Studio subscriptions and how to acquire them
99
---
1010

1111
# What are Visual Studio subscriptions?
1212

1313
Visual Studio subscriptions are a comprehensive set of tools and resources to speed up development, promote collaboration anywhere,
14-
and innovate on any platform—all while maximizing security and compliance. Various subscription options are offered across several different channels so you can choose a subscription that best serves your needs.
14+
and innovate on any platform—all while maximizing security and compliance. Various subscription options are offered across several different channels so you can choose a subscription that best serves your needs.
1515

1616
## Subscription benefits
1717
In addition to the Visual Studio IDE, subscriptions can include benefits in these areas:
@@ -21,34 +21,42 @@ In addition to the Visual Studio IDE, subscriptions can include benefits in thes
2121
+ Access to product downloads
2222

2323
> [!IMPORTANT]
24-
> Benefits included in any subscription depend on the type of subscription. **Not all benefits are included in all subscriptions.** Be sure to visit the [Buy Visual Studio page](https://visualstudio.microsoft.com/vs/pricing/?tab=individual) and choose the tab that best describes your situation (individual, business, or enterprise) to explore available subscription options.
24+
> Benefits included in any subscription depend on the type of subscription. **Not all benefits are included in all subscriptions.** Be sure to visit the [Buy Visual Studio page](https://visualstudio.microsoft.com/vs/pricing/?tab=individual) and compare the benefits in each subscription to determine the best fit for your needs.
25+
26+
If you already have a subscription, access your benefits in the portal at my.visualstudio.com
2527

2628
### Tools & services
2729
The tools and services that might be included in a subscription include:
28-
+ Azure credits. Up to $150 in Azure credits per month are included, depending on the subscription
29-
+ Azure DevOps. Receive either the basic plan, or basic + test plans.
30+
+ Azure credits. Up to $150 in Azure credits per month are included, depending on the subscription
31+
+ Discounted dev/test pricing on select Azure services for nonproduction workloads
32+
+ Azure DevOps. Receive either the basic plan, or basic + test plans
3033
+ Windows Developer Account
3134
+ Microsoft 365 Developer Account
3235
+ Microsoft 365 apps for enterprise
3336

3437
### Professional development
3538
Build your development skill set with training and content from providers like:
36-
+ LinkedIn Learning
37-
+ Pluralsight
38-
+ DataCamp
39-
+ CODE Magazine
39+
+ [LinkedIn Learning](https://www.linkedin.com/learning)
40+
+ [Pluralsight](https://learn.microsoft.com/visualstudio/subscriptions/vs-pluralsight)
41+
+ [DataCamp](https://www.datacamp.com/)
42+
+ [CODE Magazine](https://www.codemag.com/Magazine)
43+
44+
Access to training partners with exclusive subscriber discounts
45+
46+
+ [Dometrain with Nick Chapsas](https://dometrain.com/courses/)
47+
+ [Time Corey's DevForge](https://www.iamtimcorey.com/devpass-business)
48+
+ [Visual Studio Live! Conferences](https://vslive.com/Home.aspx)
4049

4150
### Support
4251
Depending on your subscription, you can receive up to four professional support incidents from Microsoft.
4352

4453
### Access to product downloads
45-
A wide range of products are available for use in your development and test environments, depending on your subscription level.
54+
A wide range of products are available for use in your development and test environments, depending on your subscription level. [See available software here](https://learn.microsoft.com/visualstudio/subscriptions/product-availability)
4655

4756
## How can I purchase a subscription?
4857
Subscriptions are available through several channels.
49-
+ Volume licensing. For larger organizations would need multiple subscriptions, volume licensing provides a cost-effective way to purchase what they need. Volume license purchases frequently use multi-year agreements. Learn more about [licensing programs.](https://www.microsoft.com/Licensing/licensing-programs/licensing-programs?rtc=1)
50-
+ Retail. Individuals who are looking for a subscription for their own use can purchase subscriptions through the [Microsoft Store.](https://www.microsoft.com/store)
51-
+ Monthly subscriptions. Sometimes called "cloud subscriptions," monthly subscriptions are billed each month and provide billing flexibility. They're a great option for developers who just need to use the IDE for a short time, and don’t need the other benefits. Monthly subscriptions can be purchased on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/subscriptions) or through a [Cloud Solution Provider.](https://appsource.microsoft.com/en-us/marketplace/partner-dir)
58+
+ Volume licensing. For larger organizations would need multiple subscriptions, volume licensing provides a cost-effective way to purchase what they need. Volume license purchases frequently use multi-year agreements. Learn more about [licensing programs.](https://www.microsoft.com/Licensing/licensing-programs/licensing-programs?rtc=1)
59+
+ Retail. Individuals who are looking for a subscription for their own use can purchase subscriptions through the [Microsoft Store.](https://www.microsoft.com/store)
60+
+ Monthly subscriptions. Sometimes called "cloud subscriptions," monthly subscriptions are billed each month and provide billing flexibility. They're a great option for developers who just need to use the IDE for a short time, and don’t need the other benefits. Monthly subscriptions can be purchased on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/subscriptions) or through a [Cloud Solution Provider.](https://appsource.microsoft.com/en-us/marketplace/partner-dir)
5261

5362
For general information about subscriptions, including options, benefits, and pricing, visit the [Visual Studio subscriptions and benefits page.](https://visualstudio.microsoft.com/subscriptions/)
54-

0 commit comments

Comments
 (0)