#csharp

  1. msaaaddev

    Question Can software in different cities uses the same database to store data?

    Hello Friends, I want to ask that can software in different cities uses the same database to store data. I am new to c#. I want to know if I develop software in c# and then install it in different cities(branches) of same company can I use the same database for all running software in different...
  2. DominusDRR

    Is there a way to get the MAC address of a device on a network based on its IP address? (C# & Android)

    Hi. I have an application made for Android in C #. I'm trying to get the MAC address of a remote device using its IP address as follows: public string GetMacByIP(string ipAddress) { try { // grab all online interfaces var query =...
  3. A

    linking API calls to buttons in my html document. (electron)

    So ive been given a task to link api calls to the frontend, however when I attempt to call the method using the "onclick" function nothing is happening. I've loaded the Javascript file within the head of the html document and also input the function name but still nothing is happening. Can...
  4. C

    Document presence recognition algorithm

    Hi All, I am trying to implement an algorithm for the detection of the document presence in C# ( with .NET Framework 4.6.2). There is a document holder where the document is inserted. The document holder background is red. In front of the document holder there is a camera that takes a photo and...
  5. sachin Shrestha

    What is Guidline For Vertical Spacing in c# When to do it asp.net actions

    Guidlines for Vertical spacing in c#
  6. stephyap

    How to setup identityserver4 on IISExpress?

    This is my appsettings.json in my asp.netcore3.1 Api: When I run the Api it gives me the error: Document Name Value Type disco.Error "Error connecting to https://localhost:80/.well-known/openid-configuration. The SSL connection could not be established, see inner exception.." string...
  7. C

    How to get lt, lg values from string

    Hello Everyone, I have below string, i need to extract lt, lg values into new dictionary if s : N how to do this. please help me "\n{\n\t1619059179095 : \n{\n\tac : 13.0990000;\n\tlg : 58.4269473;\n\tlt : 22.4404507;\n\ts : N\n}\n}" Thanks Chandu
  8. K

    Question Anyone that can please help with this?

    uses System; public class program { public static void Main () { Random randomerare = new Random (); was randomNumber = random number. Next (1,101); int-counter = 1; var maxGuesses = 8; for (int i = 0; i <8; i ++) / * First used the variable “i”...
  9. 6atafrak

    need code for drawing this square

    Hey guys, I need help this is code for the triangle from photo protected override void OnPaint(PaintEventArgs e) { Graphics g = e.Graphics; Pen p = new Pen(Color.Blue, 2); int n = 3, m = 30; //1st int x1 = 100, y1...
  10. codify

    Question Project not opening on visual 2019

    Hello! I am trying to open this project. It should automatically open the rest of cs files which are linked to it. But when I open it my visual screen is blank.
  11. Y

    Question console does not display Chinese input string

    Hello, as my title says: on Windows 10, my console (cmd prompt) does not display Chinese input string by Console.ReadLine (but it displays Chinese non-input strings correctly). Here is my problematic code-chunk: using System; using System.IO; using System.Text; namespace 字符 { class...
  12. Sriram

    Question Nunit testcase Creation & integration

    We need to create nunit test cases for ASP.NET application. For example we need to write a test case for login page do we need to create the test case file within the solution or in different solution & then how we call the source function in the test case file
  13. P

    Updating Listbox in Another Form

    I have 2 forms. Form1 contains a list box and a button that says update. If the user selects a number from the list box and clicks the update button then form2 pops up. Then the user can enter a number in form2 and click the update button. I want the number that the use enters to be updated in...
Top Bottom