Most voted questions
150,413 questions
Sort by count of
-
4
votes1
answer925
viewsPVC badge printing with thermal printer
I’m with a thermal printer to do some tests of printing badges with cards pvc. At first I set up a model badge on Reportviewer and I’m generating it in pdf. And apparently she’s losing a lot of…
-
4
votes1
answer291
viewsWhat’s the difference between Nodelist and Htmlcollection?
I was reading a code when I came across the following question, I was wondering if anyone could enlighten me?
-
4
votes1
answer1755
viewsWhat does popBackStack()?
I can’t understand or find anywhere that makes me understand what the method does getActivity().getSupportFragmentManager().popBackStack(); Not even reading the documentation I could understand,…
-
4
votes3
answers12958
viewsGenerate Excel with php query
I need some help. I have a query in php and Mysql and would like to add to this query the option to export the data also to excel. It is possible to do this with php? <div id="tabs">…
-
4
votes4
answers1399
viewsDatabases for different customers
I am learning MVC 4 and would like to know if there is a way with only 1 model access different databases? For example, I have an online system and for each customer I have a separate bank. What…
-
4
votes1
answer840
viewsCapture screen return from OLT CIANET equipment with PHP
I am trying to capture data from an OLT CIANET via Telnet or SSH and I have not been successful, I want to know in which slot/UN is connected, the command to display the Onus I use is: show port…
-
4
votes1
answer2475
viewsHow to transform a list into a vector in R?
How to transform a list into a vector in R? The list is a set of words and numbers and I need to add the numbers present in the list. mylist <- list ("2 tomates", "5 tomates", "9 tomates") If I…
-
4
votes1
answer184
viewsAnimation of div, without CSS3 for future position
I have a so-called product gallery, with Ivs lined up using {display: block; float: left;} I made some Divs disappear depending on the menu selected using fadeOut() and reappear with fadeIn(). I…
-
4
votes0
answers173
viewsError returning Clgeocorder address
I was developing an app using Clgeocoder, and suddenly it stopped working without me making any changes to the code, and started returning the following error. ERROR…
-
4
votes4
answers33983
viewsHow to copy column data from one table to another table
I have a table called UC which has an email column, and I have a backup table of it. I need to copy the data (emails) from the table’s email column backup for the column email table uc, but I don’t…
-
4
votes2
answers6247
viewsRemove comma with jQuery
I have a part of a blog that is manageable. These are the TAGS. By default in the system, you inform the TAG in a specific field and it includes in the blog. The code is like this: <a…
jqueryasked 10 years, 5 months ago Felipe Viero Goulart 3,693 -
4
votes1
answer3989
viewsBlock website rotation in mobile version
I have a website that would like to lock in its position on screen when accessed from a mobile device, preventing it to rotate or rotate together with the mobile. Is there any Javascript code that…
-
4
votes2
answers144
viewsWindows registry access by javascript?
In the IE has the ActiveX that allows me to know if a record exists. Is there a way to Firefox and Google Chrome that allows me to know if a particular record also exists (using javascript) either…
-
4
votes1
answer1173
viewsLogin with different profiles
I’m developing an app for a school, where you take control of the students she has. The application makes the registration of students and registration of occurrences (suspension or warning) that…
asp.net-mvc database asp.net-mvc-5 visual-studio-2013 authenticationasked 10 years, 5 months ago Érik Thiago 2,338 -
4
votes1
answer54
viewsMsbuild Multi-proc
Has anyone there used Msbuild Multi-proc? I’m trying to use here, but I end up getting the following error: c: Windows Microsoft.NET Framework64 v4.0.30319 Microsoft.Common.targets (3390): Unable to…
team-foundation-serverasked 10 years, 5 months ago Julio Arruda 224 -
4
votes1
answer1289
viewsCustomizing Asp.net Identity - Multiple classes as User in Identity
We know that our user on Asp.net Identity is the class named after ApplicationUser I would like to create other classes that inherit from her Why? Why, say I have the Customer, Seller, User class. I…
-
4
votes1
answer2820
viewsRender pages within _Layout.cshtml of other types. Asp.Net MVC 4
I’m basically developing a kind of social network, but I’m having some problems rendering pages inside my _Layout.cshtml page. Html <ul class="dropdown-menu"> <li class="header">Você tem…
-
4
votes4
answers713
viewsSearch from between dates
I need to search in my Mysql age of some registered collaborators. I have the field dt_nascimento and I need for example to find collaborators who are between 20 and 30 years old, how can I do this?…
-
4
votes1
answer1237
viewsProblem passing parameter via GET MVC
I can’t get the figures by GET within a controller or action, example: Doesn’t work: example.com/controller/?q=nome example.com/controller/action/?q=nome Works: example.com/?q=nome Note: POST type…
-
4
votes2
answers465
viewsWindows Phone does not load . font in CSS
I’m making an HTML5 application Responsive, using Bootstrap and Smartadmin, etc. Works on all devices. Including Internet Explorer 8, 9, 10 and 11 but on Windows Phone 8 (with the latest update that…
html5 css3 twitter-bootstrap windows-phone css-font-faceasked 10 years, 5 months ago Dorathoto 7,426 -
4
votes1
answer1383
viewsError while creating PDF file on Android
I have a problem to create a PDF using iText on Android. I have to save in the device’s internal memory, but this giving error because I do not know the way to save because in the tutorial he saved…
-
4
votes1
answer602
viewsMinimum value of a row excluding zero (R)
TIMP3 TOTS3 UGPA3 USIM5 VALE3 VALE5 VIVT4 VLID3 WEGE3 1 0.7941716 0 0.00915221 0.2751215 0.3803796 0.5162442 1.505921 0 0.5559166 2 0.7710909 0 0.09351134 0.3925726 0.3687917 0.5158750 1.469548 0…
-
4
votes2
answers363
viewsEF Relationship between 3 Tables
I am learning Entity Framework using Code First and found a difficulty with relationships. I have three tables in the system that I’m making: Flow (Key = ID_FLUXO); Step (Key = ID_PASSO); Acao (Key…
entity-frameworkasked 10 years, 5 months ago Rubens 115 -
4
votes1
answer247
viewsjQuery Window plugin gives "$ is not defined" error
I’m having the following problem, I found a plugin, jQuery Window, that opens windows with minimize button, maximize, etc., and opens pages inside this window, only that I’m not able to make it…
-
4
votes1
answer830
viewsHow to access elements of an iframe from an external page?
I need to access an id inside an external page I’m rendering in an iframe on my site. That permission error is occurring. How to resolve this? This is the page link:…
-
4
votes1
answer9073
viewsSend and receive image via Webservice
I’m developing an app where I need to convert an image to JSON and send it to a Webservice. Later I will need to perform the reverse path, IE, receive a JSON image of a Webservice to present it to…
-
4
votes1
answer281
viewsHow to make a Slug pagination in Cakephp?
Cakephp by default generates a pagination with indexes, for example: noticias/listar/page:2 I would like to make a pagination in this way: notícias/listar/2…
-
4
votes3
answers2200
viewsHow to group mysql results by foreign keys in a single array through a single query?
Let’s say I have 2 tables, one with phone numbers, and one with sectors: Ex. tb_extensions: id, branch, group_id(fk). id | ramal | grupo_id 01 | 1234 | 01 02 | 2345 | 01 03 | 3456 | 02 04 | 3457 |…
-
4
votes2
answers2192
viewsDecimal places when using Println in Java
I have the following problem when I have this function printed System.out.println("Area do Tetraedro = " + c1.getArea()); the value of it is very great, example: Tetraedo area = 389.71143170299734…
javaasked 10 years, 5 months ago IMoonBlackI 364 -
4
votes2
answers32773
viewsSpacing between html paragraphs
At first I want to say that I am beginner in the area, I started to attend recently Information system and my question is to perform a work worth note. by using the tag: <p>primeiro…
-
4
votes2
answers1829
viewsDifficulty running emulator for Android
I’m not getting to run the emulator Android. If I try to run the applicative I get a message from IDE: The Selected Emulator is not running. Do you want to start it? Of course, there’s no emulator…
-
4
votes3
answers7464
viewsRound numbers in C# to decimal 0 or 5
I need to round up numbers in such a way that they only have a decimal value of 0 or 5. For example 1 -> 1 1.1 -> 1.5 1.4 -> 1.5 1.5 -> 1.5 1.6 -> 2 2 -> 2 Someone knows a simple…
-
4
votes1
answer3291
viewsHow to pass parameter from one Controller to another in Asp.Net
Hello, I have an object that I need to pass by parameter to another Controller through the RedirectToAction, used the TempData but after any page change it loses the reference, know of any solution…
-
4
votes1
answer1169
viewsSelectonemenu of Primefaces selects an item by pressing a hot key with CTRL
I have JSF forms with some keyboard shortcuts, for example, CTRL+S triggers Submit to save data. The problem is that when a key combination is pressed into a field <p:selectOneMenu>, the first…
-
4
votes3
answers3201
viewsPutting favicon on multiple pages on the same site
There is the possibility of using a different favicon for each page of a website? For example, I have a site with ten pages, I want to put a different favicon on each of the pages.
-
4
votes2
answers7411
viewsDetermine the field in ORDER BY RAND() in mysql
Determine which field of the table will have ORDER BY RAND() Example: display random data according to field (id_category) As I put one: WHERE ORDER BY RAND() id_categoria ???
-
4
votes1
answer188
viewsPartial does not render
I have a problem with my application. What happens is that I am not able to render a partial in another view. Here the partial code: @model CEF01.Models.Ocorrencia @using…
-
4
votes1
answer213
viewsHow to increase the thickness of a text-shadow
It is possible to increase the thickness of a text-shadow ? Look at that one EXAMPLE in Jsfiddle Simply, it’s like I haven’t put one text-shadow, becomes invisible.…
cssasked 10 years, 6 months ago Alexandre Lopes 2,769 -
4
votes1
answer248
viewsjQuery Unique, difference in Chrome and Firefox?
I’m having an unexpected behavior with the uniquejQuery. The following command: var x = [1,2,1,2]; var y = $.unique(x); document.write(y); Chrome results in 1,2 (which is correct), but in Firefox…
-
4
votes1
answer2696
viewsHow to make a Viewbag.list receive a List<Keyvaluepair<string, string>>?
How should I pass a list (List<KeyValuePair<string, string>>) for view for ViewBag? My code: string grupo = "ConfigsPortalWebTextos"; List<KeyValuePair<string, string>> lista…
-
4
votes3
answers4318
viewsHow to set your own domain in Heroku?
I bought a domain and need to configure together my application that is in Heroku. How to do this?
-
4
votes2
answers576
viewsHow to get the last id inserted in Asp.net?
I’m making a website on ASP.NET, and I need to register a user/client. The question is: as soon as I enter the values in the table users, I need to get the id of this table and use in the table…
-
4
votes4
answers1297
viewsDownload excel file
I created an excel file, but now the user needs to download, how can I do ? follows my method : public PartialViewResult ExportarParticipantes(int idPeriodo) { Regex reg = new Regex("[/ :]"); //…
-
4
votes1
answer226
viewsHow to make "OR" between Subquerys using LINQ C#
I would like to implement with LINQ C# (Using Nhibernate as ORM), the following query: return (from t1 in Session.Query<Tabela1>() join t2 in Session.Query<Tabela2>() on t1 equals t2.T1…
-
4
votes2
answers7146
viewsHow to make buttons of various formats in java?
I am creating a little game using Swing, and would like to make buttons with different formats, the way I choose. For example: a round button, or an eye-shaped button, for example. And if you know,…
-
4
votes4
answers917
viewsHow to check for value in a PHP array?
When I enter the page PHP already has an error: Notice: Undefined index: name in C: wamp www index.php on line 41 Here is the code: include ("conexao.php"); $nome = $_POST["nome"]; $resul =…
-
4
votes4
answers4106
viewsInstantiate class as another class’s Property
I have two classes created within the same namespace, being: public class Pessoa { public int idPessoa { get; set;} public string nome { get; set;} } public class PessoaFisica { public Pessoa pessoa…
-
4
votes2
answers266
viewsUpdating Header with Jquery after page reload
I have a partial in Rails to load my header in all pages.. _header.html.erb: <ul class="nav navbar-nav"> <li><%= link_to "Home", root_path %></li> <li><%= link_to…
-
4
votes1
answer1102
viewsHow to give Play/Pause in a SWF contained in an HTML?
My HTML is like this: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="440" id="movie" align=""> <param name="movie" value="swf-file.swf"> <param…
-
4
votes1
answer952
viewsAdding Referenced DLL to a C#Executable
I developed a console application in C# that makes use of a referenced dll. After batch build and generating the application executable, I tried to run it on a computer that did not have this dll,…