25,604 questions with .NET-related tags

Sort by: Updated
2 answers

How to call the Java based Oracle BI WebService using C#

How to call the Java based Oracle BI WebService using C# The URL provided to us is something like this : **https://abcdef.oraclecloud.com:443/xmlpserver/service/wsservice?wsdl here abcdef is just a dumy name i gave instead of actual server name

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
asked 2021-01-18T17:19:20.34+00:00
Surendiran Balasubramanian 1 Reputation point
commented 2021-01-22T08:36:20.79+00:00
Peng Ding-MSFT 96 Reputation points
0 answers

Shiny Notifications when the app is closed or restarted

I want to use this library https://github.com/shinyorg/shiny to create local notifications, could someone tell me ifs cheduled local notification are generated even when the application is closed or the phone is restarted? I don't see anything in the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2021-01-21T15:15:02.6+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2021-01-22T08:19:05.733+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
0 answers

Reenterant code in xamarin.Forms project nulling out local varibles.

Okay, I've asked this before, and gotten a few work arounds that seem to work, but I would like to know what is happening here, and if there is any way I can prevent this from happening? When I load a page in the Navigation stack, it is calling the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 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,858 questions
asked 2021-01-22T05:47:32.34+00:00
Jesse Knott 686 Reputation points
commented 2021-01-22T08:16:00.563+00:00
JarvanZhang 23,951 Reputation points
1 answer

Xamarin.Essentials.WebAuthenticator and Dropbox

I don't seem to be able to find the correct combination of settings to use WebAuthenticator to login to Dropbox (API). Has anyone been able to get this to work? If so, how is the value set for the redirect uri in the Dropbox app configuration and what…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2021-01-21T17:46:11.627+00:00
Brian Waters 1 Reputation point
answered 2021-01-22T07:44:49.55+00:00
JarvanZhang 23,951 Reputation points
1 answer

Sytem.Windows.Forms.TextBox Keydown Event e.handled not working as expected.

Hi MSDN Forums, We have checked Sytem.Windows.Forms.TextBox Keydown Event when we press a backspace it working(selected text deleted) for both e.handled=true and e.handled=false and also please let us know how to handle the textbox backspace key and A…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 questions
asked 2021-01-22T05:37:22.447+00:00
Balamurugan Thirumalaikumar 1 Reputation point
answered 2021-01-22T07:29:59.807+00:00
Daniel Zhang-MSFT 9,626 Reputation points
1 answer One of the answers was accepted by the question author.

bind chart data to datepicker to show custom timeline

Hello all , i a very new to c# I have created a bar chart & some labels in my WinForms application , by connecting them to MSSQL stored procedure as the data source , but i remembered i needed to provide a date picker function (from and to) and…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 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,858 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,626 questions
asked 2020-12-18T06:13:25.76+00:00
ravi kumar 331 Reputation points
accepted 2021-01-22T07:00:27.343+00:00
ravi kumar 331 Reputation points
3 answers

.NET 5.0 BinaryFormatter

Hello, I have a dataset with some datas (60 tables 30 relations) and that I must transfer it to another application (it is a cache file made when connected on a server and used locally when there is no connection possible). With .NET 4.6 (and so on) all…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
asked 2021-01-19T05:22:36.133+00:00
Marc Al 206 Reputation points
commented 2021-01-22T06:41:25.303+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,641 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

retain previous value of text box till the form is closed

Hello all , I am very new to c# , and learning to make data entry application, in my entry form when the user clicks save all the data text boxes are refreshed and saved to database and the text box appears empty to enter gain. This is a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 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,858 questions
asked 2021-01-22T04:50:22.593+00:00
ravi kumar 331 Reputation points
commented 2021-01-22T05:42:16.163+00:00
ravi kumar 331 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin forms: ImageCropper.Forms: How to remove the multiple pop-up and how to get the stream & path value of the final image?

I am using ImageCropper.Forms for cropping the image selected from the camera and gallery. I have 3 options for changing a profile picture; Take Photo, Upload from Gallery and Select Avatar. So for showing the Media options I am using a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2021-01-21T10:24:34.67+00:00
Sreejith Sree 1,251 Reputation points
accepted 2021-01-22T04:41:38.727+00:00
Sreejith Sree 1,251 Reputation points
2 answers

how to change the background image of a grid or the image of a picturebox

I already tested this method. My.settings.back = openfiledialg.Filename Our My.settings.back = New BitmapImage(New Uri(openfiledialg.filename)) 'Click event Picturebox.source = New BitmapImage(New Uri(my.settings.back)) grid.backgroud = New…

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,762 questions
asked 2021-01-17T18:25:56.133+00:00
Kairo Martins 21 Reputation points
commented 2021-01-22T02:42:58.83+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

Blazor Startup Class

