Posts by Pedro Stelita Vieira • 99 points
6 posts
- 
		0 votes1 answer265 viewsQ: Problem with punctuation and space when running CMD via C#I have a program in C# that uses a button to execute a command on the CMD. This command is used to take a database on a server and put it on the machine in a path you choose(Mysqldump). private void… 
- 
		1 votes1 answer1434 viewsQ: How to execute a command in CMD or Powershell, passing the commands via C#?I need to execute a command on CMD that I pass the parameters via C# for example: "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\mysqldump.exe" --column-statistics=0 -uroot -p1234 -hservidor -P3306… 
- 
		3 votes1 answer1023 viewsQ: How to create a . bat file directly from C#?I am making a program in C# and in it I run a file . bat Look how I turn the file: string batDir = string.Format(@"C:\Users\Desktop"); proc = new Process(); proc.StartInfo.WorkingDirectory = batDir;… 
- 
		1 votes1 answer129 viewsA: c# how to store data from a text box from the first runStreamReader lerserver = new StreamReader (caminhot + @"\server.log"); sever.Text = lerserver.ReadToEnd(); lerserver.Close(); StreamReader leruser = new StreamReader(caminhot +… 
- 
		0 votes0 answers194 viewsQ: Accent problem when doing mysql Dump in C# (latin1 and utf8)I made a program in c# that dump in mysql, it is very cool, it selects the bank and does the dump alone,making a sql file on my computer, and I just need to climb the bank later to where I wish.… 
- 
		0 votes1 answer129 viewsQ: c# how to store data from a text box from the first runI’m making a bakcup program in mysql database. I have a screen where or logo with server, user, password and port used in the bank. But I don’t want to keep typing every time I run the program, so I…