WPF Core Clipboard question
Hi, for weeks I try to transform a ms Access data table with a so called rich text field (witch is actually HTML ) to a rtf format that can be used in a SQLdatabase table and edited in a WPF richtextbox. I can do it manually by loading my rich text…
How to get the Actual Height of content ListBox in FixedDocument
Looks like FixedDocument is the way to go to have multi-paged formatted document with rolling page subtotal. Since I'm still in the process of figuring out how to add page subtotal all my code is in one function print. Here're the steps: get the…
C# WPF RegEx - only numbers, digits from 0 to 4 or numbers and letters.
Hello, txtInput.Text = "[)>RS06" + (char)29 + "11V62970814" + (char)29 + "P1234567890" + (char)29 + "16SZZ" + (char)29 + "1P0793" + (char)29 + "6P001" + (char)29 + "Q375RSEOT";…
Alignment Troubles with Panel1.Controls.Add(browser)
Hello & Thanks ; Having Alignment Troubles with Panel1.Controls.Add(browser) . And 3 controls in all . When a webpage is displayed (skewed) about 50px below the top and 20px to the right of where it should be . How can I fix this ? …
May printing this FlowDocument be simplified?
I've an ICommand, PrintReport. Its execute function does this: void printReport(object o) { var dialog = new PrintDialog() { CurrentPageEnabled = true, UserPageRangeEnabled = true }; if (dialog.ShowDialog() == true) …
what are the differnces between these two approaches
hi when i'm trying to do something after a window closing what is the differences between these two approaches: approach_1: protected override void OnClosed(EventArgs e) { // TODO base.OnClosed(e); …
app without a window
hi MultiPage the above project just have two pages and no windows. Q1: how this works without window , where the Page control needs a host (frame) ? Q2: when we use user control without code behind file (usercontrol.xaml only) ? (or…
OnClosing() or OnClosed() to save settings
hi should i put Properties.Settings.Default.Save(); in OnClosing() or OnClosed() event of the mainwidow and why? and is there a better way to do so, it's my first time to use settings in my app. i'm using c#, VS2019, wpf .netCore3.1 app
Well Known Text Not Preserving Input Data
I have a set of points that I use to create an instance of WKT: wkt = New StringBuilder("POLYGON((", 512) wkt.Append(MapLocations.Item(0).Longitude).Append(" ").Append(MapLocations.Item(0).Latitude).Append("…
How to fix Error code 0x800b0100 on windows 10?
Just this last week I received the error code 0x800b0100 and in update history see that Cumulative Update for Windows 10 Version 1511 (KB3140743) failed to install on 07/10/2020 and each day after that I have the same message. Any ideas out there…
Wpf Checkbox content UnderscoreConverter in ResourceDictionary?
Hi, How to use an UnderscoreConverter for CheckBox CONTENTS in ResourceDictionary? Below doesn't work. <Style TargetType="CheckBox"> <Setter Property="Content"> <Setter.Value> …
Changing Content of ToggleButton with Style.Triggers only shows "System.Windows.Style" on button
I have a very simple ToggleButton that uses a Trigger to change the content: <ToggleButton> <Style TargetType="{x:Type ToggleButton}"> <Setter Property="Content" Value="Unchecked" /> …
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…