Click here to Skip to main content
15,896,912 members
Everything / VS2022

VS2022

VS2022

Great Reads

by Tough Developer
How to troubleshoot slow C++ debugging with VS2022
by Tough Developer
Slow Conditional Breakpoints with C++ in VS2022
by Uzi Granot
This program will solve a Rubik’s cube using algorithms for beginners. It is a WPF open source application written in C# for VS 2022 and .NET6 using 3D graphics and animation.
by Higty
A DAL generator that generates StoredProcedure client class and creates Table and Record classes

Latest Articles

by Higty
A DAL generator that generates StoredProcedure client class and creates Table and Record classes
by Steve Hageman
DSPLib is a complete DSP Library that is an end to end solution for performing FFT's with .NET 4
by Tough Developer
How to troubleshoot slow C++ debugging with VS2022
by Tough Developer
Slow Conditional Breakpoints with C++ in VS2022

All Articles

Sort by Score

VS2022 

26 Apr 2022 by Phil J Pearson
What you're loking for is called CodeLens. Enable it in Tools/Options and pick which sub-items you want. I found it annoying at first in VS2019 but then I got used to it and found it very useful. Then I had to go and find in in VS2022 because it...
4 Apr 2023 by Tough Developer
How to troubleshoot slow C++ debugging with VS2022
26 Apr 2022 by Member 13566383
I did work with VS2019 (C#) until last week. The editor displayed the number of references to a property or method definition. Clicking the name of the property or method showed a clickable list of references. I thought that to be a quite...
10 Aug 2023 by PIEBALDconsult
The XML has a default namespace, so you have to include it in the name of the objects to retrieve. Try foreach (XElement data in doc.Descendants(doc.Root.GetDefaultNamespace() + "VehicleBreadcrumb"))
13 Jun 2022 by Michael_Davies
This is a known issue and has been reported to MS, open the form then switch to a source window then back to the form and the properties magically, though somewhat annoyingly, appear.
3 Mar 2022 by Luc Pattyn
The winforms WebBrowser Control uses the code of ancient Internet Explorer, which means it is far from perfect. And it inherits its settings from Internet Explorer. The page you're interested in heavily relies on JavaScript, e.g. it needs JS...
3 Mar 2022 by Maciej Los
WebBrowser control has got a lot of limitations: Quote: Detecting when page is really done loading is very difficult to do reliably, in fact, you have to employ a series of hacks in order to be able to do this, some methods and ideas aren't...
25 Sep 2022 by KarstenK
Create 2 projects with the wizard, but one with and one without 'ActiveX Controls' activated. Than you see the difference. Shao is right, but in the resource file is also some silly macro value for that. And maybe some other linking settings.
12 Jul 2023 by Richard MacCutchan
The .sln file is the Solution file which should contain the project. If you do not have thos files already then see Python in Visual Studio tutorial step 1, create a project | Microsoft Learn[^].
15 Jul 2023 by OriginalGriff
Yes - the standard "drop on the form" version does, you just have to know how. Drop a DTP on your form, and run your code. Tab (or click) to the DTP and the "Day of Month" will be highlighted. Type date: "24-2-59" (in UK Culture) and it'll be...
9 Aug 2023 by Andre Oosthuizen
If your XML has a default namespace, you need to account for it in your code when querying the elements. You should use the 'XNamespace' and 'XName' objects to handle your namespaces - XNamespace ns =...
10 Aug 2023 by Richard MacCutchan
The problem is with your XML data: It...
25 Sep 2022 by Saurabh Ashtaputre
I am not sure about older VS versions, but VS2022 has option to enable 'ActiveX Controls' under Advanced features while creating the MFC application project. I have an old C++ MFC app VS project. Is there a way to know if the 'ActiveX Controls'...
30 Jan 2023 by Maciej Los
How about this: RDLC Report Using WPF And C#[^]?
8 Feb 2023 by Member 14651650
desktop 64bit 16GB Win 10 Pro 21H2 laptop 64bit 16GB Win 10 Pro 22H2 The VB.net release exe runs properly on the desktop Whether compiled on the laptop or running exe copied from desktop, it get's out of memory error: g =...
8 Feb 2023 by OriginalGriff
Since the memory usage keeps increasing, the chances are that you are creating things like bitmaps, Graphics objects, handles, and / or related classes which you are not releasing: an "Out of memory" error just means that a requested resource is...
4 Apr 2023 by Tough Developer
Slow Conditional Breakpoints with C++ in VS2022
20 Apr 2023 by robertd903
Okay, I'm working within Visual Studio (2022), and after selecting an object on my form--I want to change some properties. I bring up the PROPERTIES window--and up pops a BLANK window!! Really? NO properties, for NONE of the objects on my...
4 May 2023 by Member 11811771
I had worked with RDLC report in my project previously. When I am using it for the second time the report viewer window is not coming on the screen, only in the bottom it is showing as reportviewer1. What I have tried: I am using Visual Studio...
15 Jul 2023 by MIDCOPC
Is it possible to have a DateTimePicker on a WinForm where the user can enter the date from the keypad? What I have tried: Not finding anything on the web about this.
9 Aug 2023 by OriginalGriff
You only show one foreach loop, so it's got to be one of these lines: for (int idx = 0; idx
18 Mar 2024 by Member 14105155
It is rather strange situation, guys. I have a WTL template and compiler has no objections, compiling it. Excellent. Then I create an empty project and move files from the old project- one file by one. Same files, same include files and so on....
19 Mar 2024 by Rick York
I recommend starting from a solution that has already been made for a WTL project and adapting it for your project. This site has a good number of articles about WTL so I am sure something useful can be found : Code Project Search WTL[^]. By...
22 Feb 2022 by Uzi Granot
This program will solve a Rubik’s cube using algorithms for beginners. It is a WPF open source application written in C# for VS 2022 and .NET6 using 3D graphics and animation.
17 Feb 2024 by Higty
A DAL generator that generates StoredProcedure client class and creates Table and Record classes
18 Feb 2022 by Uzi Granot
PDF File Writer is a C# .NET class library allowing applications to create PDF files. The code was developed for VS 2022 and .NET6. The latest update is a major upgrade.
11 Jul 2023 by Steve Hageman
DSPLib is a complete DSP Library that is an end to end solution for performing FFT's with .NET 4
7 Jul 2022 by Greg Utas
Analogous functions, subtle differences, multiple compilers...
9 Aug 2023 by Patrice T
Quote: Code will not drop into the foreach loop. Your code do not behave the way you expect, or you don't understand why ! There is an almost universal solution: Run your code on debugger step by step, inspect variables. The debugger is here to...
20 Apr 2023 by lesNZ
Still found the same problem in VS 2023 Version 17.5.3. Solution 1 above fixed it. (Switching to Source code window and back to the Form)
9 Aug 2023 by MIDCOPC
I have the code below trying to convert a xml file to a csv file. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using System.IO; namespace ConsoleApplication1 { ...
25 Feb 2019 by EAHMK
This is an alternative for "Multiple Colored Texts in RichTextBox using C#"
30 Jan 2023 by Member 15639943
Hi, I followed the instructions to use RDLC in WPF in this link : I have already created a window to use the ReportPreview but I have not been able to solve the following error: ...
4 Mar 2022 by Member 13973055
Hi, I am using VB.NET 2022 and want to load a website in a WebBrowser control, but it does not load as expected. If I open the following page in any browser to the right of the word "Concurso," you can see data in there: ...
26 Apr 2022 by OriginalGriff
It's still there: right click the name and select "Find All References" (or SHIFT+F12) I don't remember a list ever coming up in the edit window as a popover with a name click in 2019 - perhaps it was an extension you had installed?
24 Aug 2022 by Houman Farokhi
I have Visual Studio 2022 preview version 17.4.0 when I create stand alone TypeScript angular project and right click on project and select Properties I couldn't find Debugging properties. where its go? What I have tried: i searched all...
12 Jul 2023 by sahil ajmeri 2022
python project file is missing where i cloned python project UltiMaker Cura application : GitHub - Ultimaker/Cura: 3D printer / slicing GUI built on top of the Uranium framework I have open project folder in visual studio 2022 I don't know much...