24,600 questions with .NET-related tags

Sort by: Updated
0 answers

Is it possible to send data from WPF app to Azure analytics?

Is it possible to send data from WPF app to Azure analytics? If yes, which is the minimum Visualstudio version & .net framework version required ? which are the best analytic services offered by Azure which can used with WPF app?

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
442 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,699 questions
Azure HDInsight
Azure HDInsight
An Azure managed cluster service for open-source analytics.
202 questions
asked 2020-10-01T09:42:53.153+00:00
Hi 1 Reputation point
commented 2020-10-07T00:46:17.98+00:00
MartinJaffer-MSFT 26,046 Reputation points
2 answers One of the answers was accepted by the question author.

Robo Copy to a FTP server

I am trying to send one big file from a windows server to the FPT location through robo copy. I am using the following command:- ROBOCOPY "G:\Backup\full" "\ftp.xyz.com\backup" ABC.bak /Z /R:5 /W:60…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 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.
13,111 questions
asked 2020-10-05T20:34:43.867+00:00
chuck DM 81 Reputation points
accepted 2020-10-06T21:54:08.56+00:00
chuck DM 81 Reputation points
4 answers

Using 4.5, how to keep Treeview selected item highlighted when it loses focus

When the treeview loses focus the highlight of the selected item disappears . How to keep the highlight?

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,699 questions
asked 2020-10-03T16:17:42.933+00:00
Lloyd Sheen 1,401 Reputation points
answered 2020-10-06T18:45:33.04+00:00
Peter Fleischer (former MVP) 19,306 Reputation points
1 answer One of the answers was accepted by the question author.

File and Print Sharing on Windows 10

When I select "Add a printer" the list of printers added in Active Directory does not populate. I can however, select "The printer I want isn't listed" and then select "Find a printer in the directory" and all printers are…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,977 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,450 questions
asked 2020-10-06T07:07:35.197+00:00
Richard puahala 21 Reputation points
accepted 2020-10-06T11:11:21.887+00:00
Richard puahala 21 Reputation points
1 answer

Change the thumb colour of a trackbar in winforms vb.net

Hi, I have a requirement to change the thumb colour of trackbar from blue to orange. Is it possible to change the thumb colour and please give a solution for that.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
asked 2020-10-06T05:08:43.303+00:00
cool77bin 1 Reputation point
answered 2020-10-06T07:05:59.453+00:00
Castorix31 82,501 Reputation points
0 answers

How to complie IronPython WPF application to exe?

I create a IronPython WPF project, but how can i complie it?

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,699 questions
asked 2020-10-03T05:30:27.817+00:00
陈勇潮 1 Reputation point
commented 2020-10-06T07:01:29.96+00:00
DaisyTian-1203 11,616 Reputation points
1 answer

Not able to WCF service reference to MVC project using net.tcp

My project is using MVC with WCF for 5 years and the code hasn't changed much. Recently my laptop got replaced since then I am facing trouble adding a service reference to MY WCF services in my MVC project. Please find the error, IIS configuration and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,540 questions
asked 2020-10-03T05:10:54.41+00:00
Sushant Sinha 1 Reputation point
answered 2020-10-06T02:28:13.567+00:00
Peng Ding-MSFT 91 Reputation points
0 answers

receiving emails WPF Application (not forms)

hi all i'm trying to receive emails in my app and am struggling to work out the Xaml window code. i think my back end code works which is as follows private void Button_Click_1(object sender, RoutedEventArgs e) { using (var…

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,699 questions
asked 2020-10-03T21:45:51.377+00:00
darren guest 1 Reputation point
commented 2020-10-05T23:12:15.297+00:00
Emon Haque 3,176 Reputation points
0 answers

load a specified user control and its code behind on demand

Hi Peter + Daisy, As far as I can understand, the code behind of a specified user control would fail the following code: (UserControl)XamlReader.Load(new FileStream(_userControlFilePath, FileMode.Open)); Is there a way to load a specified user…

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,699 questions
asked 2020-10-05T03:58:17.937+00:00
jennyliu835 221 Reputation points
commented 2020-10-05T22:26:31.997+00:00
jennyliu835 221 Reputation points
1 answer One of the answers was accepted by the question author.

How to bind SelectedItems.Count and Items.Count of ListBox in ViewModel's property?

In xaml this works: <TextBlock HorizontalAlignment="Right"> <Run Text="{Binding ElementName=lb, Path=SelectedItems.Count, Mode=OneWay}"/> <Run Text="/"/> <Run Text="{Binding…

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,699 questions
asked 2020-10-03T20:14:48.167+00:00
Emon Haque 3,176 Reputation points
accepted 2020-10-04T14:17:49.647+00:00
Emon Haque 3,176 Reputation points
1 answer One of the answers was accepted by the question author.

button.ActualHeight with IEnumerable<T> FindVisualChildren<T>(DependencyObject depObj)

