Posts by João Regis • 336 points
16 posts
-
1
votes0
answers66
viewsQ: Nodemcu does not receive the data as I send via UDP Protocol
I am developing a simple application, the goal is to simply send the reading of a sensor connected to an Arduino Nodemcu to a Raspberry PI, and perform a similar reading using Raspberry and send to…
-
1
votes1
answer770
viewsA: Automatically delete a record from a table after a time interval
I use Scheduled Tasks with the CREATE EVENT command from Mysql itself. Unofficial reference from Event Scheduler here. Example of the above reference: DELIMITER $$ CREATE EVENT `archive_blogs` ON…
-
3
votes1
answer74
viewsA: How to use aggregation functions in a WHERE?
Try using the HAVING clause after Group By, much like WHERE, but check the condition within the grouping. Excellent reference on HAVING in Sqlite.…
-
2
votes1
answer589
viewsA: How to get the results of two tables by consulting one with PDO?
It seems to be just a matter of performing a query with Inner Join in a many relationship for 1, follow an example for each situation (many for 1, 1 for many and many for many): // for relationship…
-
1
votes1
answer56
viewsA: Help with app pages!
Hello, Add the line below in your application’s Oncreate() superscript method webView.setWebViewClient(new MyWebViewClient()); And define this class, still within the Oncreate method private class…
-
0
votes2
answers262
viewsA: Unlink/File_exists says the file does not exist, but the file does exist
I managed to solve, I was doing tests on my local computer, some kind of lock or permission (I couldn’t identify yet) was preventing the function is_file() or file_exists() to check the file. I…
phpanswered João Regis 336 -
0
votes2
answers262
viewsQ: Unlink/File_exists says the file does not exist, but the file does exist
Hello, I have a problem with PHP, I need a script that deletes a file in a directory, all passed by URL, as in the script I made below: <?php $file = !isset($_GET["f"])?0:$_GET["f"]; $dir =…
phpasked João Regis 336 -
0
votes1
answer326
viewsQ: Using methods from a project written in C++ in C# (Same Solution)
Hello, I need to consume methods written in C++ in a project written in C#, within . NET (both) and that are contained in the same Solution (as shown in the image below) I tried to compile the…
-
3
votes1
answer285
viewsQ: Fill Grid dynamically with Dapper framework return
I have a screen written in VB.NET Winforms, where the goal of it will be to execute SQL commands without the need to open a sql studio. For simpler commands like delete, update, alter table among…
-
1
votes1
answer440
viewsQ: Upload images with c# windows Forms and php
I’ve been trying to find a solution to my problem for at least two weeks and I can’t make it work. The idea is, I have an application Windows Forms written in C#, in which I will have a…
-
0
votes1
answer380
viewsQ: Connectionstrings: Write to app.config or windows registry?
My question relates to what is the best way to maintain the ConnectionString of my system on disk to be read as needed, ie what is the best way to do this by writing it to the file app.config, or…
-
2
votes1
answer1166
viewsQ: Dapper Framework Error: Could not load file or Assembly 'Dapper, A strongly-named Assembly is required
Hello, I use Dapper Framework to perform my SQL queries in C# Windows Forms, and recently started a new project, and came across this error: Could not load file or Assembly 'Dapper,…
-
1
votes2
answers582
viewsQ: Pass information between C#RMS
Hello, I have a problem to pass information between windows forms Forms with C#, the problem is as follows. I have a MAIN FORM, from this I call the a SUB FORM, which happens to be the son of the…
-
0
votes1
answer63
viewsA: C/C++ Error E2268 : Call to Undefined Function 'fread' in Function retornaClientes()
Personal problem solved. My immense lack of attention, my problem was this: - The fread() function receives in the first parameter the LOCATION where the contents of the binary file will be stored,…
canswered João Regis 336 -
0
votes1
answer63
viewsQ: C/C++ Error E2268 : Call to Undefined Function 'fread' in Function retornaClientes()
Hello, I am doing a project for college, in C/C++ (more C language than C++), and I have a serious problem in fread function(). DataManipulation.h | 88 | Error E2285: Could not find a match for…
casked João Regis 336 -
0
votes1
answer613
viewsQ: Operations with linear queues, moving an element to the first row
I need an algorithm that handles a linear list of type FILA. (In PASCAL, it can either be done in pseudo-code, or C, or whatever is preferable). The algorithm must take an element from the queue,…
casked João Regis 336