Posts by Don Vito • 603 points
16 posts
-
3
votes2
answers328
viewsQ: Write to "Command Line" by C#
Boas, I have a program, which uses the command line, but I can only get it to write "one line", and I needed it to write more than one without erasing what has already been written... What I got so…
-
4
votes1
answer63
viewsQ: Remove "openfiledialog" from C#field
Good, I have an Openfiledialog in my program, but I didn’t want when I "open" to appear what is in the image... If I close the window, it is "openfiledialog" in Textbox, and I want it to be empty,…
-
1
votes1
answer300
viewsQ: Automatically open my program c#
Good, I created a program to convert some file formats. Now in windows, I put by default, that whenever I click 2x on *.csr file open my program. How do I program, whenever the user opens a *.csr…
-
3
votes1
answer1053
viewsQ: Change file extension into C#
With Openfiledialog I am opening a file, and I want Load to change the extension. That is, I’ll put that the "openFileDialog1.Filter" would only be for ". txt" and I want it to change to ". cnf".…
-
7
votes2
answers8059
viewsQ: Run Windows Prompt commands and save the output in a text file
I have a program that launches a command of Prompt windows. I want to copy the output of this command and save to a text file. Example: The command is ipconfig and I want the output to be copied to…
-
-1
votes1
answer566
viewsQ: Select file without using Openfiledialog
Good, last week I asked this question: Get path from desktop At this point, I wanted the program in Load to use the Openfiledialog method, but without the user having to select the file they want,…
-
2
votes1
answer3305
viewsQ: Get path from desktop
Boas, last week I put here a question: Automatically save to Default Folder C# I have now created another form, and I want Load to automatically fetch the file from the Desktop. However I can not…
-
2
votes2
answers40
viewsQ: Filedialog doubt c#
Good, I have the following code in my program: CODE private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "Ficheiro de Configuração (*.cnf)|*.cnf|Ficheiro de Request…
-
1
votes1
answer39
viewsQ: Error in Savedialog c#
Good, I have this snippet of code in C# and everything is working, but I have an error that I haven’t been able to solve, as you can see in the image and in the code. The label1 is fetching text…
-
3
votes3
answers1452
viewsQ: Copy value between quotation marks C#
I have a Textbox that is fetching the text from another form, and now I intend to copy a value that is in that Textbox. Attached image with what I want:…
-
2
votes1
answer1118
viewsQ: Automatically save to Default Folder C#
Can someone tell me the C# method for saving a document to a default folder in Code? In this case wanted the program to automatically save itself to the Desktop. This is the code I currently have on…
-
0
votes1
answer131
viewsQ: Problem with Textbox Update c#
Have: 2 Radiobutton 1 Combobox 1 Textbox The value of radiobutton chosen goes to the TextBox plus the value of Combobox. TextBox = RadioButton + Combobox But if I change, the value of Radiobutton,…
-
10
votes3
answers1471
viewsQ: Use Command Line with C#
In my work I use the command line, and wanted to improve the work in my company. To do this, I thought of creating a program in C# for people who do not know how to work with command line. I thought…
-
2
votes1
answer379
viewsQ: Add N items to a Numericupdown-based Textbox
I created a program that generates passwords, but only generates one at a time. What I wanted was to be able to provide NumericUpDown so that the user could choose how many passwords or, which would…
-
-1
votes1
answer478
viewsQ: E-mail to my account c#
When creating my program, I put a Form so that you can "Report Error/Suggestions". In this way I put 2 textbox and 1 button. 1 textbox for Subject, and the other so that you can write what you want…
-
6
votes3
answers2029
viewsQ: Save to Notepad C#
I wonder if someone could help me with the following. I intend to put a button in my program, which by clicking, save the content of a Textbox in a Notepad Document in the folder we want.…