23,766 questions with .NET-related tags

Sort by: Updated
0 answers

Error 429 only if Outlook is already open when try to automate an email

Good day Gurus of .Net Since I started trying to get my app to be option strict compliant, I've suddenly started getting error 429 Unable to create active x component BUT only when Outlook is already open. I have the following code to get an instance of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,908 questions
asked 2024-04-18T12:05:49.05+00:00
Hugh Self Taught 81 Reputation points
0 answers

Need help with a problem in my Blazor .NET 8 server application

I'm facing an issue and I'm not sure who to ask for help. Could you please provide me with some suggestions? I've been unable to find my mistake despite my research.I've implemented user authentication in a Blazor .NET 8 server application, where I'm…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,374 questions
asked 2024-04-18T11:18:23.39+00:00
Esma 0 Reputation points
commented 2024-04-18T11:57:16.06+00:00
AgaveJoe 26,181 Reputation points
4 answers

Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,374 questions
C#
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.
10,193 questions
asked 2022-03-29T14:57:37.95+00:00
Gábor Varga 26 Reputation points
commented 2024-04-18T11:41:02.26+00:00
Develter, Filip 0 Reputation points
0 answers

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
256 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 15 Reputation points
commented 2024-04-18T11:16:58.71+00:00
Kyle S 10 Reputation points
1 answer One of the answers was accepted by the question author.

Outlook as late binding with Option Strict ON

Hi Gurus, In an attempt to switch Option Strict to ON I've been correcting the errors & forgot that I hadn't dealt with Outlook. My current code is old VBA based late binding to avoid Office version issues. All the reading I've been able to find all…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
2,908 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,117 questions
asked 2024-04-02T11:21:05.99+00:00
Hugh Self Taught 81 Reputation points
commented 2024-04-18T11:11:54.1233333+00:00
Hugh Self Taught 81 Reputation points
1 answer One of the answers was accepted by the question author.

How to create borderless entry in iOS- maui .Net 8

I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-01T02:51:09.47+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:39:48.9966667+00:00
Vaibhav Methuku 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to change color of item in a list on Mouse hover.?

I'm having a list of item, Whenever any item is selected in that particular list changing the particular color of the item using a trigger. please find the below code. <DataTemplate x:Key="SiteTemplate"> <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-01T08:23:09.02+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:39:27.8+00:00
Vaibhav Methuku 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to create a alert in MAUI - Platform specific - Android.

Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-17T11:42:25.1566667+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:38:34.1433333+00:00
Vaibhav Methuku 0 Reputation points
0 answers

how can add data using for loop

I want to insert some array data into the database. Here using for loop. The problem is - I want to keep the InvoiceNO related to the OrderNumber change. For example, if the OrderNumber changes, the InvoiceNO will also change. I have shown it in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-18T10:36:25.6733333+00:00
jewel 701 Reputation points
commented 2024-04-18T10:37:01.9366667+00:00
jewel 701 Reputation points
0 answers

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
0 answers

PresentationFramework problem

I'm developing an app on VS2022 C# .NET4.5.2 WPF upgraded to .NET4.8 After the upgrade when running the .exe file on WIN11 I get the following error: "Not possible to load th efile or assembly 'PresentationFramework', Version 3.0.0.0,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
C#
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.
10,193 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
959 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,092 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
1 answer

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,686 Reputation points
edited an answer 2024-04-18T09:58:09.9033333+00:00
Khaled El-Sayed Mohamed 1,060 Reputation points
1 answer

how to pass data from child table to controller

I got stuck in a tricky problem. I can't find the solution anywhere. Clicking on the row of my datatable opens the child table. Checkboxes are attached to both parent table and child table. Clicking the DataTable checkbox(name="Selectall"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-17T10:40:31.2233333+00:00
jewel 701 Reputation points
edited an answer 2024-04-18T09:39:44.9966667+00:00
Brando Zhang-MSFT 2,796 Reputation points Microsoft Vendor
1 answer

Microsoft point of sales for .net solution's can't create new PosExplorer Object

I'm Trying to use Microsoft point of sales for .net 1.14.1 version and trying to use it's Cash drawer capabilities for my Windows form application. But when i'm trying to create PosExplorer new object it throws "System.NullReferenceException:…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
asked 2024-04-17T12:11:00.1366667+00:00
Lasitha Lankajeewa 0 Reputation points
answered 2024-04-18T09:36:23.16+00:00
Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
0 answers

Intermittent slowness in website

We have a website that is accessed through the web and also through the android apps given to the sales team. It mostly works fine, and the response is also fast. Of late we noticed (could have been happening earlier also, may have gone unnoticed), but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,630 questions
asked 2024-04-17T05:47:51.56+00:00
Hardeep Singh 0 Reputation points
commented 2024-04-18T09:31:55.0766667+00:00
Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
0 answers

How to handle long operation using Task

Hi, How to handle long operation using Task taht can take few minites? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T09:03:18.3066667+00:00
דני שטרית 2,686 Reputation points
commented 2024-04-18T09:03:52.93+00:00
דני שטרית 2,686 Reputation points
0 answers

CoreMessagingXP.dll crash

Hello, I am maintaining a .NET application with a WinUI3 UI which sometime crashes. In the event viewer I see that the crash is caused by CoreMessagingXP.dll but I have no idea about the real cause of the problem since I see the application crashing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
C#
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.
10,193 questions
asked 2024-04-18T06:49:47.9733333+00:00
Mario Raffin 0 Reputation points
commented 2024-04-18T08:50:05.9833333+00:00
Mario Raffin 0 Reputation points
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,341 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,665 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-04-18T08:41:49.4366667+00:00
Hui Liu-MSFT 37,946 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 21 Reputation points
accepted 2024-04-18T08:40:51.2833333+00:00
Prash 21 Reputation points
1 answer One of the answers was accepted by the question author.

Is control.TrayLocation in resource file is really required?

whenever I add a non visual control(tooltip, dataset etc) to windows form, an entry control.TrayLocation gets added in the resource file. is it really required? is it okay to delete this entry before checking-in into source control?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-18T05:31:12.0666667+00:00
Prash 21 Reputation points
accepted 2024-04-18T08:38:51.3533333+00:00
Prash 21 Reputation points