Posts by Bruno Felipe Kouuds • 185 points
12 posts
-
1
votes2
answers88
viewsQ: How to save the output (stdout) of another program to a file using Python?
Example, I give the command on the terminal: import os os.system('ipconfig') This returns me the ipconfig equal to the command in CMD, but I need to take the result that showed in the terminal and…
-
1
votes1
answer4397
viewsQ: Center Horizontal Menu on Top of Screen in CSS
My menu is on the left of the page, I want to leave it centered, How do I do ? Follow my HTML page and My CSS: <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta…
-
1
votes1
answer15411
viewsQ: Creating a . BAT and executing the code with administrator privileges
How do a . bat and run and line code as ADM directly via code ?
promptasked Bruno Felipe Kouuds 185 -
1
votes3
answers3786
viewsQ: Click on a button on a web page automatically
Like a button click on a web page automatically via Javascript?
javascriptasked Bruno Felipe Kouuds 185 -
0
votes1
answer1720
viewsQ: Standard Windows Form Actions [Minimize - Maximize - Close]
I’m using the visual studio - Windows Forms, and by default the form has the control buttons of the "Minimize" another of "Maximize" and another to Close the form that is a "X", I need to manipulate…
-
6
votes3
answers364
viewsQ: Drag and Change Position of a Groupbox at Runtime
I have a groupbox that I wish the user could drag and change the position at runtime, someone imagines some way to do this?
-
2
votes3
answers1724
viewsQ: Add Datagrid column with valid values only
I’m using this function to add a column of my datagrid public void Somatorio() { decimal total = 0; foreach (DataGridViewRow row in dgv_inico.Rows) { total +=…
-
2
votes1
answer139
viewsA: Open system32 programs by C#
I was able to solve by removing the selection of the options "to hurt 32 bits" in Build Properties. The point was that for some reason he was not finding it due to the S.O. version set in Properties…
-
-2
votes1
answer139
viewsQ: Open system32 programs by C#
I am trying to run Active Directory from my machine via C#. I can open all other common programs without problem. The program is installed in C:\Windows\system32\dsa.msc, but Visual Studio shows an…
-
0
votes3
answers2857
viewsA: How to make a string in Appsettings and use it later
To put in a txtbox you must do this: txtbox.text = Properties.Settings.Default.teste; To save is so: Properties.Settings.Default.teste = txtbox.Text; Properties.Settings.Default.Save();…
-
0
votes3
answers866
viewsA: Entering numerical data in the database
After much searching I figured out how to do to convert, 1º in your bank will have to put the value field as Decimal(10,2) 2º at the time you give the insert into vc you have to replace the comma by…
-
0
votes3
answers866
viewsQ: Entering numerical data in the database
I’m having trouble inserting into the database the field is formatted as DECIMAL(10,2)), when I try to insert the direct monetary value by Mysql works with the endpoint instead of the comma ex:…