54,591 questions with Developer technologies-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

How can I format and round the DateTime.Now to the nearest time on the pc time up or down ?

public void Test() { var datetime = DateTime.Now; var res = RoundUp(datetime, TimeSpan.FromMinutes(5)); } DateTime RoundUp(DateTime dt, TimeSpan d) { return new DateTime((dt.Ticks +…

Developer technologies | Windows Forms
Developer technologies | Windows Presentation Foundation
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,640 questions
asked 2021-10-14T13:43:45.593+00:00
sharon glipman 441 Reputation points
answered 2025-10-17T05:36:34.73+00:00
bruce 0 Reputation points
3 answers

Validate eol of each line of the text file

Hi, I used the way below to validate the eol of each line. How to ensure that I have the validation (by it) against each line of the text file?

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,640 questions
asked 2025-10-08T09:45:21.36+00:00
Peter_1985 2,806 Reputation points
commented 2025-10-17T05:22:04.71+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,455 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

How can convert decimal value into time format as its

How can change to decimal values in to time format as it is without any change in values declare @intime decimal (10,2) = 7.50 declare @intime1 decimal (10,2) = 17.50 declare @breakhrs decimal (10,2) = .45 declare @breakhrs decimal (10,2) = 1.00 …

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,709 questions
asked 2021-02-02T16:11:12.91+00:00
Polachan Paily 226 Reputation points
edited an answer 2025-10-17T05:03:43.4933333+00:00
bruce 0 Reputation points
2 answers

Visual |Studio 15.9.75 not updating to version 15.9.76

I'm trying to update visual studio from 15.9.76 to 15.9.76 using the patch from microsoft catalogue, it installs correctly but shows the old version.

Developer technologies | Visual Studio | Setup
asked 2025-10-06T14:44:19.5366667+00:00
Anderson, Simon (TSS) 0 Reputation points
commented 2025-10-17T04:46:54.9833333+00:00
Susmitha T (INFOSYS LIMITED) 745 Reputation points Microsoft External Staff
1 answer

How does MFC option display the file loader function

Question 1 How does MFC option display the file loader function Question 2 Which class displays the file loader function Question 3 Is the file load function OnFileOpen

Developer technologies | Visual Studio | Setup
asked 2025-10-05T23:40:11.2466667+00:00
Renjie Zhang 65 Reputation points
commented 2025-10-17T04:43:30.8233333+00:00
Susmitha T (INFOSYS LIMITED) 745 Reputation points Microsoft External Staff
1 answer

combability of Windows 12 with Microsoft Visual C++ 2022 Redistributable (x64) - 14.30.30708

IS Microsoft Visual C++ 2022 Redistributable (x64) - 14.30.30708 compatible with Windows 12?

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
4,014 questions
asked 2025-10-10T21:33:56.91+00:00
Santiago Membia Esono Abuy 0 Reputation points
edited a comment 2025-10-17T04:41:33.61+00:00
Susmitha T (INFOSYS LIMITED) 745 Reputation points Microsoft External Staff
1 answer

Add a custom command into visual studio solution explorer context menu with extensibility framework

Need example to add a command to solution explorer context menu with new out-process model.

Developer technologies | Visual Studio | Extensions
asked 2025-10-08T14:27:11.1833333+00:00
Zhang, Victor 0 Reputation points
commented 2025-10-17T04:34:38.23+00:00
Susmitha T (INFOSYS LIMITED) 745 Reputation points Microsoft External Staff
51 answers One of the answers was accepted by the question author.

KB5066835 update causing IIS Service to not work

Recently my local hosted IIS services is not running after the new update. My visual studio projects also can't be run as well. I have to delete the new update in order to run my projects and local hosted services again. May I know what is the problem?

Developer technologies | ASP.NET | Other
Developer technologies | ASP.NET | Other
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
3,617 questions
asked 2025-10-15T10:06:37.1166667+00:00
Sashi Kumar 230 Reputation points
answered 2025-10-17T04:34:03.1366667+00:00
Predhin Tom Sapru 0 Reputation points
1 answer

Can not make a Entity code-first migration at designtime

I would like to run add-migration at design-time on a simple C# application. Model: [Table("Feature")] public class Feature { public int Id { get; set; } public string? Priceclass { get; set; } public decimal…

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,640 questions
asked 2025-10-16T20:58:51.3033333+00:00
Jørgen Vig Jensen 0 Reputation points
answered 2025-10-17T03:06:52.4066667+00:00
Starry Night 520 Reputation points
0 answers

Private app stuck at "Waiting to install" on MS Intune. Happening on newly enrolled android tablet devices. Updates fine on devices where it was previously installed. Why is this happening?

Private app stuck at "Waiting to install" on MS Intune. Happening on newly enrolled android tablet devices. The app updates fine on devices where it was previously installed. Why is this happening? Also got this error when it finally changed…

Developer technologies | XAML
Developer technologies | XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
866 questions
asked 2025-10-17T02:16:00.5133333+00:00
Eriberto_admin 0 Reputation points
0 answers

Remove item from list view

I'm able to get my code to execute the OnDeleteCommand but I can get the correct code to remove the line I think the one issue is FilterList is readonly but is only way I can get the Func<FilterList, bool> code to work FYI The SaveOK code is a…

Developer technologies | .NET | .NET MAUI
asked 2025-10-16T17:11:51.63+00:00
tim 220 Reputation points
edited a comment 2025-10-17T01:41:02.82+00:00
Starry Night 520 Reputation points
1 answer

Error in VS Designer in c#

Call is ambiguous between the following methods or properties Form1.button1_Click(object,Eventargs) and Form1.button1_Click(object,Eventargs)

Developer technologies | Visual Studio | Setup
asked 2025-10-16T14:43:31.6+00:00
Ken Lowe 0 Reputation points
edited the question 2025-10-16T22:41:54.9733333+00:00
Gérard Oomens 110.6K Reputation points Volunteer Moderator
1 answer

Learning and integrating AI with .NET

Hi, I'm a junior back-end developer in .NET. Nowadays I wanted to learn and integrate AI to my project, but I'm confused. Should I learn phyton and integrate AIs that were written with phyton, or start using ML.NET? I want my product or project to be…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | .NET Machine Learning
Developer technologies | .NET | .NET Machine Learning
.NET: Microsoft Technologies based on the .NET software framework. Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
162 questions
asked 2024-10-16T15:59:55.2233333+00:00
Atilla Rüstəmli 60 Reputation points
answered 2025-10-16T22:37:11.2133333+00:00
Samuel Lima 0 Reputation points
1 answer

How to get web browser's height in Blazor Server without JavaScript usage?

I wonder whether or not ASP.NET Core SDK for Blazor Server has a method or property that returns height of web browser unless JavaScript is used. To illustrate: @code { uint GetBrowserHeight() { // assume that Browser is a class in .NET,…

Developer technologies | ASP.NET | ASP.NET Core
asked 2025-10-16T18:31:32.7633333+00:00
MOON 60 Reputation points
edited an answer 2025-10-16T22:35:13.5766667+00:00
Bruce (SqlWork.com) 80,926 Reputation points Volunteer Moderator
0 answers

Developer Tenant blocked (AADSTS5000225) – Request new sandbox or unlink old tenant

Hello, my previous Microsoft 365 Developer Program tenant has been deactivated and shows error AADSTS5000225 when signing in. The “Set up E5 Developer Subscription” button no longer appears in my dashboard. Could you please unlink or reset my old tenant…

Developer technologies | VB
Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
2,907 questions
asked 2025-10-16T22:28:09.9466667+00:00
Andreas Flik 0 Reputation points
2 answers

Build and run Maui app from dotnet cli on mac

I have dotnet 10 installed on my mac. Running dotnet --version yields this: 10.0.100-rc.1.25451.107 I have also installed the sdk, but when I run dotnet build -t:Run -f net10.0-ios I get this error: MyMauiApp net10.0-ios failed with 1 error(s) (0.2s) …

Developer technologies | .NET | .NET MAUI
asked 2025-09-29T18:42:08.6366667+00:00
Brad Rice 20 Reputation points
edited a comment 2025-10-16T19:54:34.4566667+00:00
Brad Rice 20 Reputation points
2 answers

How do I use an API from a Blazor client-side application??

A few months ago, I started a new ASP.NET Core project, using .NET 9, to rewrite an old WebForms app. I have used Minimal APIs in other projects, with success, so I thought I would use a Minimal API project in this Visual Studio solution. I wanted to use…

Developer technologies | ASP.NET | ASP.NET Core
asked 2025-10-15T17:27:40.65+00:00
Falanga, Rod, DOH 290 Reputation points
commented 2025-10-16T19:43:09.78+00:00
Falanga, Rod, DOH 290 Reputation points
1 answer

How to add a proper customxml to a powerpoint presentation

Hey guys, with the 1.7 version of the OfficeJS PowerPoint-API the support for customxmls has finally been introduced. If we now use the new method to add a customxml through OfficeJS and try to read it back afterwards everything works perfectly fine.…

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,640 questions
asked 2025-10-16T11:56:37.6266667+00:00
Marquito 0 Reputation points
edited an answer 2025-10-16T18:25:18.03+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,455 Reputation points Microsoft External Staff
0 answers

My Visual Studio monthly rental never opens.

Why do i always have to pay to get VB to run. I have a monthly subscription.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
5,516 questions
asked 2025-10-16T17:14:59.54+00:00
Art Long 0 Reputation points
commented 2025-10-16T17:40:16.83+00:00
Viorel 124.9K Reputation points
1 answer

Update SharePoint multi choice field programmatically

Need help with updating a multi-choice field in a SharePoint List using VBA. Key points: I'm using an ADODB.connection object to update a SharePoint list. I am successful opening the connection, building the necessary SQL Update command and running…

Developer technologies | Visual Basic for Applications
asked 2025-10-09T22:56:50.41+00:00
Tom Weir (CONTSBW) 20 Reputation points
commented 2025-10-16T17:40:15.6+00:00
Tom Weir (CONTSBW) 20 Reputation points