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.
C# win form sending a message on telegram to a pr. channel exception error
Sending a message to a private channel on Telegram, not sure why I get exception message when running code. I attached 2…
Developer technologies | C#
error after visual studio update
error The designer could not be shown for this file because none of the classes within it can be designed when update visual studio to Version 17.14.0
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.
Explain syntax items
The following code items are used inVBA: &, "", "~$" are hard to find simple explanations or clear examples. Can you help explain there use.
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.
How to use SQL Data Reader
I'd like to perform a select that returns 3 rows, each row with a code, and then use a sql data reader in C#. Do you have a snippet that does that? Im not sure how to submit my code example without this app blowing up on me! I'm using VS 2022, and a…
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.
Missing photos Description in Photos after Graph Request
My App is a C# .NET App For many years, I have been retrieving a list of photos stored in a published OneDrive folder for my Photo Dia app via Graph Request. The request URL: https://graph.microsoft.com/beta/me/drive/items/IDItemFolder/children I…
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.
Memory issue due to Hash set
Hi, Further to handle with Hash Set, I got memory issue below It must be due to the big set used. Here are the codes.
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.
Issue to Hash set
Hi, To the codes similar to the following, can I put the conditions and also to extract a substring from one given text file?
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.
C# windows Form Project, in laptop touch screen form shrinks and moves when reloads
I have Windows Form Project targeting old net framework 4.8, In my project I have to reload a form on certain conditions, so on my PC computer everything working normally but when testing on laptop touch screen the form shrinks and moves when…
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.
Compare the similarity of 2 given addresses
Hi, The way below is good to compare the similarity of 2 given addresses? We expect to achieve that while 80% of the words (in the different position) are appearing well within both strings. Possible to achieve that? Or any other better to do that?
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.
C# SCROLLINFO not working on Chrome window
I am attempting to retrieve scroll information from the window handle, but I keep getting a value of 0. I am pursuing this approach because my goal is to capture a complete scrolling screenshot of the window. The intention is to enable automatic…
Windows development | Windows API - Win32
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
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.
How to get monthly order count by status in a Blazor Server application?
Hello, I am working on a Blazor Server application and need to find the number of monthly orders that are either completed or continue based on their status. I have a query that works for a specific year and status, but I need to refactor it to accept…
Developer technologies | .NET | Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
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.
what is the difference between constructor and properties
i mean in case we should declare a field as private is it better to declare a public property or using constructor? why? and if NO what is the usage of property? thank you very much :)
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
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.
Code issue to check the file correctly
Hi, On VS, I used the code like to validate one text file like https://1drv.ms/t/c/17ec75244bac022f/IQAv8sYzgXglT6bKMX4jK8FkAbKw3lgfAxDf9rlJNLMgDR0?e=gXMrqB it is wrong now as it does show the above message even if all lines are having CR LF. How to…
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.
conformance to ECMA-334 or ISO/IEC 23270
Does Microsoft’s C# compiler within Visual Studio Community conform to the standards described in ECMA-334 and/or ISO/IEC 23270?
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.
How to deploy outlook template after insert data and use data info in subject and body
hi All... I have some question here. 1 have text box, drop down, check box and a button. Data Input TxtBox Data Input : Animal Drop down Input : Veterinar Dept Button check box on : send email Button to insert data When I click Button and check on, data…
Microsoft 365 and Office | Development | Office JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
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.
Developer technologies | ASP.NET Core | Other
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Request: Settings option to revert cw snippet shortcut
Why change the cw snippet to Tab + Tab? Having to hit Tab twice instead of just hitting Enter completely kills years of muscle memory for Console.WriteLine(). It feels incredibly clunky and frustrating to use now. Please let us toggle this back to the…
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.
How to solve System.NullReferenceException?
Hello, I want to Insert data into a MySQL table through a WCF service. My app is a WPF application. I can insert through Mysql and through WCFtestClient, but when I try to insert data from WPF app I get this error. How to check in details to see what is…
Developer technologies | Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
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.
Security issues if I use a encrypted value as a Query string that I send to users and then decrypt the value and validate on link click?
I'm working on a project where we will need to send out links to a large number users and each is assigned a unique combination of numbers and letters to identify them in our system. My task it to come up with a way we can use just the link we send them…
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.
Creating a new List<int>() throws a NullReferenceException.
The following code throw a NullReferenceException on the hightlighted line: using IS0AUTTSTContext db = GetDbContext(); List<TestRun> list = db.TestRuns.Where(t => t.ID > 0 && t.Definition!.Application!.Deleted == false).ToList(); …
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.
How to dynamically assign property names for XmlOnlyMediaFormatter
I have been given an ASP.NET project to handle. It has been released and has worked fine. I am not an ASP.NET developer but doing what I can. The issue: The project is a webservice among other things. The solution (VS 2019) has 6 projects. One is the…
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.