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?
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…
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?
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…
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.
How to complie IronPython WPF application to exe?
I create a IronPython WPF project, but how can i complie it?
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…
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…
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…
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…
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>…
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…
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…
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…
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…
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…
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…
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…
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",…
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 +=…