new web app
Hi everybody, I'm C # developer Winform, WPF. a customer asked me for a WEB application with Database. This application must also contain the login page. I don't know how to move, where to start (I had thought of Azure). Can anyone tell me the…
![](https://techprofile.blob.core.windows.net/images/-cMQHARdAE--M0ay3o3E7g.png?8D90C1)
C# Wait for download to finish and check folder for files and display in list box ( form a dll )
ok i have a program where it connects to my ftp server downloads a file once downloaded and extracted i want to check the dir path that has just been created and add all the files in there to list box but the download i have created is done in a dll, and…
C# Insert element in a BlockingCollection
Hello, BlockingCollectionPackage = new BlockingCollection<Package>(); switch (type) { case 1: //ListPackage.Add(currentPackage); …
C# - lock object - the correct way to use it.
Hello, I am adding and removing items in a list. This can be done by two threads in the same program. The questions are Is one lock element enough or are two necessary? static object LockPackageList = new object(); // or static object…
C# List - list can be filled or taken from two threads
Hello, static object LockPackageList = new object(); void Test1() { lock (LockPackageList) { switch (type) { case L.FiFo: ListPackageLabel.Add(currentPackage); // BlockingCollectionPackage.Add(currentPackage); …
Create a a code in C#
A line connects two points. It is a basic element in graphics. To draw a line, you need two points between which you can draw a line. Digital Differential Analyzer (DDA) algorithm is the simple line generation algorithm which is explained step by step…
![](https://techprofile.blob.core.windows.net/images/iVOE8PBez0yig2Grqx4xJw.png?8D88BF)
![](https://techprofile.blob.core.windows.net/images/iVOE8PBez0yig2Grqx4xJw.png?8D88BF)
source code for Microsoft enterprise library for version 4.0
Hi, I'm looking for the source code of the Microsoft enterprise library version 4.0. MS has published the source code for version 5.0 and 6.0. I have searched a lot on the internet but couldn't found for version 4.0 I cannot use version 5.0 or 6.0…
Microsoft learn: Write data with output bindings
I am following Microsoft Learn path : https://video2.skills-academy.com/en-us/learn/modules/chain-azure-functions-data-using-bindings/7-write-data-with-output-bindings-portal-lab?pivots=javascript I am trying to use the input binding for CosmoDB, in…
![](https://techprofile.blob.core.windows.net/images/cSfehgBABgAAAAAAAAAAAA.png?8D891F)
![](https://techprofile.blob.core.windows.net/images/cSfehgBABgAAAAAAAAAAAA.png?8D891F)
GetWindowDesktop Error
I'm writing some code in C# to determine when a user switches virtual desktops in Windows. The only way I can determine to accomplish this is to set a Windows event hook on the EVENT_SYSTEM_FOREGROUND event, then use the…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
How do I create a rectangle using the Line class in c#?
How do I create a rectangle using the Line class in c#? The output of this code should show 4 points all connected together by lines! Please fill in where it says //TODO. Also include the Main() that way it will show the rectangle. Thank you! namespace…
![](https://techprofile.blob.core.windows.net/images/iVOE8PBez0yig2Grqx4xJw.png?8D88BF)
Xamarin forms datagrid does not show related data
I am trying to setup the following. A listview that shows a list of daily surgery cases. When a case is clicked it navigates to a content page containing the details for the case as well as a linked datagrid that contains all of the staff (caseStaffJoin)…
How to translate this programm to C#??
import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class Server { public static ServerSocket socket = null; public static void main(String[] args) { try { socket = new…
![](https://techprofile.blob.core.windows.net/images/IWrejgBABgAAAAAAAAAAAA.png?8D8A0F)
code to open form from toolstrip, same code yet among one code cannot .show();
private void userToolStripMenuItem_Click(object sender, EventArgs e) { frUser user = new frUser(); user.Show(); } private void categoryToolStripMenuItem_Click(object sender, EventArgs e) …
![](https://techprofile.blob.core.windows.net/images/JiX-lf2_BgAAAAAAAAAAAA.png?8D8532)
difference between NETStandard.Library and Microsoft.NETCore.App?
I wanted to know the difference between the NETStandard.Library package and the Microsoft.NETCore.App package. I tried to look up documentation but it's all very broad or they sound very similar saying both packages are a set of .NET API's. Is there a…
![](https://techprofile.blob.core.windows.net/images/haE8Pzye80GnsfKq3Md4nw.png?8D869E)
Ayuda con programación de ComboBox en C#
Hola, muy buenas. Contextualizando un poco, esto desarrollando una aplicación en WF con el lenguaje c#. Ahora bien, estoy desde hace un par de días en una situación que no me deja avanzar. Resulta que dentro del Form tengo un comboBox del cual obtengo el…
saving data from 2nd form to the same master table in win form application
I have two winforms where form 1 is used to enter data from first seven fields and other forms is used to enter for last three fields , where i have the table stored in MSSQL server ,Now when i try to save the last three fields i am getting below "…
Sharepoint Online - CSOM search KeyWordQuery document not appear
Hello, I'm doing a search in Sharepoint with CSOM, some documents are missing, otherwise if a do the same search directly over Sharepoint this documents appear.... I already check Query Source, crawled properties, syntax, etc... need help. …
How to validate windows local users using c# ?
Hi, I am using below code to validate but it is working for few users and it is not working for few users.please help me to resolve this issue. public bool ValidatePassword(string userName, string Password, ref string errorMessage) { errorMessage =…
How to activate Online Speech Recognition on Single-App Kiosk
Hi, I would like to know how to turn on the Online Speech Recognition on an Single-App Kiosk session ? My goal here, is to be able to access the Touch KeyBoard Speech-to-Text feature through an UWP' application.
Console App (Non UWP) with CS/WinRT
Hi I have created a Console App (NonUWP) that use CS/WinRT I was able to access WinRT API like Windows.Devices.Custom but the problem is that await is not working for me, I'm getting errors. i can worked around it using GetResults() but it is…