24,360 questions with .NET-related tags

Sort by: Updated
2 answers

How can I open Microsoft Excel in Visual Basic.NET

I am using Visual Studio 2023 for using Visual Basic. I have latest version of Microsoft Office. I want to open Excel using Visual Basic (not VBA). Please tell me how to go about it. It is very important for me.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,479 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,613 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,602 questions
asked 2024-06-02T16:30:14.32+00:00
Rajendra Deshpande 0 Reputation points
answered 2024-06-03T07:53:34.8033333+00:00
Jiachen Li-MSFT 27,411 Reputation points Microsoft Vendor
0 answers

Error AMM0000 after updating Android project to .NET 8.0 and Android Target OS Version 34.0

I get many errors after updating my Android project to .NET 8.0 and Android Target OS Version 34.0. I use Visual Studio Version 17.10.1 on my Windows 11 laptop. Error…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-01T13:39:25.6066667+00:00
Kim Strasser 666 Reputation points
commented 2024-06-03T07:43:25.4266667+00:00
Kim Strasser 666 Reputation points
2 answers One of the answers was accepted by the question author.

How to assign value from session upload file into upload posted file again

i am trying to save uploaded file after some big process. i am saving uploaded file in session to retain the file upload data. i.e : uploaded file will be saving into session variable. after saving to session upload file will be cleared. but, the upload…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,417 questions
asked 2024-05-31T18:44:51.0666667+00:00
Gani_tpt 1,826 Reputation points
accepted 2024-06-03T07:41:52.6766667+00:00
Gani_tpt 1,826 Reputation points
1 answer

Will VS2022 17.9 get updated for .Net 8 and 6 servicing updates released on May 28?

Components installed with VS2022 (e.g., .Net 8, .Net 6) are not shown separately in Windows settings for Apps or control panel's Programs and Features. These components have been updated as needed through the monthly patch Tuesday updates to VS through…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,479 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,724 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,135 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.
982 questions
asked 2024-05-29T11:38:25.6966667+00:00
RLWA32 41,456 Reputation points
commented 2024-06-03T07:38:54.3666667+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
1 answer

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 2,906 Reputation points
commented 2024-06-03T07:18:39.3133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
0 answers

Register close button in mac

