Content
how to get parameter name in c#?
public string BuildParameter(object[] para) { var parameters = ""; for (var i = 0; i < para.Length; i++) { if (para[i] != null) { …
How to get a working Control in VS-2022 for a net6 app C#
I have been trying to build a custom control for one of my apps all night and always end up with a greyed-out control in my tool box. I have tried various flavors of windows forms apps net, desktop with different forms of control libraries all from…


How do I modify this jQuery to allow for more controls?
Greetings again mates. I have been trying quite unsuccessfully for the last three days to try to figure out how to dynamically add rows based on selecting DropDownList values. There are quite a good number of examples on how to do this by clicking a…
Why Microsoft systematically abandons its own technology?
I understand that they are not going to answer me, I also understand that perhaps this question does not correspond to this place but it is something that worries me, for some time I have noticed that Microsoft is focusing a lot on Linux but not in the…


CallerLineNumberAttribute' exists in both 'System.Runtime' and 'mscorlib'
Running Visual Studio 2022 + all updates. I have an old version of a Class Library running on .Net 4.7. Im attempting to upgrade it to the new SDK style so I first run the command dotnet tool install --global Project2015To2017.Migrate2019.Tool then…


RDLC Report Error: After process some reports getting exception: An error occurred during local report processing.
Server stack trace: at Microsoft.Reporting.WebForms.LocalReport.EnsureExecutionSession() at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode,…


How to write all selected Files of checkedListBox in C# so i can merch the files
Hi i already have following programm and i want that all selected files which are shown in the listBox will be merched in the end. So what i need is how can i code, that i get the path of all checked entries and hwo can i then write them into my programm…


what is `LPSERVICE_MAIN_FUNCTIONA ` in .net?
I want to use c++ func in .net there is a parameter LPSERVICE_MAIN_FUNCTIONA what is it in .net?


SlowCheetah - major issues - vb.net
Hi A while ago i added SlowCheetah to my solution in order to transform the config file content between debug & build versions. It wasnt working out for me so i removed slowCheetah however, its now caused me some problems... I uninstalled it and…


"Unable to add or delete the folders, Access is denied".
Getting the following error while publishing .NET code in VS 19, I enabled rewrite URL feature in IIS, I also allowed full permissions in the properties->security tab of the directory. But when I try to unmark the read only, and click on…


How to convert a xlsx file to a excel file without nugget and merge multiple pdf´s with chedlistbox [C# | WinForm]
Hi, in my current programm i am writing text into a xlsx file and save it. Now i would like to convert it to a PDF file, i found some nugget solutions but they are not optimal because i get a watermark in the endproduct and need to pay for that -.-…


WHY ARE MICROSFT KILLING VISUAL BASIC AND THIER USERS? in favour on third party programming languges
My question is Why is Visual basic (the original programming language) being leverage out of Microsoft? Today there are many programming languages in the world currently in use as well as the mass migration to the python platform ... which would not…
NetNamedPipeBinding Support
Hi, Can Anyone Please help me regarding the use of netnamedpipebinding in .net core 7.0? Thanks


WPF Enterprise App crashes on Windows 10/11 after Windows Updates installed - "StoryFragments part failed to load"
WPF Enterprise App crashes on Windows 10/11 after Windows Updates installed - "StoryFragments part failed to load" Our enterprise app (32/64 bit - targeting .NET Framework 4.8.x) deployed across hundreds of customer accounts with thousands…


how to create temp and archive folder in .net
I want to create temp and archive folder. The most commonly used "Path.GetTempPath()" function. But there is a problem for me. gettemppath gives only path, i want it to create a temp folder where the exe is located. How can i do that?


outdated local documentation
I need help to solve a serious problem, I have the visual studio help viewer, even though it is version 2.3 and it is included in visual studio 2022 the viewer still shows the 2015 documentation, there are no options to modify the origin online from the…


API to move data from SQL to Mongodb.
Hello Techie, I am trying to create API using .net. The purpose of API is used to read data from multiple sql table and store it to respective Documents of mongodb. The Change Data Capture feature has to be feature of API , so any change in…
Portability analyzer tool reports not compatible for Array.Reverse example but Microsoft API documentation has it in the examples
I have created .NET core 2.0 project and added the below code int nMonths = DateTimeFormatInfo.CurrentInfo.Calendar.GetMonthsInYear(DateTime.Now.Year); int[][] months = new int[nMonths][]; Array.Reverse(months); (complete code is…


Understanding LINQ SubmitChanges
Greetings again mates, My understand of Linq to SQL had improved a lot. Once I understand what LINQ code is doing, I can generally rewrite the code to more "normal" .net code with real sql query. I still have issues figuring out…


how to use ServiceBase in .net core 3.1?
can not use ServiceBase in .netcore 3.1 right? I want to create windows services in .net core 3.1 how to do it?

