c sharp

  1. D

    Question persist object data in C# .net core without static keyword or session

    I am trying to make a object that would suppose to persist data like Name, Standard etc. Once I get the data from db i want to store it to object and want to use it application wide, i tried with DI, but data is not persist, it becomes null.
  2. DotNetDeveloper

    How to create PDF document with hierarchical Multilevel List in C#

    How to quickly create a PDF document with hierarchical Multilevel List in C#? PDF document consists of sections. PDFFlow library for C# allows you to create PDF with as many multilevel lists in one section as you need. Creating a list with PDFFlow is only a few lines of code: 1. First you...
  3. dogankemal

    Question How can i disable my C# application proxy server error

    I am using a proxy server on my C# app. If the app is running, the proxy server is active, if app is not running or crashed, I can disable proxy server but some users can shutdown computer without closing my app. When the computer is turned on, then proxy server is active, but my app is not...
  4. F

    Answered How to convert this Visual Basic Code to C#

    Hi group, I would like to write similar code from Visual Basic to C#, this is the code from Visual Basic: For i = 1 To 14 If GroupBox6.Controls("CmbR" & CInt(i)).Text = GroupBox1.Controls("txbCom11" & CInt(i)).Text Then contador_aciertos_1 =...
  5. J

    dll that grabs a window handle and then stops the window from redrawing?

    I have a remote desktop application in which I want to make one of the windows to stop redrawing while it's loading and then to restart the drawing. I was thinking a C# dll project would work but I'm having trouble finding a C# example of this API call. class DrawingControl {...
  6. H

    Answered How to colour a textbox which contain the maximum value of a two-dimensional array?

    I have a two-dimensional array of random integers that are in an array of textboxes. I found the maximum and brought it to Label1. Everything works. But I still need to colour the textbox in which this maximum is located. I had versions, but unsuccessful. Please help, who knows where the error...
  7. N

    How to code for a stop and start of a windows service ?

    Hello, I am new with C# and know just the basics. I would like to create a command line executable where the program can stop and start a windows service through a windows domain account ? Is that possible ? We always get tickets to restart a windows service on a windows server. So, it will...
  8. H

    London-UK: Senior Developer C# - Permanent

    PERMANENT Full-time position Below is an outline job description. If you are interested or have any questions, please email to Angela.Nguyen@virtusllc.com directly Senior Developer - London, United Kingdom Tracking Code 699-171 Job Description IT professional with experience in C# .NET, and...
  9. S

    Question Why My List<string> Saved In User Settings doesn´t Save the strings?

    Good Day, I Have A List<string> Saved In My App User Settings, this List is supposed to save the file paths of a openfiledialog to then deserialize it, but I already Called the method Save(); And even the method Upgrade(); After adding the strings to the list, but this strings, doesn´t save. Why?
  10. N

    Complex C# code

    Not so long ago I moved to the Faculty of Computer Science, lagging behind the classmates and I find it difficult to write this code. If you can help at least partly, I will be very grateful. Here is the task:
  11. S

    Question How to execute access database function?

    Hi all, I have joined today , I am beginner to .net. Importing the csv file to access database using import spec through code , any help I have written function in access database (.mdb file) open access database-database tools-visual basic-created the module (Module name Load) Sub...
  12. G

    Question Cannot Crawl Web Page Data Using ScrapySharp

    Hi all, I am facing a technical issue. I browsed several articles to find the answer but I couldn’t get a proper answer from any web site. I am using ScrapySharp for my project to crawl web page data. This issue came when I try to crawl data from the http://edition.cnn.com/POLITICS website...
  13. H

    Question How to call stored procedure with linq connection string?

    My problem is I use linq with connection string instead of dbml file, so stored procedure don't show in intellisense. Is there any way to call stored procedure with linq connection string? Thanks you!
  14. idontknowbro

    Question Why does my code Write to lines that aren't specified

    I have this code below which is Replace an integer by adding the integer in the file to the integer that the user has input during the console session. It does that fine. However, it seems to increment the other 3 lines, even though the code to do so is not there. Here is my code: using...
  15. U

    email calendar with image

    Hi, I am trying to send a calendar with image showing in the message body. When I tried to send one, it shows the message in text only. All the images and html are not displayed in the message body..Can anyone help me on this? Thanks! Note the msg.body contains html and images. string...
  16. J

    Delta X and Delta Y between two points?

    I have written some C# code that is suppose to show the ouput of 'Distance between points: 1.414 degrees' and 'Angle between points: -135.000'. But I keep getting the same output irregardless of the input i.e. if I enter any numbers at the prompt I still get: Distance between points...
  17. Z

    Question How to edit the Time of an analog clock by dragging it's handles

    Hi All, It's my first week working with C# the requirement is to edit the Time of an analog Clock by dragging it's handles I have code for a clock from here https://www.youtube.com/watch?v=0dtbGKSF1R8 , is this even possible ? if so can someone give me a clue please. I know I have to work...
  18. E

    (Austin, TX) Wanted: .NET / C# Developer with a heart of gold

    Wanna work with a bunch of a$$h0les? Neither do we. Good Character = Good Culture At Engagency, culture is the natural result of attracting good people. We believe that a good company culture depends as much on what you give, as what you get. It?s the character of each individual that defines...
  19. C

    Multiple connection strings

    I have a winforms application & depending on the user selection regarding SQL authentication there are 2 possible connection strings :- - using (var con = new SqlConnection(String.Format("Data Source={0}; database={1}; Integrated Security=True", Sql_ServerName, Sql_DataBaseName))) - using (var...
  20. Jonny123

    increment not working in an equation outside loop

    I am trying to get the program to display an average right of the ten questions i am asking, i dosn't seem to work properly. Random randomNumbers = new Random(); int number; int number_two; int i = 0; int answer = 0; int...
Top Bottom