24,980 questions with .NET-related tags

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

Unable to apply Storyboard to multiple controls

I have a Storyboard in my resource file that I want to apply to multiple controls. I get my resource and loop through the Storyboards children and apply it to my controls. However, only 1 control get the animation when it runs. I can run it on either…

Universal Windows Platform (UWP)
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,710 questions
asked 2020-10-21T11:30:27.263+00:00
Craig Muckleston 161 Reputation points
accepted 2020-10-22T12:15:16.42+00:00
Craig Muckleston 161 Reputation points
2 answers

How do I create a SETUP.EXE that doesn't get blocked by Windows?

I've written a small program using Visual Studio 2019. It is a Visual Basic Windows Forms application. I have no issues running it from Visual Studio. It publishes without errors. If I try to use the Setup.exe that was generated, I am met with an…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-17T17:53:04.337+00:00
Calab 1 Reputation point
answered 2020-10-22T09:10:03.117+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer One of the answers was accepted by the question author.

Issue in VBA

Hi, I got issue due to last line below. How to correct it? Str0 = Trim(Worksheets("B").Cells(Ser0, 4).Value) & "_D": Worksheets("B").Cells(Ser0, 27).Value = Str0 sAddress =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,067 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,689 questions
asked 2020-10-22T06:51:56.09+00:00
Peter_1985 2,586 Reputation points
accepted 2020-10-22T07:55:28.587+00:00
Peter_1985 2,586 Reputation points
0 answers

Is null check before calling MoveCurrentToFirst the only way to reduce calls or there's something better?

I've these 3 ICollectionView in one of my views: public ICollectionView Tenants { get; set; } public ICollectionView Plots { get; set; } public ICollectionView Spaces { get; set; } and these subscriptions: Tenants.CurrentChanged +=…

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,710 questions
asked 2020-10-03T09:42:11.38+00:00
Emon Haque 3,176 Reputation points
commented 2020-10-22T06:45:09.407+00:00
Emon Haque 3,176 Reputation points
1 answer

Windows desktop gui

I'm new to all this stuff, did a little bit of widget building with pandoras box and widget designer but thats about it. Im looking to make an interface for my desktop, something like you is in star trek with the lcars, Ive always liked that, but i…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-21T19:32:58.427+00:00
jaime gallego 1 Reputation point
answered 2020-10-21T19:56:29.09+00:00
Anonymous
0 answers

Is there any SDK provided by MS to integrate Google Analytics in Desktop application

Is there any SDK provided by MS to integrate Google Analytics in Desktop application?

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,710 questions
asked 2020-10-20T09:24:59.077+00:00
Hi 1 Reputation point
commented 2020-10-21T03:58:07.6+00:00
DaisyTian-1203 11,621 Reputation points
1 answer One of the answers was accepted by the question author.

how to code: webView_NavigationStarting c# ? winforms

Tia ; I want to catch a NavigationStarting Event , But no go so far private void webView_NavigationStarting(object sender, CoreWebView2NavigationStartingEventArgs e) { navigatingTo = e.Uri.ToString(); // …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-20T00:19:20.767+00:00
vmars316 621 Reputation points
accepted 2020-10-20T20:49:17.817+00:00
vmars316 621 Reputation points
2 answers One of the answers was accepted by the question author.

In WPF Client application-What permissions to be set in SSRS ,so that reports work for all users (instead of setting permission for each user)

We had a web forms applications deployed in IIS with SSRS reports in a different servers .We used to give full permissions In report server for the system where our code was deployed and things were working fine. Now we are re writing the same code to…

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,710 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,870 questions
asked 2020-09-24T11:10:19.86+00:00
krishna 466 Reputation points
commented 2020-10-20T11:44:33.177+00:00
krishna 466 Reputation points
1 answer

[C++/WinRT][WPF] Unable to use Windows Runtime Component from WPF app (CO_E_ERRORINDLL).

Hi! I made a Windows Runtime Component which I want to use in a WPF application. I created the WinRT component using C++/WinRT, and I am able to use it from a C# UWP application (it loads and I can call methods). Now I try to add it as a reference to a…

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,710 questions
asked 2020-09-04T06:46:59.81+00:00
Maarten van Sambeek 1 Reputation point
answered 2020-10-20T08:47:32.247+00:00
Will 81 Reputation points Microsoft Employee
2 answers

'Specified argument was out of the range of valid values. (Parameter 'itemIndex')'

I got this error: on the ComboBox before and at that time, it was a VirtualizingStackPanel there in the ScrollViewer. I changed it to ItemsPresenter and had no problem with this until I added ItemContainerStyle and this: <Trigger…

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,710 questions
asked 2020-10-19T08:17:52.773+00:00
Emon Haque 3,176 Reputation points
answered 2020-10-20T07:57:47.56+00:00
Emon Haque 3,176 Reputation points
1 answer One of the answers was accepted by the question author.

Why do Windows 10 laptops fail to run application that runs on Windows 10 Workstations?

Wrote a couple of VB.NET Forms applications using third party IOCOMP plotting library. When I install on company, Windows 10, laptops I get the exception, "Unable to get the window handle for the 'AxiPlotx' control. Windowless ActiveX components are…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
467 questions
asked 2020-10-19T18:43:05.96+00:00
Jeff Jacobs 21 Reputation points
accepted 2020-10-20T00:06:32.857+00:00
Jeff Jacobs 21 Reputation points
0 answers

Help with saving from a child form?

Hi Guys and Girls I am struggling with something that I think is supossed to be a simple and standard function of any application! My App is being writen in C# using Visual Studio Community 2019. it is at this point a 2 form aplication. A main form…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-17T00:18:56.817+00:00
Raymond van Roest 1 Reputation point
commented 2020-10-19T10:02:58.003+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer One of the answers was accepted by the question author.

System dll error, I can't use WinForm designer anymore, c# .NET WinForm

I have a simple WinForm Project and the System dll is not funded. ( Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or assembly reference?) ) =>…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-16T08:13:50.747+00:00
Anthony Chaussin 21 Reputation points
commented 2020-10-19T07:00:16.55+00:00
Anthony Chaussin 21 Reputation points
1 answer

