winforms

  1. SiamIT

    Generate Specific Printer Binary Data!

    Greeting, i am not sure if my title is perfect/good to understand.. but still here is the scenario.. there is a 3rd party software that save the selected printer on Printer setup dialog into registry.. but not in a very common way like the printer name, instead they save some hex/bin data to...
  2. SiamIT

    Resolved At Design View, Form Does Not Showing Any Control

    Greeting, i have manually convert a vb.net design file to c# file. though it's working/showing fine on run time.. but on design view it's not showing anything (controls) this is how it looks like on design view: And this is how it looks likes on run time: after many hours of trying i...
  3. R

    Resolved why is date from table not displaying properly

    i have a datagrid view that displays the information in a table, there is a created row which stores dates how ever when the information is loaded into the datagridview only the first number is displayed, currently the format of the date is yyyy-MM-dd, if you change the format to say dd-MM-yyyy...
  4. G

    Resolved Visual Studio 2019 Template Type Difference "Windows Forms App" vs "Windows Forms App (.NET Framework)"

    In Visual Studio 2019 there are two template types called: Windows Forms App A project template for creating .NET Windows Forms (Winforms) Windows Forms App (.NET Framework) A project for creating an application with a Windows Forms (Winforms) user interface Is the only difference where...
  5. R

    Question why am i getting insufficient parameters supplied to the command error

    i have trying to read a database and display it into a datagridview but i keep getting the error private void nameSearch() { using (SQLiteCommand cmd = connAccount.CreateCommand()) { connAccount.Open(); try { connAccount = new...
  6. G

    Question Implement Undo button on bound textbox

    I normally manually populate my forms fields and handle everything from there owing to years ago giving up owing to all the practical problems with bound Winform controls in all but the simplest scenarios. Thought I'd give it another shot. I have a grid populated with a datatable (not...
  7. J

    Question Code isn't working proprly

    Hello! Here's the following code that I have problem with. The problem is that everytime I put in Timer.start(); and Timer.stop(); the code doesn't work properly. When I hold and release shift the text is stuck at "Shift is held" and the Timer isn't starting at all. Is there any way to fix that...
  8. L

    Question Folder browsing during setup

    Hi, I'm new here and my problem is easily explained. If I create a setup project with VS2019 the graphic for the folder browsing during the setup is pretty old like it's Win95, I'd rather have one more "good-looking", perhaps one that adapts on the O.S. like the openfile dialog window. Also, one...
  9. shawnhee

    Resolved Minimize Windows Form when Clicked Outside the Application

    I want to minimize my windows form when i clicked anywhere outside it.... But this code will just close the whole program, can anyone help? I want to hide the app to taskbar, and when i press it from taskbar it shows up again....... Here is the code: protected override void...
  10. sandralopez9297

    Answered I need to write a program that automatically

    For example, I need to write a program that automatically turns on and runs the first process of an application within 30 seconds, then automatically disables it, and launches the third process of that application in 30 seconds. Within 30 seconds of running the first process, the program...
  11. S

    Printing options for DataGridView

    Hi All, Does anyone know any methodology to create direct print-out from datagridview. From googling what i found is that it's quite complex process. Is there any package available to dot the same (i.e. nugget package). I have datagridview populated from database and I want to make PDF print of...
  12. aw48

    why do I need this reference ?

    hi, can someone explain the following problem : I have dll1 with class1. dll1 references dll2 with class2. class2 has a property "public bool IsFolder" class1 has a property "public List<class2> Items" In a form I reference dll1 and have an object "class1 obj" So now when I say "if...
  13. P

    Question System.Windows.Forms.Timer issue

    Hello Everyone. This is my first post here. I'm having a very weird issue using Timers. My elapsed event isn't firing ; when it fires its completely random, not according to the interval i set. I already tried to drag the timer from the toolbox to the form, creating it manually on the STA...
  14. C

    Question BackgroundWorker. How do I display the current process by navigating through the Tree

    Scenario_1. 1. The user. Presses the "Start" button; 2. The program. Creates an instance of the user element "ucBackgroundWorker" in "flowLayoutPanel1"; 3. The program. Creates a node in the "treeView1"; "Scenario_1" can be repeated an unlimited number of times. Scenario_2. There are: - Several...
  15. C

    Question BackgroundWorker. Multithreading. How do I run multiple forms?

    There is - the main form is "Main.cs". - form with "progressBar" - "progressBar.cs" Scenario: User. The form is "Main.cs". Presses the "Start" button three times. Program. Opens three forms of "progressBar.cs" How to make the data from the progress percentage "progressBar" get in real...
  16. 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?
  17. Neal

    Question WPF vs. Winforms 2018

    One of those questions that are frequent, annual, and indecisive! When considering a new project in 2018 what platform are you choosing for Windows and why? WPF is the current and future platform, some say, yet Winforms continues to grow by 3rd party vendors (I use Developer Express) as if WPF...
  18. B

    Question How to correctly made two depending Comboboxes?

    I have a problem with two dependent Combobox. I want to do the dependent Comboboxes. When selecting an area in combobox1, a free taxi located in this area should be displayed on combobox2. I found this video on YouTube and tried to use the code in this video...
  19. R

    win form application does not run on another machine

    hi i have a win form application written c# in Visual Studio 2017. it's a simple client registration form with Linq to SQL that uses a .mdf database file stored in the \bin\debug folder. while running the application on my own machine there is no problem, and it runs fine. but when i create a...
  20. H

    Question Winform RTL sizing and positioning issues

    Hi guys, I have been trying to create an RTL (right to left) winform that uses arabic text and contains some textboxes, labels and buttons.. It is driving me crazy... after i perfectly design the form, as soon as i run it everything just loses some level of sizing and positioning. I tried to use...
Top Bottom