Interesting questions
-
0
votes1
answer76
viewsMethod malfunction Remove at position defined in Dynamic List
The following method performs a removal of an element at a pre-defined position in the test class but appears not to be working even if there are no syntax errors and errors in the teacher’s test.…
-
1
votes2
answers1480
viewsComparison of elements from a JAVA list
I would like you to shed some light on that exercise. I need to print on the console the name and price of the two most expensive products read from a file .csv but it is only printing the last name…
-
0
votes1
answer822
viewsCreate button to advance video
I tried to create a javascript function to allow you to skip a few seconds in a video, but when you click the video button it just starts again. var video = document.getElementById("video1"); var…
-
0
votes1
answer327
viewsHow to create a list of Roles in Claim using ASP.NET Core
I made an authentication using Claims with cookies in the ASP.NET Core. In the Method below, the object by parameter brings the login information and inside it has a list called PerfisDeAcesso. How…
-
7
votes1
answer11995
viewsKeep checkbox selected by default
How can I make my checkbox appear checked for everyone who enters the site once it has been checked? I am creating in the html field of Wix, free version. The code template I’m using is as follows:…
-
0
votes1
answer1098
viewsProgramming Resta-Um using Monte Carlo Method
I have little experience in Java and I’m trying to apply the Monte Carlo Method in Combinatorial Game Theory. I’m trying to demonstrate the Leftover Game Method where it needs to be solved using…
-
0
votes2
answers461
viewsTake input arrows type number without Bootstrap
I looked for a question that would help me, but she taught me how to get the arrows out of the input with Bootstrap. I’d like to know how to get them out without Bootstrap. <input type="number"…
html5asked 6 years, 7 months ago Samuel Cavalcanti 127 -
-1
votes1
answer4358
viewsProblem with uploading files to the server
I’m learning to use a server cloud and I’m having trouble uploading files. I made a code with simple PHP and HTML: <form action="" method="post" enctype="multipart/form-data"> <input…
-
0
votes1
answer37
viewsValidate upload of csv files
I have a form that one of the fields asks for a file. The point is that only files . csv should be allowed, but I’m not getting the validation. Follow the code below with my last attempt. Filing…
-
2
votes1
answer734
viewsHow to represent the Real type in C#?
I have an existing table in a bank of a client of mine and there has an attribute with the data type REAL. Like I do at C#? float or decimal? Which is the best way?…
-
3
votes1
answer86
viewsLoading multiple libraries with loadlibrary
I have two libraries, sph.dll and mydll.dll, and I try to load them using Loadlibrary as shown below: HMODULE hlib = LoadLibrary("mydll.dll"); if(!hlib){ printf("error"); MessageBox(NULL, "Erro…
-
0
votes1
answer479
viewsHow to save file from one folder to another?
I have a listview which displays the files from an external folder (usb). I want to select one of these files and save in an internal folder (Basket). Here it is when I select an item of this mine…
-
1
votes2
answers1587
viewsCreate line chart windows form
Hello, I need to create graphics in windows form of dynamic forms, this working correctly, however I would like the graph to be of line, and this generating of bars, anyone could help me? Code:…
-
2
votes1
answer129
viewsMysql Event Scheduler needs super privileges
Good morning, I have a website hosting in a company, I have created a very simple system that through an event that runs a certain time in a certain time and makes changes in the elements of the…
-
0
votes1
answer29
viewsHighcharts and C# - Javascriptserializer loses value after postback (with updatepanel)
I am building the category (Xaxis) and the data series in Highcharts through Javascriptserializer. The structure works perfectly when using in Page_load, but when postback (click on Asp button…
-
1
votes3
answers60
viewsCopy row to identical table - mysql
Well, I have 2 identical tables in the mysql database, where I registered photos in one, and forgot the other. How do I copy the data from the field foto of TABLE 1 for TABLE 2. But only in that…
mysqlasked 6 years, 3 months ago user175046 -
2
votes1
answer82
viewsFocus on the first validation element - jQuery
Hello, With the function below, I validated required fields. In this case, I don’t use this function to submit the form, but rather to add items to the object. However, I want to focus on the first…
jqueryasked 7 years, 4 months ago Wagner Fillio 1,328 -
0
votes0
answers528
viewsFailed to connect to server - Unable to resolve host "play.googleapis.com": No address Associated with hostname
I’m creating an app in Android Studio that will send information to a web service that will insert the data in the database. However when I press to enter the data, the program returns this error:…
-
2
votes0
answers156
viewsTwo databases with PHP PDO?
I’m trying to make a connection to two databases with PDO ta thus. Config.php <?php class config{ var $host = 'meuhost'; var $usuario = 'meuusuario'; var $senha = 'minhasenha'; var $db =…
-
0
votes1
answer18
viewsApp service with the same name in Azure
If I delete an app service in Azure, I can create another app service with the same name?