How to Write/Store data in an Excel spreadsheet that is located at Share Point?
I am working on writing or storing the data into Excel spreadsheet that is located at a Share Point site. I am able to connect to the Share Point site and obtaining the excel spreadsheet by passing the relative URL. Using Memory Stream, the contents of…
Is it possible to read/store/retrieve data from Excel spreadsheet from Share point site to WPF application?
Hi, I have connected to Share Point site referring the following blog: https://www.c-sharpcorner.com/article/sharepoint-csom-for-net-standard/ I have created a sample test spreadsheet in the Documents Library named *testSpreadSheet.xlsx * I have a…
.NET WPF Project in C#,validations and checks seem to be working in developer PC but get skipped in user PC
Hi, I have a .NET WPF C# application running on 4.7.2 framework .i had a working stable application for 6 years with users using by click once ,downloading the wpf application and some users using RDWeb .Suddenly from past 3 months all checks and…
WPF: Drag & Drop virtual folder from WPF to File Explorer
Hi, I am developing ADB Explorer, a UI for ADB in WPF. I am trying to implement support for Drag & Drop to Push / Pull files between PC and a device connected via ADB, and while accepting files dragged into the app is quite easy since I can just use…
[Prism] WPF MVVM How do I get other views to to work with binding custom UserControl?
I am trying to understand MVVM WPF using Prism with a sample application. I have a menu bar on the side that allows for navigation to other views. I also have a custom UserControl that I plan to reuse through all the views. I have a dependency property…
How to convert outlook email (.msg) to pdf c# ?
Are there any free libraries using which I can convert outlook emails i.e. .msg files to pdf in my WPF c# app? I've tried using PDFSharp like below but the data is not showing properly at all. The email body contains tables and text and sometimes it may…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
why dispatcher timer runs on accurate time but system timers some times lags or runs at 1-5 sec delay or in advance ?
Hi i have two timers basically classified in two categories:- Dispatcher Timer: First timer runs on application.current.dispatcher System.Threading.Timers : Second timer runs on timer using this method. Suppose both both timers fires a action to…
How to include PDF Viewer in WPF Application
Hi I have to include the pdf viewer in my wpf application. It should have ability to navigate to other pages of pdf. It should should pdf in fullscreen mode. Currently i found no support in wpf . Please help in this case.
.Net Framework 4.8 on Windows Server 2008 R2
Hi All, We have a WPF application built on .Net Framework 4.8. This application must be able to run on 'Windows Server 2008 R2'. Since 'Windows Server 2008 R2' does not have .Net Framework 4.8, we tried to install it on this server but ended up getting…
After I upgrade Visual Studio 2022 from 17.11 preview 7 to 17.12 just now, my WPF project not functioning properly
It stuck at the the following code: public partial class MainWindow : Window { public static MainWindow? Current { get; private set; } public MainWindowViewModel ViewModel { get; private set; } public MainWindow() { …
Multiple CheckBox controls in a DataGrid cell
Hello, In the DataGrid control I would like to add a column in which each cell would contain a list of checkbox controls (for each cell there can be a different number of such checkboxes with different descriptions). I don't know how to define such a…
Button Items Event in WPF
In WPF I use a Button that contains an image to select the visual styles that when pressed by the user displays items that I add by program and that for standardization are of type "System.Windows.Controls.MenuItem". 1.- I need that when the…
WPF Cannot Find Image Resource
In WPF I have added 2 images and I have included them in the solution explorer. It compiles well but when running, when it is initializing, a message appears saying that the images have not been found. I have cleaned, I have deleted .vs and .obj and it…
How Can I Add Microsoft Windows SDK for .NET in a WPF Project?
Hi there, I want to add Microsoft Windows SDK in my existing WPF project. Now comes into the story that why I need it? Actually, I have an existing WPF project from my office, where Windows SDK is already been there and that project is working as…
I need application always has the fixed, 100% scale, even if system settings are 200% per monitor or per whole system
Is there a way to disable scaling for all the WPF application even if windows has some scale per monitor or system-wide scale? I need to have WPF windows that is always 1:1 with physical pixels (DPI is always 96), and by this time I found no way to do…
How do you use the 26100 SDK with .NET?
Using the latest visual studio, all current updates, build system is OS version 22621, deploying to OS version 26100. 26100 SDK is installed from Visual Studio installer. Create a blank "WPF Application" project from Visual Studio Target…
how to launch WebView2 control in C# WPF application like an editor
Hi, How can launch Webview2 as an editor in WPF application with VS2022? As of now I have launched that as dialog (modal) Thanks in advance!!
How to refresh DB connection in a WPF app using MVVM pattern with Entity Framework and Oracle as DB?
I have a WPF application that uses Entity Framework and Oracle as the database and follows the MVVM pattern. Each ViewModel initializes its own DBContext and uses it. When I click a button/link then, it refresh the DB connection. Also how to add the…
Auto Complete for TextBox in WPF (MVVM)
Hi, Does anyone know an easy way to impelement Auto Complete for TextBox in WPF?
how update WebView2 control in C# WPF application as per Color Theme selected in visual studio 2022 like Light, Dark etc
how update WebView2 control in C# WPF application as per Color Theme selected in visual studio 2022. Color theme can be changed in visual studio 2022 from Tools -> Options -> Color Theme: