Search results for query: *

  • Users: Kamen
  • Order by date
  1. Kamen

    Resolved application is freezing while running.

    Awesome. the problem was because of Graphics you pointed out. I'm very happy to fix it with you and JohnH, jmcilhinney's help. Thanks for your staff's kind explanation. I love this forum really. Best Regards.
  2. Kamen

    Resolved application is freezing while running.

    While debuging LinearGradientBrush , I got to know error msg like this. "To use interpolation colors, the property must be set to a valid ColorBlend object. The ColorBlend object must be constructed with the same number of positions and color values. Positions start at 0.0. Must be in the range...
  3. Kamen

    Resolved application is freezing while running.

    Ok, I see. BTW, the argument exception error is happened in this section. using (SolidBrush sb = new SolidBrush(Color.FromArgb(255, 114, 118, 126))) { using (StringFormat sf = new StringFormat() { LineAlignment = StringAlignment.Center, Alignment = StringAlignment.Center }) {...
  4. Kamen

    Resolved application is freezing while running.

    So the value of radius in AddArc should not 0 as a parameter absolutely? If I want to use 0 value too, how can I fix it?
  5. Kamen

    Resolved application is freezing while running.

    while debuging with above code, I got argument exception error "Parameter is not valid". what's wrong with me? Could you help me with above my full code? with example code snip employing using?
  6. Kamen

    Resolved application is freezing while running.

    is it right? And also in this case I don't need to dispose anything?
  7. Kamen

    Resolved application is freezing while running.

    Like this? using(SolidBrush sb = new SolidBrush(Color.FromArgb(255, 114, 118, 126))) { using(StringFormat sf = new StringFormat() { LineAlignment = StringAlignment.Center, Alignment = StringAlignment.Center }) { e.Graphics.DrawString(text...
  8. Kamen

    Resolved application is freezing while running.

    Thanks for your advice. You and this c# forums always give me correct and necessary resolve within short time. I love this forum and appreciate that you help me. So I think it is no problem that make LinearGradientBrush dispose. btw, currently I'm using SolidBrush and StringFormat object...
  9. Kamen

    Resolved application is freezing while running.

    Thanks for your kind assistance. I think so but don't know correct reason and fixing way now. Application is frozen in 1 day or less than 24 hour since start running in general. Generally, when the application is first started, it rarely freezes, and it freezes after a day or a few hours. Here...
  10. Kamen

    Resolved application is freezing while running.

    Hello. How are you? I'd like to ask another help now. I made a c# windows form application, which have 2 thread and customized controls such as rounded button, gradient panel, rounded form dialog. And also it has some additional custom dll, too. I'll share current error text here. I hope your...
  11. Kamen

    Resolved How to get client's IP address and port in UDP Echo server?

    Great Thank you. You have given big help me like before. I've learned lots from you always. You are very excellent. I hope to learn more and more from you in the future. Thank you again.
  12. Kamen

    Resolved How to get client's IP address and port in UDP Echo server?

    Hello, everyone. I have some problems in customizing UDP Echo server. https://chronoxor.github.io/CSharpServer/ I'm following this guide now. I want to get client's IP address and port in OnReceived function of UDP Echo Server. this function has UDPEndpoint param named 'endpoint'. I think I can...
  13. Kamen

    Question How do I run c# application as published user within UAC dialog

    Hello. thanks for your time. I tried to make additional service for time setting and link the service into the main application but I didn't solve it yet. Maybe because I'm basically in this desktop application dev, there are so many things that I should learn. However, I'm happy to be with you...
  14. Kamen

    Question How do I run c# application as published user within UAC dialog

    You mean I should create or change my winforms app into windows service app? If so, I have no enough time to change my app dev struncture now. Just only need the way to change system time when need to change during running app as normal user. Could you explain how to change time setting by...
  15. Kamen

    Question How do I run c# application as published user within UAC dialog

    Hello. Thanks for your time. I'm happy to learn c# and windows application development more deeply from you. Honestly, I have many experiences in web and mobile development but no in desktop applications. So I understand your explanation almost but not at all. Especially, I want to know how to...
  16. Kamen

    Question How do I run c# application as published user within UAC dialog

    Hello. Thanks for your answer. As you said, I tried to make the main app run as user by that manage all files in localApp folder, and then the UAC dialog never display. By the way in this case how to set system time? You said that when there is something that you need to do that requires...
  17. Kamen

    Question How do I run c# application as published user within UAC dialog

    It is not so important for me but I'll answer why I need to change the system time. At first my app will run on PC offline. so OS will never get synch service online. And next app is ordering system and so need summing every day and require correcting time manually sometimes. You seems to dont...
  18. Kamen

    Question How do I run c# application as published user within UAC dialog

    Ok. I understand in local application data folder now. thanks for your kind explanation. But I can't understand about timezone change instead of system time. I think it is different between changing timezone and time constantly. Could you tell me in detail again? By the way my main goal is to...
  19. Kamen

    Question How do I run c# application as published user within UAC dialog

    But I don't must do any other additional operation in windows OS out of app. I need to solve all problems in my project programmatically. Is it possible? You said me that I can read/write HKCU and read HKLM without admin rights. Log data shouldn't be written in application folder, but in a local...
  20. Kamen

    Question How do I run c# application as published user within UAC dialog

    My app run with communication through COM port and should work with registry. And also need to write and delete log data file in place where app is installed in C:/program files folder. In my work experience in this project, such operation requires administrator permission. So I tried to do it...
Back
Top Bottom