Delegate in Windows Form App C#

Where do I put a delegate in a forms app so that the Serial Receiver can put the data in a control on the form? public delegate void AddDataDelegate(String myString); public AddDataDelegate myDelegate; private void Form1_Load(object sender, EventArgs…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-18T09:18:30.593+00:00
Joyce Segal 1 Reputation point
answered 2020-10-19T06:50:59.873+00:00
Daniel Zhang-MSFT 9,621 Reputation points
0 answers

Adding row to table when new form reponse is submitted

Hi - we are beginning to use Automate more and more have used the forums for guidance previously but we cannot determine a solution to our particular issue. We are trying to build a flow which takes a response from a Form when submitted and uses the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,689 questions
asked 2020-10-17T14:50:19.077+00:00
RMc5566 1 Reputation point
commented 2020-10-19T02:06:54.457+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer

How do I use multiple textboxes in Visual Studio Basic to create a record in an access database.

Say I have 6 textboxes and there are 6 columns in the linked database, how would go about making a button at the end of the form save the text input into the textboxes as a new record in the Access database

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-15T09:32:26.72+00:00
VOOI JOO EE 1 Reputation point
commented 2020-10-19T01:29:22.5+00:00
Tianyu Sun-MSFT 29,356 Reputation points Microsoft Vendor
1 answer

File type in packaging

Hi. How do I add a new file type to the packaging of a desktop application?

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,710 questions
asked 2020-07-27T16:05:35.277+00:00
Diego Alvarez 101 Reputation points
answered 2020-10-18T21:09:43.083+00:00
Diego Alvarez 101 Reputation points
2 answers One of the answers was accepted by the question author.

WebView2 in Windows Forms does not Navigate ?

Tia ; In Getting started with WebView2 in Windows Forms apps Step 3.4 Program compliles ok , But doesnt Navigate to https://www.microsoft.com . Neither does it Navigate on goButton_Click . Code Below , Form1.Designer.cs followed by Form1.cs . …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-14T15:37:04.8+00:00
vmars316 621 Reputation points
accepted 2020-10-16T14:26:52.94+00:00
vmars316 621 Reputation points
2 answers

Xml Load error - Reference to undeclared entity

I am using below vb.net code to load xml file. Dim reader As XmlTextReader = New XmlTextReader("D:\file_1.xml")    reader.EntityHandling = EntityHandling.ExpandEntities        Dim xDoc As XmlDocument = New XmlDocument()        …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,871 questions
asked 2020-10-13T06:38:11.443+00:00
test code 1 Reputation point
commented 2020-10-16T06:16:38.75+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer One of the answers was accepted by the question author.

Cube with texture not visible

I want to texture a cube with an image. My problem is, that the cube is invisible in case I use the ImageBrush. When using a SolidColorBrush everything is fine. I need to do this programmatically because in the main project all objects and materials are…

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,710 questions
asked 2020-10-15T07:44:51.98+00:00
ITD Weimar 21 Reputation points
accepted 2020-10-16T06:10:52.387+00:00
ITD Weimar 21 Reputation points