Posts by Nickolas Carlos • 632 points
18 posts
-
0
votes1
answer138
viewsQ: Why does my service overload the device?
I am writing an app that has a Service whose role is to take screenshots at 15-second intervals, using an Asynctask. This service, however, overloads my device in such a way that, after a few…
-
0
votes1
answer2840
viewsQ: Sending files through sockets - Python
I’m studying sockets, using Python, and tried to make a script to send (Server) and receive (Client) files through sockets. However the script does not work as expected, the final file (received by…
-
8
votes1
answer290
viewsQ: Manipulation of Vectors in C++
Is there a problem if I walk through one vector picking up the size of it with vector size.() and then make a for about the vector? I’m asking this question because almost every time I see…
-
6
votes3
answers5917
viewsQ: Check whether the values of an array are all the same or all different
I wanted some function that returned TRUE when all values within an array were equal or if all were different, and returned FALSE if they were not all the same and not all different. In case you…
-
1
votes1
answer58
viewsQ: Problem in code C#
Does anyone know what the problem is with this code below? The following error is occurring: "The stream is not writable" TcpListener tcpl = new TcpListener(500); tcpl.Start(); Socket sock =…
c#asked Nickolas Carlos 632 -
9
votes2
answers3391
viewsQ: Webbrowser/Java Browser
How I put a kind of a 'Webbrowser[. NET]' in a Java project? I know that there are free rendering engines like Gecko, which is used in Firefox. But I don’t even know where to start, even getting a…
javaasked Nickolas Carlos 632 -
3
votes3
answers126
viewsQ: Run block if no exception occurs
I want to know if you can perform a function, a block, case NAY there was an exception in try {..}. Example: try { sout("Texto na tela"); } catch(Throwable t) { sout("Ocorreu uma exceção"); }…
-
4
votes1
answer812
viewsQ: Capture Accent Words with Scanner
I’m using a Java Scanner to capture Words/Phrases, but when I type in a word it contains or 'ç', the letter turns into a 'square'!
javaasked Nickolas Carlos 632 -
2
votes2
answers40368
viewsQ: Alignment of text inputs in HTML/CSS
How do I align these two input? I’ve been trying for over two days and I can’t get them to line up properly.…
-
0
votes3
answers2375
viewsQ: Grab part of the text that is between tags of a string
I have the following string: Meu nome é <nome> Nickolas Carlos<nome> I wanted to know how I can do in VB.NET to get only what is between the tags <nome> which in this case would…
-
1
votes3
answers6793
viewsA: How to execute multiple cmd commands in VB.net
Just put a&' between the commands. In my case it would look like this: Shell("CMD.EXE /c cd C:\LocalPath & mkdir Locale & cd Locale\")
vb.netanswered Nickolas Carlos 632 -
2
votes3
answers6793
viewsQ: How to execute multiple cmd commands in VB.net
I know that you can execute a cmd command through VB.Net, with Shell in VB.NET: Shell("CMD.exe /c {comando cmd aki}") However, when you have to use a command like cd to change the directory, it…
vb.netasked Nickolas Carlos 632 -
1
votes1
answer433
viewsQ: Open PHP Local Server from VB.NET application
I wanted to know if it is possible to open a local PHP server from a VB.NET application, it can be a very basic server, like Vertrigoserv, why is it only to run some basic code even through the…
vb.netasked Nickolas Carlos 632 -
4
votes3
answers1670
viewsQ: Limit HTML5 Audio Controls
I wanted, if it were possible, of course, that a component <Audio> HTML5 only shows the mute, and the rest did not appear; as the volume, play, pause, etc..…
-
7
votes4
answers6464
viewsQ: Insertion of a dot every 5 characters
I have the following string: "AAAAABBBBBCCCCC" There is a script that puts a dot "." every 5 characters? In case this script would return: "AAAAA.BBBBB.CCCCC."
phpasked Nickolas Carlos 632 -
3
votes1
answer112
viewsQ: Updating data in SQL
I have a table with the following fields: Nome(VARCHAR), Email(VARCHAR), Credito(INT) I wanted to know how, or with what command, I do to decrease or enlarge the field Credito. I know you have to…
-
12
votes4
answers7268
viewsQ: Get a Youtube video ID from the URL
I have this string "https://www.youtube.com/watch?v=jNQXAC9IVRw" and I want to take only the ID, ie from "? v=" How can I do this in PHP?…
phpasked Nickolas Carlos 632 -
1
votes3
answers780
viewsQ: JSON data capture with PHP
I have the following JSON file: { "version": "1.0", "encoding": "UTF-8", "entry": { "xmlns": "http://www.w3.org/2005/Atom", "xmlns$gd": "http://schemas.google.com/g/2005", "xmlns$yt":…