Posts by Bruno H. • 1,283 points
47 posts
-
0
votes1
answer126
viewsA: error: RPC failed; Curl 18 transfer closed
It was an instability with the service server.
-
0
votes0
answers31
viewsQ: Image is recorded in the folder I created and another in the camera gallery
I have the following problem I have an app, which takes photo however and Torola device is recording in the gallery in addition to record in the folder I said it would. Intent photo = new…
-
2
votes3
answers10056
viewsA: How to run the emulator from the windows command line?
I had a problem with Linux: Emulator: command not found (command not found) how this solution can help someone I’m putting here. enter the location of the Android SDK folder on your example machine…
-
2
votes1
answer744
viewsA: Change the Application name in Xamarin Forms - Problem
Aletere the line in your Mainactitivity.Cs [Activity(Label = "Nome", Icon = "@mipmap/icon", Theme = "@style/splashscreen", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize |…
xamarin-formsanswered Bruno H. 1,283 -
2
votes1
answer154
viewsQ: I have a Javascript function in Chrome but not in Firefox
I have a javascript function that doesn’t let write numbers, only letters, in Chrome it works exactly as it is proposed, now in Mozilla it doesn’t work, below my function: function soletra(event) {…
-
6
votes1
answer14186
viewsA: Counter javascript/html
Your Count this way will always be 0: function contador() { var count = 0; count++; if(count == 10){ alert("QWERTY"); } }; then the correct would be you declare the cont outside the function…
-
1
votes1
answer419
viewsA: Date to oracle conversion
1º only in the session the user change the format sql> ALTER SESSION SET NLS_DATE_FORMAT = 'DD/MM/YYYY'; sql> select sysdate from dual; SYSDATE SQL> ALTER SESSION SET NLS_DATE_FORMAT =…
-
2
votes2
answers960
viewsQ: Problem with Datepicker
I have a datepiker but it’s not working in a good way if I click on input it works cool, but when I click on the calendar image it neither passes the value and also does not receive what is in…
-
4
votes3
answers246
viewsA: Numeros javascript comparison
Well lacked the logic operator AND(&&) or OR(||), and in the code does not declare the tempo_considerado function myfuction(){ var valor_total = 0.00; var tempo_considerado =…
javascriptanswered Bruno H. 1,283 -
1
votes1
answer126
viewsQ: error: RPC failed; Curl 18 transfer closed
I cloned a repository in Bitbucket, but this error appeared error: RPC failed; Curl 18 transfer closed with Outstanding read datab remaining fatal: The remote end hung up unexpectedly fatal: Early…
-
1
votes1
answer2185
viewsA: Calculator in Javascript
Your problem seems to be on that line: conta_mais(parseInt(pn.value),parseInt(sn.value)); <title>Calculadora</title> <script> window.onload = function(){ var btn =…
-
1
votes3
answers2812
viewsA: How to convert a string to boolean?
var varbool = Boolean('false'=='true'); alert(varbool); …
-
3
votes1
answer836
viewsA: How to start a textbox with a value of 0 (zero)?
At the event Form_Load() You put: seuTextbox.Text = "0"; As mentioned in the comment of Renan Silveira you can do so:…
-
1
votes0
answers48
viewsQ: With knockoutjs make a Checkbox with Radiobutton behavior
Well I already asked a question I tried all the code that was passing me and nothing, and it was marked as duplicate, However as can be seen in the code below does not work as desired. function…
knockoutjsasked Bruno H. 1,283 -
3
votes3
answers261
viewsA: Take the value of the Jquery variable out of if
You are declaring the variable within a function in the click so it only works the Alert inside the $("#passo_4").click(function(){}); var his = 0; $("#passo_4").click(function(){…
-
1
votes2
answers914
viewsA: Put vectors in order. JAVA
Well I separated her For that completes the Vector of For that organizes since you need has a value for exchange when it does this reading vet[j] > vet[j+1]) you have a value in j but j + 1 no,…
-
4
votes1
answer863
viewsQ: Make a select and checkbox to have a behavior similar to radio button
Knockoutjs I’m having a hard time getting values from input within a table to compare it would have to be like a radio button, but there are two checkbox as can be seen in html down below: function…
-
2
votes1
answer405
viewsA: What is a balanced tree and what are the advantages of using it?
What is a balanced tree? A balanced tree and a structure where the depth of its knot is always arranged increasing or decreasing being the root being the central value from the one of its leaves ,…
-
1
votes2
answers312
viewsA: C# check "null" or "Nan" or "false" or "0"
Well I did so to try to solve this problem: I created a Method: public string ValidNull(string val) { switch (val) { case "null":return null; case "NaN": return null; case "false":return null; case…
-
3
votes2
answers44
viewsA: Persistent error in C# database
You are using object OleDbConnection to receive an object OleDbDataReader, therefore the mistake Cannot implicitly Convert type 'System.Data.Oledb.Oledbdatareader' to…
-
3
votes2
answers312
viewsQ: C# check "null" or "Nan" or "false" or "0"
I’m having a validation difficulty. I have a View that sends to the Controller information, where in view is used knockoutjs, but there is time that he sends a null or "null" or "NaN" or "false" or…
-
2
votes1
answer431
viewsA: Display alerts in an Application Console c#
Well, I’m guessing you’re using Windows: You can put the error message in a messgeBox: using the System.Runtime.Interopservices; using System; using System.Runtime.InteropServices; namespace…
-
2
votes1
answer612
viewsQ: What would be Pro*C/C++?
From what I saw it is using in Oracle, but I can use with another Bank? Pro*C/C++ useful these days? Could pass a Code Example? Does it differ from PL/SQL? Or are they used together?…
-
2
votes2
answers235
viewsA: Background-position is not working
I don’t know if this is it, but width: 200px is giving conflict, aside { height: 100vw; background-color: #fff; border-right: 3px solid #000; font-family: 'Lato', sans-serif; text-align: center;…
-
3
votes3
answers1868
viewsA: Mask in table values
Good I’m using this plugin https://igorescobar.github.io/jQuery-Mask-Plugin/ where you open the src file => jquery.mask.js and matter to your project and make the proper reference. in your view:…
-
0
votes2
answers167
viewsQ: How to check if several dynamically created input is empty?
I have this Input that is generating via Knockoutjs: <input type="text" class="req" placeholder="" data-bind="value:Request" /> But I have to check if it is empty and if I am applying a…
-
3
votes3
answers85
viewsA: Jquery ischecked does not work
function Filtra(evt) { var respondeu = ""; var valor = $(evt).val(); if($(evt).is(':checked')){ respondeu = 1; …
-
1
votes2
answers554
viewsA: How to make the main form invisible c#
Good is also possible like this, but out of curiosity since it is used to make the form transparent: private void button3_Click(object sender, EventArgs e) { Form2 f = new Form2(); this.Opacity = 0;…
-
6
votes1
answer264
viewsA: How can I insert these characters into C#
Well I made a menu once as follows: where (char) ' u2554' you replace according to the link table on the Wiki string MenuDesenho = string.Empty; for (int i = 0; i < 36; i++) { MenuDesenho…
-
2
votes3
answers706
viewsQ: How to select value in Select
How to select a value that is not the first according to an ASP.NET variable Razor C#. <select id="MeetingFrequency" name="MeetingFrequency"> <option value="0" selected…
-
0
votes2
answers347
viewsQ: How do I make my Dropdownlistfor equal to Select
How do I leave my Dropdownlistfor, like this select where the first field cannot be selected. <select> <option value="0" selected disabled>Selecionar</option> <option…
-
1
votes0
answers43
viewsQ: Error in View message
I have that code: $.ajax({ url: "/InternalAuditRecord/SaveInternalAuditRecord", type: "post", data:…
-
1
votes0
answers73
viewsQ: someone knows why this error in Ionic
Using Fedora and this error appears someone knows how to solve Running command - failed! [ERROR] Cordova encountered an error. You may get more insight by running the Cordova command above directly.…
-
1
votes1
answer317
viewsQ: Put the bug in my view
How do I play these messages in my view? Code that returns the message: public ActionResult SaveInternalAuditRecord(InternalAuditRecord criticalAnalysisRecord, string idResponsibles, string…
-
1
votes0
answers22
viewsQ: I cannot show error in my view
Well, I have a view and I can not show the error messages, the code is very large and put in a summary but need some part I am editing. Controller Before it was like this: if (!ModelState.IsValid) {…
-
1
votes0
answers52
viewsQ: Knockoutjs code to work after returning from Controller
I have an application that uses Knockoutjs, but when saved it returns some error the button that uses Knockutjs to and does not work, only after updating the page it comes back working properly,…
-
1
votes0
answers58
viewsQ: Place graphic trend line
I have a Graphic in my project and I needed to put a trend line, but I have no idea where the code goes for this or how to do it: (function () {…
-
1
votes3
answers1793
viewsA: How to divide integers and get value with decimal part?
public class Program { public static void Main() { double soma = 7; double cont = 2; double media = soma / cont; WriteLine(media); } }…
-
0
votes1
answer36
viewsQ: Delay in Angularjs used in file . cshtml
I have a page that when starting it gives a Daley in the checkbox and in the text field as in the figure below: someone knows me why this happens, and a possible solution…
-
2
votes1
answer737
viewsA: Send email to multiple recipients
listemail is receiving all the emails you want to send by separating with ",". if you are Try to do it this way: string[] emails = listaEmail.Split(','); foreach (var endereco in emails) {…
-
1
votes1
answer49
viewsQ: How to make the Mapper module in EF?
How to make the Mapper module in Emptyframework 1 for n in two tables? Tabela 1 - clienteID - nome - endereçoID Tabela 2 - EndereçoID - rua - bairro - cidade…
entity-frameworkasked Bruno H. 1,283 -
2
votes1
answer75
viewsQ: I want to search information of a table with EF
I have the following form code: @model Domain.Entities.Tabela1 @using WebUI.HtmlHelpers @using WebUI.Extensions @{ ViewBag.Title = "Tabela"; Layout = "~/Views/Shared/_Master.cshtml"; } <article…
-
2
votes0
answers19
viewsQ: Knockoutjs Div changes update tag <a>
I have this Div with knockoutjs when she changes I have to change my tag to Hide or Visible <div style="text-align:center; margin-top:5px; width:150px; float:left;">${Name()}</div> <a…
-
0
votes1
answer221
viewsQ: Consult by Date
Well I am using the EF with the following code to query it brings the query by name and type but by date not, since the time is not in my filter with the time 00:00:00 it brings correctly the time…
-
0
votes2
answers218
viewsA: ASP.NET My Javascript is not working
See the most well explained @LINQ response. tries to put in like this $(document).ready(function () { $("#num").keyup(function (event) { if (event.which != 13) return; var elm = $(this); var lines =…
-
1
votes3
answers899
viewsA: Angularjs Date Subtraction
Good I find out what was happening my date had the wrong format when coming from the bank, so I did this: var data_do_banco = start.startDay.replace("-", " ").replace("-", " ").substring(0, 10); var…
-
4
votes3
answers899
viewsQ: Angularjs Date Subtraction
Good, How do I subtract a day with the angle old.endDay = start.startDay; Example: startDay = 01/05/2017. endDay = 30/04/2017. I’m sorry I said that wrong. actually I wanted to strip one day of…