Category "visual-studio"

How to declare scalar variable?

I get this error: System.Data.SqlClient.SqlException: 'Must declare the scalar variable "@refSlips".' Code: SqlConnection con = new SqlConnection(connectionSt

Cannot change thread mode after it is set

I have a C# app that I haven't worked on for a while. The last time I worked on this was with Visual Studio 2019. It still opens and runs in debug mode with VS

How to open db.sqlite3 in Visual studio for django project

I want to use the db.sql 3 but when I open it is not reading the file. Moreover, I also downloaded SQLite extension but when I again click on db.SQLite 3 is not

IIS - Access denied to directories and files on the novell network

I'm trying, through the action of a button on my website, to open a file that is on my company's network. Running the application only through visual studio, th

Why does my Clear TexBox command makes the rest of my number in the listbox zero?

Every number is zero. Hi, I’m fairly new to VisualStudio and I have this problem in my code: What I have to do, is to fill an array (all the variables hav

Visual Studio 2022 Crashes when Adding SqlDataSource using any MS Access Database in ASP.NET C# Web Project

When adding a "SqlDataSource" using any version of MS Access database the app simply crashes when you "Test Connection". This happens in the designer when usin

Visual Studio 2022 + Xamarin iOS App - Unable to launch app on Mac/attached iPhone

My environment is as follows: Visual Studio 2022 v.17.1.5, running on Windows 11. Xcode v.13.3.1, running on macOS Monterey v.12.3.1. iPhone 8 connected via USB

Returning a struct pointer from class method

EDIT: Changed example code to code from my project that doesn't work. I'm writing code in C++, learning templates and got stuck with some problem. There's a cla

Visual Studio 2019 & 2022 (Preview) not finding .NET 6 SDK on launch - mac osx

I'm trying to run a C# .NET Core project locally on Mac and encountering some issues both on Visual Studio 2019 and 2022. Firstly, every time on loading up the

Checking the last accessed files on Windows 10 in C++

I'm writing a small tool to help my workflow as an artist, and it'd be neat if it could check a list of recently accessed files on my computer for a *.psd (phot

I've made a code for a assignment but i need a push in the right direction [closed]

i need your guidance for this assignment: At TEC Ballerup Stadium with room for 500 spectators, football matches are played every Sunday at 10

What is atltime.h in MFC

Can someone will explain to me What is atltime.h ? I don't know how this header works. I tried to search it on google but i didn't get an answer of what atltime

Handled exception causes an AccessViolationException

I would like to ask for help with a C# API Project, to be more specific, an exception that have been giving issues for some pretty long time now. Currently the

Can I programmatically attach a running .NET 6 process to a running instance of Visual Studio debugger?

I'm debugging an IPC logic where one .NET 6 processes is launching another, and I can't get to debug both within the same Visual Studio 2022 instance. When the

Best way to store SQL scripts and Power BI files in Azure Repos

I would like to know what would be the best way to keep and transfer my SQL Server database scripts (views, trigger, ...) and my files (dataset and reports) fr

Visual Studio, Maui, dotnet publish. Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod

When publishing Maui (preview 14) App in Visual Studio 2022 (Preview 2.1) connected to Mac Mini (M1) the publishing fails on code sign, but it seems to be some

weird visual studio to linux results

I have this project where we have to convert a made up simple coding language given through a txt into a c++ language and currently I am having a problem with c

VB.Net Public Property Return Blank Value

I'm New in Programming, i can't identify some bugs/error if the Application doesn't tell me where's the error is. So the case is i Code Public Property in purpo

Print() statement in Python3 resets when inputting a variable--Visual Studio Community Edition

So, I am learning Python3 and have made use of Visual Studio Community Edition for other languages, such as C# and C. In these, you can do a "WriteLine(my_varia

VS2022 Configure Azure keyvault not seeing local secrets.json

I want to build an new .net core console application using the Azure KeyVault. I use the connected services wizard and select azure keyvault. It recognizes the