I'm looking at Blazor Server app and in particular exploring the auto-generated source code. I have found that renaming the methods in Startup class causes an exception and the app won't load. The Startup class is passed to the host only in the form of a…

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,559 questions
asked 2021-01-20T18:05:22.507+00:00
S Chapman 82 41 Reputation points
commented 2021-01-22T01:55:38.927+00:00
Yinqiu Yao-MSFT 236 Reputation points
0 answers

How do I determine if an SMTP server "advertises" StartTLS?

WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, WinForms MY PROBLEM: I am using SmtpClient to send emails, and the documentation says that if EnableSsl is True when the server doesn't advertise StartTLS, an SmtpException is thrown. I'd like to handle…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,715 questions
asked 2021-01-21T02:12:22.607+00:00
Robert Gustafson 606 Reputation points
commented 2021-01-22T01:28:59.827+00:00
Xingyu Zhao-MSFT 5,366 Reputation points
3 answers One of the answers was accepted by the question author.

How to replace Cursor with Path geometry on DragOver/DragEnter

I've a Custom Control, DropBox based on ListBox, and it lets me drop one or more files. When I select one or more files and drag those over the DropBox, Cursor becomes a square and it doesn't matter whether the dragged item is valid, it always turns into…

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,762 questions
asked 2020-11-23T10:16:16.993+00:00
Emon Haque 3,176 Reputation points
accepted 2021-01-21T23:07:45.67+00:00
Emon Haque 3,176 Reputation points
1 answer One of the answers was accepted by the question author.

Access Theme Color in C# in Xamarin.Forms

I have a third party control in XForms which needs to be styled (a Color set to a property); however, the control does not support XAML nor DynamicResource binding. I'm currently using Themes for my application. How do I set the Color property in a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2021-01-21T17:21:37.74+00:00
Clay 61 Reputation points
commented 2021-01-21T23:07:13.097+00:00
Joe Manke 1,091 Reputation points
2 answers One of the answers was accepted by the question author.

Can ClickOnce install .Net Framework 3.5SP1 First before other prerequisites?

I have a C# 4.0 WinForms application, which uses ClickOnce to deploy. I have chosen to 'Download prerequisites from the same location as my application'. I have selected .NET Framework 3.5 SP1 to be installed, if the end-user's system does not have it…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,153 questions
asked 2021-01-19T21:12:11.747+00:00
Richard Arnold 181 Reputation points
answered 2021-01-21T21:21:45.663+00:00
Richard Arnold 181 Reputation points
1 answer One of the answers was accepted by the question author.

dynamic vbscript execution

Hi, My requirement is to execute the vbscript from C# (not from file). Followed the below article and tried to execute a simple statement WScript.Echo "Missing parameters but it's always giving syntax error as mentioned in the below article. …

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,858 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,153 questions
asked 2021-01-20T16:42:16.71+00:00
Anandhan Sathyanarayanan 141 Reputation points
commented 2021-01-21T19:48:31.627+00:00
Castorix31 84,546 Reputation points
1 answer One of the answers was accepted by the question author.

Weird behavior if I try to deploy my project on my phone, but it complies correctly

Long story short ... I've been working on a Xamarin Forms app since December 2019, an i've been updating my Xamaring Forms so I can keep it up running with the latest features so far so good until Xamarin 5 came in. This version asks me to change my…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2021-01-15T15:40:24.517+00:00
Cesar Rangel 96 Reputation points
accepted 2021-01-21T15:15:52.257+00:00
Cesar Rangel 96 Reputation points
1 answer One of the answers was accepted by the question author.

string test difficulty asp.net

H members when i make a single test of string it work fine user = HttpContext.Current.User.Identity.Name Label7.Text = user If Not user = "STUPREMAT\M.houssem" Then Menu1.Items(2).Enabled = False End If and when i make…

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,559 questions
asked 2021-01-19T13:10:55.307+00:00
HOUSSEM MAHJOUBI 286 Reputation points
accepted 2021-01-21T13:20:28.94+00:00
HOUSSEM MAHJOUBI 286 Reputation points
1 answer

Is it possible to continue editing a metafile which is stored in a variable

I have created a metafile and drawn a few lines into it. After that I stored the metafile in a variable. Dim myImage as Metafile . . System(0).Image = myImage When I try to load the metafile again to extend it myImage = System(0).Image …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,715 questions
asked 2021-01-19T10:30:43.59+00:00
STL 21 Reputation points
commented 2021-01-21T12:32:18.097+00:00
Viorel 116.7K Reputation points
1 answer One of the answers was accepted by the question author.

How to remove the line under a text of an entry in a Xamarin application

Hello, Can someone please help me with this issue As you can see there is a line under the entered text which I don't want to show. I have created a custom entry renderer: CustomEntry.cs public class CustomEntry : Entry { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2021-01-21T08:59:56.33+00:00
XamarinDev 21 Reputation points
commented 2021-01-21T11:58:19.207+00:00
XamarinDev 21 Reputation points