Error trying to call a C# DLL from a C++ console app
I am on Windows 10 with VS 2022. I want to call a C# DLL from a C++ app. I am trying to register the C# DLL using regasm. I am getting the following error: C:\Users\dbaec\OneDrive\Forex\C++_App\C#_DLL\obj\x64\Debug\net6.0-windows7.0>regasm.exe…
Developer technologies C++
How can I run vstest.console.exe in 32-bit mode using Visual Studio 2022?
I’m working on a .NET solution that depends on a 32-bit native DLL. Due to this dependency, I need the test host process to run in 32-bit mode to avoid runtime issues. However, I'm facing the following challenges: I'm using Visual Studio 2022, which…
Developer technologies Visual Studio Testing
Maui toolkit popup window size controling
Hello all. I built a toolkit popup according the Microsoft doc. and I want that the width of the popup window to fill the screen width. How I do that. I tried horizontal option fill but that's not working. Thank you very much
Developer technologies .NET .NET MAUI
String Format Not Being Applied
<TextBox Background="#FAFAD2" Focusable="False" HorizontalContentAlignment="Center" Style="{StaticResource TextBoxKey}" Text="{Binding Path=LastUpdate, Converter={StaticResource…
Developer technologies XAML
Windows Form project, sending e-mail error in C#
Hi, I tried several things sending email pragmatically, but get an error: code here: using System.Net; using System.Net.Mail; private void SendEmailOutlook(string toAddress, string fromAddress, string subject, string messageText, bool isHtmlMessage,…
Developer technologies C#

.Net Maui Shell navigation, is it possible to keep previouse page state as in NavigationPage (old way)?
I have a listing page with a CollectionView control, when item clicked it opens a details page, when back button pressed on details page, i lose the scoll position on listing page! With Shell navigation the previouse page is rerendered everytime we back…
Developer technologies .NET .NET MAUI
How to fix "report processing jobs limit have been reached" in asp.net./vb.net application
What could be the problem leading to this error: The maximum report processing jobs limit configured by your system administrator has been reached."... We have already increased report limit in registry? The application was developed inhouse and…
Developer technologies ASP.NET ASP.NET API
"You must install .NET Desktop Runtime to run this application"
I am writing an .nsi script, which after successfully installing, will not allow me to run the program after showing the popup in the screenshot above "You must install .NET Desktop Runtime to run this application". I have clicked the Learn…
Developer technologies .NET .NET Runtime
Developer technologies .NET Other
.Net 9.0 not showing in options in Visual Studio 2022 although SDK is installed -
Hi gentlemen, I have encountered a strange problem on my system. Very recently I installed .Net9 SDK on my system. When I ran dotnet--list-sdks I get the following information: When I run dotnet--list-runtimes I get the following information: …
Developer technologies ASP.NET ASP.NET Core
Developer technologies .NET Other
Developer technologies Visual Studio Other
how to asp net core MVC crud operations with image consume from web ApI
I want to see the image from the API in the view of the MVC application. But I can't see it. And I want to Insert, update the image from the MVC view. How to do this. If the experts could help, I would be benefited. //Api Code …
Developer technologies ASP.NET ASP.NET API
Get-StorageReliabilityCounter equivalent
Hi, These ps commands work fine, but I'm trying to get the StorageReliabilityCounter values in WinForms, and there's not a single working sample out there, do I need both MSFT_Disk and MSFT_DiskToStorageReliabilityCounter classes? If so, how to connect…
Developer technologies VB
Can't find 'adapter_config.json' for console_chat.py for Windows AI Toolkit
Hello, I cannot run console_chat.py using Windows AI Toolkit. Here is the error: "An error occurred: Can't find 'adapter_config.json' at ..." Is there updated code for the microsoft/Phi-3-mini-4k-instruct project? williamj
Developer technologies Visual Studio Extensions
ingenico CPX10.14 Pad - How to init and read keypad
I have a ingenico Card Reader Pad, and I want to use it as an Input device to read user Pin Number Changes. Any Ideas on best approach? I am not looking to connect to some POS System, I am only looking to use the device as an Input device for a self…
Developer technologies .NET .NET Internet of things
CPU and disk usage values which we get from windows API (Using PDH) is not same as the value we see in task manager
I am currently using the PDH (Performance Data Helper) API to log CPU and Disk utilization data in a CSV file. Below is a snippet of the code I am using: #include <windows.h> #include <pdh.h> #include <stdio.h> #include…
Windows development Windows API - Win32
Windows for business Windows Client for IT Pros Devices and deployment Other
Windows for business Windows Client for IT Pros User experience Other
Developer technologies C++
How to connect to Snowflake using .NET
Hi there, https://community.snowflake.com/s/article/Connect-to-Snowflake-from-Visual-Studio-using-the-NET-Connector Currently, a set of data apis is being developed. The data is sourced from Snowflake and is currently connected through username and…
Developer technologies ASP.NET ASP.NET API
Visual Studio Installer stuck on 0 Bytes
I'm trying to install visual studio 2022 community version on windows 11 but the installer is stuck on 0 B/sec. I've tried using a vpn, turning off firewall, and also adding the ip to the hosts file, but none of these have worked for me. Any help on…
Developer technologies Visual Studio Setup
How to align items in Non Uniform Layout in WinUI3
How to align items using ItemRepeater in a non uniform layout in Winui3. Here i need some of my tile to take 2 times the width
Developer technologies XAML
Get free/used size of a whole disk
Hi On systems with multiple HDD/SSD disks, I need to get the total size and free or used size of the disk which system drive is in. Using MySearcher As New ManagementObjectSearcher("root\Microsoft\Windows\Storage", "SELECT * FROM…
Developer technologies VB
asp.net i cannot install nuGet package
i am trying to install package and it is not working like the item: JQuery-datetimepicker i press install, it is trying like a few minutes, and then it is not installed the same if i try to install Itext7 how i can fix this to be posible to install…
Developer technologies ASP.NET ASP.NET API
Grant access only to a Schema in SQL
Hi All, I have a Database called TM1 and in this database I have 2 schemas. One is called TMS1 and another is called TM1App. There are 5 views under schema TMS1. For Example: TMS1 .View1, TMS1 .View2....TMS1 .View5. These views are reading data from…
Developer technologies Transact-SQL
