C++/CLI project with C++20 Standard
Hello, I got this compilation warning from a CLI project with C++20 standard setting: 1>c1xx : warning C4857: C++/CLI mode does not support C++ versions newer than C++17; setting language to /std:c++17 Will there be a support for C++20 and…
Scheduled task executes but not calling console exe
I have created an console application on my personal windows 10 laptop (having admin rights) using .Net Framework 4.5.2 which performs conversion of .csv/.xls/.xlsx file to .pdf. Application contains configurable paths in config file and also a class…
Create and run a new cloud function when a VM is not connected to any network
I have a question regarding func command. I am doing a test to see if we can create and run a new cloud function when a VM is not connected to any network. (the Azure Core Tools is already installed) After disconnecting the VM from network, when I…
Localization or globalization of the windows application
I am working on a windows application which need to localized to spanish language . Once localization is done while testing the tool screen reader the contents are available in spanish visually but when we chewck them with screen reader thne contents are…
az cli on Windows cannot run any commands
Using this az cli version : azure-cli 2.33.0 * core 2.33.0 * telemetry 1.0.6 Extensions: application-insights 0.1.14 arcdata Unknown msal 1.16.0 azure-mgmt-resource 20.0.0 Python location 'C:\Program Files (x86)\Microsoft…
.NET console application
Hello, how can i detect if i start a net console application in cmd.exe or form explorer.exe?
How do I test and package a C++ header only library?
To start, I am frustrated and have tried many, many things. This is with regards to the following repo: https://gitlab.com/anadon/prime_generator_header . As it stands, I have ~6 different terminals (cmd, v1 Powershell, v7 Powershell, the cmd that…
System.Windows.Forms.ni.dll fails to run program
My program is running on my host Win10 PC, but not on my remote Win10 PC. I don't know what the difference is between the two. I compiled the code using .NET 4.5 framework on VS2017. The binaries range from C# to C++/CLI. Both copies of the software,…
.Net 6 Console application inject ILogger
Hi, I'm writing simple console application and I have solution and two project in first project I've Program.cs and CallerRestHttp in second project I've few class where I have generic implementation for HttpClientFactory. What I want to…
UI Option missing when adding new item.
I'm using the latest version of Visual Studio 2022 as of 11/8/22. I created a winform app for visual c++ cli. Desktop development with C++ and .NET desktop development workloads are installed. I have no problem working with the main form,…
keyshortcuts not working in my windows application using c#
In my windows application if i Press CTRL + 1 on particular link a video will be played in the browser based on the link now it is not working all of a sudden refer the code below foreach(HtmlAgilityPack.HtmlNode video in videos) …
c# fourms get live output from cmd line by line
good evening all, i have been working on getting output from cmd however, i was wondering if there was a way to get output from cmd one line at a time instead of it doing all the lines in one and reporting all at once. System.Diagnostics.Process p = new…
How to open a new word document programatically using c# ?
I want to open a new word document in my windows application using C #. Kindly suggest me an method. Thanks in advance.
We are building a Winform app on DotNetcore 6 but the app is not adjusting to different screen resolutions
We are building a Winform app on DotNetcore 6 that need to work on laptops but the app is not adjusting to different screen resolutions even though we have utilized anchor and dock properties of the winform controls. Since the app works fine on…
how to do this ? Word file should not quit untill instructed using c#
Using C# how to achieve this or implement this feature. For my windows application a word or excel file will open based on the conditions and once opened the user will do some changes in the file like editing and adding a new contents to it and it…
Simple Snake Game - Snake Head is not moving after ReadKey()
The snake head 0 does not move anywhere when Console.ReadKey() happens. Here is the full code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; …
How to get the probability/score by each cell/row with machine learning?
I have go through the solution in the forum but couldn't find a suitable solution for my question. I have use machine learning model to get the best algo for data modelling. I manage to get the confusion table but somehow i looking for…
class that can only be instantiated with the using keyword
Hello dear users I'm new to c# and .net. I have a problem. I want to create a class. this class have a option. When you want create instance my class you must to use the "using" keyword. it will force you to use the keyword. ]2 some class…
How to know if 2 ASCII created lines in a command prompt has the same length?
Is there a way to know if these 2 lines have the same size in pixels aka length? What code should I use to determine if they have the same length or not? Just because these perpendicular lines created with ASCII, they differ in length size according…
How to resolve "Input string was not in the correct format" error
Greetings experts, I have checked out some of the suggested solutions but none appears to help my problem. I have a fieldname called caseNumber with Smallint data type in sql server database. When I use the following line in my c# code: …