csharp

  1. F

    Point3d Max Min Values for Y axis

    I have a Point3d array, Z values are always zero. How can I have the maximum and minimum values of Y axis for every similar X values? Sample Point 3d Array: List[0] = (10,5,0) List[1] = (10,6,0) List[2] = (10,9,0) List[3] = (7,2,0) List[4] = (7,5,0) List[5] = (7,8,0) List[6] = (7,11,0)...
  2. P

    i need help to find intersection point of 2 lines in image

    we need to a code for image processing in c# we need help to find intersection point of 2 lines in image you can see my image as below we need to use from Emgu library in c# for find this points we have a code but we don't know how to use it if you can write this code for me that find...
  3. Sajo

    Question Object Relational Designer does not create entity classes

    Hello. I am using Object Relational Designer because I am working with LINQ to SQL. I am using NORTHWND database. I want that Object Relational Designer create entity class for table which I drag to entitites part. For example I drag Employees table to entities part but it does not create entity...
  4. Bojan123

    Question Decrement value from SQL database bug

    I have 2 asp.net WebForms, WebForm1 contains a button that redirects into WebForm2 which contains a contact form that needs to be filled to proceed an order. I have a drop down list in it that is connected to the database, and depending on which product a button on the WebForm1 is clicked, the...
  5. Sajo

    Problem with configuration file

    I want to create a connection to the server. The base is called NORTHWND. I wanted to create a connection using a configuration file. I created a configuration file. I want to get information about the version of the server I am using through the console application. However when I run the code...
  6. D

    Slider colors not updating.

    So I want to have an Rainbow Color Gradient option in my application. Everything else changes its color except the sliders. They only update the color when I change their value. Is there any way to fix it? A code or something? Here is a short GIF of my problem: Gyazo
  7. 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”...
  8. redexception

    Overwrite Systemfiles

    Hello, first of all I want to say I'm 14 years old and this is for educational purposes only! I don't want to damage any kind of person / system. So... I've built a program that overwrite logonui.exe with another logonui.exe . When I take ownership manually of the System32 folder everything is...
  9. V

    Question Error in method JsonDocument.Parse

    Please tell me. I can't solve the error in the JsonDocument.Parse method in any way. Translation of the error text: Error CS1061 / "object" does not contain a definition for "Parse" and it was not possible to find an extension method "Parse" that takes the type "object" as the first argument...
  10. mkhurram92

    SqlTransaction in C# issue

    Hi Everyone, I have a method which is storing values in database and after that it is print invoice. I'm printing a form for invoice printing. I want to make sure that if it's saving it should print. Otherwise rollback all chanages. Following is syntex of the method. private...
  11. T

    Device.Net, Does anyone have some experience using Device.Net?

    I have grabbed a sample code that they publish with the documentation, but I am confused at why I am getting errors in Visual Studio. I highlighted the lines i'm getting errors at. Please note I have not changed anything in the sample. Code: private static async Task checkHID() {...
  12. J

    Raspberry Pi as Databaseserver for WPF Application

    Hey guys! I built an WPF Application, with a database, which provides the data. Until now a database running on the same machine as the one were I developed the app was enough. Now I want to run the app on other computers to, so I want to try using a Raspberry Pi as databaseserver. Unforutnately...
  13. 1

    Question GUI Framework Question

    Is there any free GUI Framework with a slider similar to the one shown below?
  14. MohaMB

    Question How to add a value in a list inside another list that already exists?

    I have a bug and I don't know how to fix the bug is the following: I have a list, which in turn is of type <List <String>>, with the constructor what I do is save certain info, and what I have coded is what next: List<List<string>> opciones = new List<List<string>>(); public...
  15. A

    Which NEW Microsoft certification is for C#/.NET (as MCSA and MCSD will get retired soon) ?

    Microsoft will retire its old certifications like MCSA and MCSD on 31 January 2021. Microsoft plans to introduce new role-based certifications to replace these older certifications. Which newer, role-based certification is for C#/.NET ?
  16. D

    Question C#; I need help with easy tasks

    I have to wrote a program solving these in an easiest way, not really know how without the mistakes, so thanks for any help. The 'file' contains whats under " John Medeic,MD 10|7|5|3|8|2|1|0|9|3|4|5|5|6|7|2|3 " Task. 1. Load and correctly interpret the data contained in the file. As a result...
  17. codify

    Answered Setting primary key in windows form

    Hello! I am have connected SQL management studio with my visual studio where I am making this hospital management system. I have set the PATIENT ID as the primary key in the SQL management studio. But when I am entering duplicate id, there is no objection being made by the code. What should I do...
  18. codify

    Storring wrong data in a text box!

    Hello! In a window form, Patient id is being stored in both text box1 and textbox2. It is not storing the name of the patient in textbox2. Please help! private void button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(@"Data...
  19. codify

    Resolved SqlException: 'Invalid column name 'id'.

    I am making a window form database management system. When I click on the "Add staff" option, this error occurs System.Data.SqlClient.SqlException: 'Invalid column name 'id'.' on line number : 20 private void StaffInformation_Load(object sender, EventArgs e) { // TODO: This...
  20. D

    Question BACnet with C#.net

    Hi, I am integrating the BacNet in my C# application using the BacnetIpUdpProtocolTransport procedure. When I use it as: BacnetIpUdpProtocolTransport udp_transport = new BacnetIpUdpProtocolTransport(c_bacnetPort,false) it works perfect but the problem is that I have 2 network cards on my PC and...
Back
Top Bottom