Posts by Raphael Villadouro • 115 points
17 posts
-
2
votes1
answer68
viewsQ: How to create an . exe that you don’t need to run as an administrator?
I made a script for a trainer for FIFA15, it’s more something to help the community, now I’m generating a version for everyone to be able to run. Follows the code: using System; using…
-
-1
votes1
answer67
viewsQ: How to get the value of this Array in php?
I’m doing an Axios.post and sending an object with JSON.stringfy() In my php file I gave var_dump in the reply and $POST returns an array like this: array(1) '…
-
0
votes1
answer66
viewsA: How to call a. php file function using Apache?
A friend of mine answered me saying that I would need routes, so I went to do a search and I was able to do it.. getting like this: include("ClassVeiculos.php"); $nomeClasse = $_GET['classe'];…
-
0
votes1
answer66
viewsQ: How to call a. php file function using Apache?
I’m trying to make an api and wanted to call different functions of the same php file. The way I managed to do, it works like this: <?php include("ClassVeiculos.php"); $Veiculos = new…
-
0
votes1
answer77
viewsQ: How to store and display time only? C# Mysql
I need to take an input time and an output two textboxs, store in the bank and later display, my code is like this: //Cadastro //No evento do botão cadastrar entradaSaida.HrEntrada =…
-
1
votes2
answers245
viewsQ: How to make a Class property of another Class? C#
I am doing a job of the facul that is for control of fleet of vehicles, I created a class Travel and I tried to put the classes Driver and Vehicle in this class. public Motorista {get; set;} public…
-
1
votes1
answer164
viewsA: How to check if there is a Usercontrol in a Panel? C# Winforms
I looked for my doubt in English and found the right answers in Stack gringo. Check if a Usercontrol is added to the Panel: if(panel.Controls.Contais(myUserControl)) { } Remove a specific…
-
0
votes1
answer164
viewsQ: How to check if there is a Usercontrol in a Panel? C# Winforms
I’m making an application that has a central Panel, and for it I’m controlling the Usercontrols, I’m using Clear, Add and Bringtofront to manipulate, i wonder if it has any function so that I can…
-
0
votes1
answer155
viewsQ: How to change the properties of a Form being inside a Usercontrol that is not in the Form? C#
In my code I am inside a Usercontrol that is not inside the Form and I would like to change the properties of my Form through this Usercontrol. Example of my code: private void btn_Click(object…
-
1
votes1
answer528
viewsQ: How to correctly fill a Listview with <List> C#
I have a method public List <Veiculos> selectListVeiculos() { try { using (MySqlConnection conn = new MySqlConnection(_conexaoMySQL)) { using (MySqlCommand command = new MySqlCommand("Select…
-
0
votes1
answer50
viewsQ: Error accessing C# Visual Studio database
I’m doing a job of the facul, and I started him on the job this week, then came weekend I put the project on the USB stick and exported the database by Mysqlworkbench tbem, I was able to import the…
-
1
votes1
answer443
viewsQ: How to put a List<> in a Listview?
I have a method to read my database that returns me a List<>, I would like to know how I display this List<> in a Listview component DLL dll = new DLL(); dll.listaVeiculoss(); //Esse…
-
0
votes1
answer182
viewsA: How to close one Usercontrol and open another via Panel
panel1.Controls.Clear(); UserControlCadastroVehicle userControlCadastroVehicle = new UserControlCadastroVehicle(); panel1.Controls.Add(userControlCadastroVehicle); I got it, it was bad for the…
-
1
votes1
answer182
viewsQ: How to close one Usercontrol and open another via Panel
I have userControlVicles inside a Panel, in this Usercontrol has a button to register a new vehicle, I want that when you click the button the panel closes or hide the current Ucontrol and show the…
-
2
votes4
answers737
viewsQ: How do I close the form I’m in?
private void BtnEntrar_Click(object sender, EventArgs e) { string login = txtLogin.Text; Conta conta = new Conta(); try { BLL bll = new BLL(); conta = bll.SelectContaByLogin(login); if(txtSenha.Text…
-
0
votes0
answers28
viewsQ: Error in Gradle Android Studio - . Gradle buildOutputCleanup cache.properties (System cannot find specified file)
People yesterday was running my project in Android Studio, then today I will open and the project does not synchronize, first I had an error with the ". Gradle/caches/4.6/scripts" then I searched…
-
2
votes2
answers3102
viewsQ: How to put a wait time for the code to run?
I’m playing a little game of memory, more like learning in Java. I will present the code and then explain the question. private void testar (ImageView img, int resultado1, int resultado2) {…