Connexion to database SQL SERVER (2019)
Hi, I've an Blazor Wasm application. Until now I worked with a local database that I've created by migration. "Data Source=(LocalDB)\\MSSQLLocalDB;AttachDbFilename=C:\\Users\\...\\source\\repos\\DATASERVEUR\\Developers.mdf;Integrated…
Cant select items in a WPF combobox(VSTO Addin) if they are outside the parent window
When using a Combobox in a WPF UserControl via ElementHost for a VSTO AddIn, the Combobox items that are outside of the parent Office application cannot be selected. In the clip below, the blue area is a WPF UserControl inside an ElementHost and you…
C# Timer WinForms
Hello, public System.Threading.Timer AsyncProgramChangeTimer = null; public void MyStartTimer() { lock (this) { AsyncProgramChangeTimer = new System.Threading.Timer((o) => { …
Post JSON Object RestSharp v107
I have to post this json data (data is generated in javascript and must be post to the enpoint from backend): JSON.stringify(dataRest) is:…
Function giving the follwing Error : The parameters dictionary contains a null entry for parameter 'FileID' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.PartialViewResult FileDetails(Int32) not seeing why>
Hi All, The Function below gives this error, it is not clear why: The parameters dictionary contains a null entry for parameter 'FileID' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.PartialViewResult FileDetails(Int32)' in…
SingalR Angular Error 404
I am trying to install SignalR on Angular. I have achived this before with ReactJs Looking at several Forum topics and articles I cant really get it to work: Error Code that i get: Utils.js:149 [2022-04-24T03:47:55.451Z] Error: Failed to start…
Xamarin Forms application error java.lang.ArrayIndexOutOfBoundsException : Index 4 out of bounds for length 4
I'm getting the below error in VS2022 when trying to debug a Xamarin Forms app on Android emulator. The same works on VS2019 with the same sdk. java.lang.ArrayIndexOutOfBoundsException : Index 4 out of bounds for length
Who Wants to Tackle Huge SQL to EF?
Would anyone like to help me convert this to EF? SELECT DISTINCT Item.ITEMID AS StockItem, ISNULL(DsoItems.ITEMID, N'') AS DsoItemId, DsoInventItem.ITEMNAME, ISNULL ((SELECT SUM(PHYSICALINVENT) AS Expr1 FROM DP_AX_PROD.dbo.INVENTSUM WHERE (ITEMID =…
Is there a way to revert a Visual Studio Project to the previous build
So I am Quite frustrated because my Visual Studio Project wasn't updating the code so I decided to rebuild it and now all the files are gone from the debug folder and the project is pretty much impossible to use. Is there a way to recover it? I have…
Deploy Error: An Lockdown error occurred. The error code was "MuxError"
I get the above error but it means nothing to me other than that there was a problem with the deploy. I did a search but found nothing similar. What does that message mean and how can I fix it? This is a Xamarin Forms app being deployed on an iPad…
Is it possible to have an EF Core middleware or something that can apply to filter to every query?
Hi folks, I've got an existing ASP.NET Core web application that uses EF Core for the database queries. A requirement has come up that requires me to basically filter every query's result using some logic that takes into consideration a user's…
designing class diagram to a system
hey, I'm working on a software engineering project and there are a few things I'm not certain about, hoping you could help... it's an MVC based system and I need to design an MVC diagram, class diagram and a few sequence diagrams. what is the…
How to publish winform application
Hello all, Pls guide me how to publish my winform application through visual studio 2022 , as i have user id and password of my sql databse in app.config file , i need you help to publish my winform application in a most secured way .
Process.start() in Asp.net core app : Failed to create an ipc port, Access denied :(
Hello everybody, I wrote a little web api using ASP.net core, running on IIS. In this API i have to launch an EXE, wait for execution, then push an answer to the client who invoke my API. After a few use of this API, my process.start() fail and i…
Error "The group or resource is not in the correct state to perform the requested operation" when doing WebView2.TrySuspendAsync
I basically need to pause a video when the WebView2 control loses its visibility. What I did was this: /*********************************************************************/ private async void SuspendWebView2(WebView2 webView2 ) { …
Tabcontrol in Xamarin.form
Hi to All. Excuse me for a simple question. I need to know the equivalent control in Xamarin of Tabcontrol in Windows form. I have not found it in Visual Studio and I am a novice in doing App (now on Android). Someone can suggest me a way to use…
For Loop and SkiaSharp
Hi, How can I use for in SkiaSharp, Let's say I want to show every word for 10 seconds (600 frames). It sounds simple, but I haven't figured it out today. for code string[] numbers = { "one", "two", "three",…
Firebase Push notification
Good Day As you know a lot of HUAWEI phones don't support Firebase Push notification . Is there a way i can check in Xamarin forms if a phone support Firebase push so that i implement a different Push for that phone programmatically ? Thanks
Have Picker scroll to currently selected item on dropdown of the list
Cannot find anything about how to cause the Picker control to scroll to the selected item when the dropdown is opened. I have a Picker that can have many items and it is a pain having to scroll manually to get to where you were on last selection. Also…
Windows form and User Control Pannel not adjusting in different Computer Screen?
Recently I have coded a simple software using C# in Visual Studio 2019. In the software, there is only 1 windows from (form 1) and five User Control windows. As you can see, from the windows form, I can access each of the user control panel by…