csharp

  1. M

    Question How to generate a self-contained .exe that can be run from other PCs

    Dear C# Experts, First off, please forgive me to ask basic, maybe silly questions. I am a C# beginner. I developed a C# script (attached) that gets access to a Postgres database, the Velocity database, ConsoleX (available from GitHub), and some fuzzy string search algorithms. Therefore my code...
  2. Taiizor

    FYI .NET WinForms UI/UX Component Library

    Welcome to ReaLTaiizor ReaLTaiizor is a UI/UX component library. It allows you to make modern designs using the various components it offers. Usage Step 1:Add a reference to ReaLTaiizor or search for ReaLTaiizor on the NuGet; Install-Package ReaLTaiizor Step 2:Enjoy designing Examples...
  3. 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...
  4. C

    C# Generic collections - Get list of sub level child items from parent object

    Public class viewmodel { public string ID {get;set;} public String name{get;set;} public List<child1>{get;set;} } public class child1 { public string C1ID {get;set;} public String C1name{get;set;} public List<child2>{get;set;} } public...
  5. AndreasPapandreou

    Question Randomized Playlist

    Hello i am new to c# and trying to create some simple programs and one of those is a randomized playlist for spotify. When I run the code I get this error: "Unhandled exception. System.ArgumentOutOfRangeException: Index must be within the bounds of the List. (Parameter 'index') at...
  6. C

    Azure Event Grid publish EventGridTopicEvent

    HI All, I have scenario where I need to publish "EventGridTopicEvent" data and at the same time I need to store this event information in the Azure Storage Table. I would like to know is there any way to get the information(like T/F) if Publish event successfully done or not(any error), If it...
  7. SiamIT

    Adding Preview Support In File Open Dialogue

    Greetings.. after some search on google, i found that i can use Microsoft.WindowsAPICodePack.Shell to add custom controls on file open/save dialogue box as needed. so, i tried some, but i can't make it work to solve my purpose. I have added a button to preview music. But it throws a...
  8. W

    There is any way to import correctly optional parameters of wsdl

    i'm using a third party web service with C# without problem until now. The wsdl is added to connected services adding a service reference to: https://serviciosjava.afip.gob.ar/wsfecred/FECredService?wsdl The problem appears with optionals parameters. For example, the consultarComprobantes...
  9. H

    Downloading files from grid

    Hello community I'm having problems in downloading files from a grid, i saw some solutions, all very similar, and but none solve my problem, i guess there must be some small mistake from my own. Can you help me? I'm using layers architecture and telerik framework <telerik:GridTemplateColumn...
  10. K

    Question File transfer via port 80

    Hello I want to implement file transfer in a bunch of C # and PHP. Client-side function: public void Upload() { string uriString = "http://127.0.0.1/upload.php"; WebClient myWebClient = new WebClient(); myWebClient.Headers.Add("Content-Type"...
  11. Hussnain Javed

    Generating Hash Value for a DLL File in Visual Studio Commuity 2019

    Hi, how are you all? Hope you're all fine. I'm looking for a way to get hash value of a dll file which I've created in a class library's project in visual studio community 2019. I've only one 1 class in my project and I need only dll file and hash value. As I can't run the Project but I can...
  12. mariodeghetto

    I will publish 3 books on C# (free preview + early bird edition)

    Hello, everyone! Excuse me for taking the liberty of asking you for help with a publishing project I have started. If possible, I would like to ask you to publish a post on your blog or in your technical community, indicating this link: (Free preview) My new book "Programming in C# – Basic...
  13. 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)...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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
  19. 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”...
  20. 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...
Top Bottom