Hi, In window i did, how to do it in mac ? builder .UseMauiApp<App>() .ConfigureLifecycleEvents(events => { #if WINDOWS events.AddWindows(windowsLifecycleBuilder…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-02T07:04:04.6633333+00:00
Dani_S 2,906 Reputation points
commented 2024-06-03T07:18:05.5333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
0 answers

How do I override the default Blazor scaffolding template in Visual Studio 2022

I want to edit the scaffolding template for Blazor CRUD pages, but my changes to the template are not being reflected in the output. I tried researching this issue, and the closest answers I could find are how to edit Razor templates, or MVC component…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 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,436 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,724 questions
asked 2024-05-28T21:54:43.2466667+00:00
Andrew Karpinski 0 Reputation points
commented 2024-06-03T07:12:48.24+00:00
Brando Zhang-MSFT 3,116 Reputation points Microsoft Vendor
1 answer

App crashes after throwing an error ' Window was already created'

Platform : Android Version : MAUI 8 Description : I was trying to invoke platform specific code by implementing broadcast Receiver for android, When I tried to register the receiver onResume( ) , app crashed with an error "Window was already…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-29T09:32:36.64+00:00
Manickam, Suraj 260 Reputation points
commented 2024-06-03T07:11:15.36+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
1 answer

How to customise global window closing prompt in a .NET MAUI application

I am working on a .NET MAUI project for desktop, I found a global solution for prompting a user before closing the application here. I would like to know if this can be customised and triggered conditionally when closing. For example: I have an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 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,417 questions
asked 2024-05-28T08:55:28.29+00:00
Arturs Pramalts 0 Reputation points
commented 2024-06-03T07:08:10.85+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
1 answer

MAUI: What is the difference between GoToAsync() and PushAsync() to navigate between pages?

What is the difference exactly between using await Shell.Current.GoToAsync Route Relative/GoBack with (..) Single instance?? await Shell.Current.Navigation.PushAsync(Use NavigationPage) - similar to prism or Xamarin Forms…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-26T10:02:39.0233333+00:00
honggyu kim 0 Reputation points
commented 2024-06-03T06:58:44.88+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
1 answer

.net maui MVVM exit button wont file but collection button does. what did I miss?

I'm converting a xaml app to .net maui. I'm not able to find where I'm missing code that is keeping the button from firing the exit code in my viewmodel. i've compared the code for the exit page to my collection page ( In which the button works) but I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,724 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-20T14:54:19.5166667+00:00
tim 140 Reputation points
commented 2024-06-03T06:53:12.67+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
1 answer

MAUI Unique Device Identifier ID

I am looking for a Unique Device Identifier ID for Android and iOS. Is there any code for that ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-15T10:42:58.6333333+00:00
Etien Ducka 30 Reputation points
commented 2024-06-03T06:47:45.2233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,724 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-06-03T06:43:07.3333333+00:00
Minxin Yu 10,441 Reputation points Microsoft Vendor
2 answers

How to make readonly in Gridview textbox calendar controls in Footer Template

I am developing web based application. i used gridview and it contains Footer Template for input entry. almost i done all the functionality. but, for the validation especially for footer template i need help to solve this. how to make readonly gridview…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,417 questions
asked 2024-05-31T12:18:46.3566667+00:00
Gani_tpt 1,826 Reputation points
answered 2024-06-03T06:39:38.1533333+00:00
Lan Huang-MSFT 26,916 Reputation points Microsoft Vendor
0 answers

How to achieve a right-to-left Flyout menu using the .NET MAUI Shell App project?

I am currently working on a project using .NET MAUI Shell App template. As part of this project, I need to implement a right-to-left (RTL) Flyout menu to better cater to RTL languages. Despite various attempts to achieve this, I have not been…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-31T21:32:37.07+00:00
Riziq Hashem 0 Reputation points
commented 2024-06-03T06:37:30.2933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,191 Reputation points Microsoft Vendor
3 answers

Change height of the snackbar in dotnet MAUI Android

Hi, Does anyone know how can i change the height and the padding of the snackbar in dotnet maui Android? var snackbarOptions = new SnackbarOptions { BackgroundColor = Colors.LightGray, TextColor = Colors.Green, CornerRadius = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-11T10:08:49.3533333+00:00
ALEXANDRUSTEFAN CRACEA 0 Reputation points
commented 2024-06-03T06:34:56.4266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
1 answer

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
commented 2024-06-03T06:23:13.8533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Unable to create a DbContext' Error when Using EF Core in .NET 8 ClassLibrary Project

Hello everyone, I've developed a ClassLibrary project using .NET 8 and C#, and I've utilized EF Core 8 in it. I've defined my own models and context within it. However, when I attempt to use the add-migration command, I encounter this error: "Unable…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
708 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,479 questions
asked 2024-06-01T01:35:11.9766667+00:00
Kamyab Faghih 20 Reputation points
accepted 2024-06-03T06:19:13.0333333+00:00
Kamyab Faghih 20 Reputation points
0 answers

Search bar corrupted in MAC

Hi, In windos it works but in MAC is corrupted, why? <HorizontalStackLayout Grid.Row="1" Grid.Column="0" Margin="10,10,0,5" HorizontalOptions="Start"> <SearchBar x:Name="searchBar"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-02T09:47:40.4066667+00:00
Dani_S 2,906 Reputation points
edited the question 2024-06-03T06:18:39.4533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
1 answer

MAUI Splashscreen

How to create custom splascreen in .net maui?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,479 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-30T07:46:16.76+00:00
Yogita Magdum 0 Reputation points
commented 2024-06-03T06:09:09.15+00:00
Yogita Magdum 0 Reputation points