I have the code bellow in Wpf C#. It works but problem is the first bt.ActualHeight.ToString() in message is always "0: All other values are right. Can you help me pleas public static IEnumerable<T>…

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,699 questions
asked 2020-09-28T16:40:57.297+00:00
Blader 156 Reputation points
accepted 2020-10-04T05:04:38.933+00:00
Blader 156 Reputation points
2 answers One of the answers was accepted by the question author.

Visual Studio: Handling renaming of items with design view

Greetings, Let's say that we are creating a form in design view in Visual Studio. We place a button on the form and then double-click the button to automatically generate an event handler for the click of the button. This takes us directly to the code…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
asked 2020-10-03T16:51:08.687+00:00
FriQenstein 136 Reputation points
answered 2020-10-03T18:15:53.907+00:00
FriQenstein 136 Reputation points
1 answer

How do you access the Windows 10 SystemIndex in a .Net Core app since OleDb is unsupported?

I have a .Net Framework app that I am porting to .Net Core 3.1. It queries the system index to find relevant files using AQS and OleDb. But how do I get the same functionality in .Net Core 3.1 since Ole Db is not supported? (Btw, the keyword system…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
asked 2020-10-03T05:32:16.567+00:00
Pete Stewart 1 Reputation point
answered 2020-10-03T08:11:58.763+00:00
Castorix31 82,501 Reputation points
2 answers One of the answers was accepted by the question author.

What cause this DataTable.ImportRow()'s failure?

for (int i = 0; i < P5.Rows.Count; i++) { var dr = P5.Rows[i]; (※※※※) if ((bool)dr[0]) { dt.ImportRow(dr); } } I paused the program at line(※※※※), then…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
asked 2020-10-01T19:52:11.45+00:00
Chenbinhao 21 Reputation points
commented 2020-10-03T05:25:24.4+00:00
Viorel 114K Reputation points
2 answers One of the answers was accepted by the question author.

How to enable Thumbnail LivePreview to be live for when window is minimized?

If you put continuous animation at window (WPF Framework), then you minimize window, then go at Taskbar application button to view its LivePreview, animation at the preview is paused. How to enable Thumbnail LivePreview to be live for when window is…

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,699 questions
asked 2020-09-24T15:07:58.743+00:00
vb 276 Reputation points
answered 2020-10-02T18:51:28.72+00:00
vb 276 Reputation points
2 answers One of the answers was accepted by the question author.

In WPF apps, should the implementation of INotifyPropertyChanged only be in the ViewModel?

I'm assisting in writing a WPF app. One thing I've done only in the ViewModel (VM) to date, is define properties associated with the data from the model, so that I can use MVVM Light's RaisePropertyChanged() method in the setter of the property. That's…

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,699 questions
asked 2020-10-01T00:54:39.513+00:00
Rod Falanga 566 Reputation points
accepted 2020-10-02T12:19:15+00:00
Rod Falanga 566 Reputation points
0 answers

What is the best solution for draw lines in Viewport3D in WPF

Hi I'm trying to make a 3D Chart of a surface with the Viewport3D class and it must be able to be moved with mouse. My problem is how to make the lines for the grid of chart. I need that the lines have a behaviour like 2D moving in a 3D space. I dont…

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,699 questions
asked 2020-10-01T13:15:12.163+00:00
Alex Hyx 1 Reputation point
commented 2020-10-02T08:16:33.28+00:00
Jack J Jun 24,476 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Is it possible to load user controls on demand? - Cont.

Hi Peter + Daisy, Is it possible to load a specified user control (i.e. UC1, UC2,... UC# ) without building any list, just as we do with a specified page? For example, NavigationService NS = fm.NavigationService; NS.Navigate(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,699 questions
asked 2020-10-01T06:47:35.623+00:00
jennyliu835 221 Reputation points
commented 2020-10-02T05:30:47.083+00:00
jennyliu835 221 Reputation points
0 answers

Convert MemoryStream to BitmapImage thrown “System.NullReferenceException”

I am trying to use TagLib to load album art dynamically to Image in WPF. So ,I define a dependency property like this: public static readonly DependencyProperty AlbumImageProperty = DependencyProperty.Register( "AlbumImage",…

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,699 questions
asked 2020-09-29T14:48:51.443+00:00
雨晨 金 1 Reputation point
commented 2020-10-01T13:33:23.293+00:00
雨晨 金 1 Reputation point
1 answer One of the answers was accepted by the question author.

How to access the internal filtered collection of ICollectionView?

I've these collection and collectionviews: public ICollectionView Tenants { get; set; } public ICollectionView Plots { get; set; } List<int> foundPlots and these subscription and filters: 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,699 questions
asked 2020-09-30T09:18:22.63+00:00
Emon Haque 3,176 Reputation points
accepted 2020-10-01T09:50:51.473+00:00
Emon Haque 3,176 Reputation points