All Questions

2
answers

Compile Linux-ready assembly on OSX

I'm trying to do a compiler study, so I have to compile an assembly of a language called howto with nasm. The intermediate code generated by the howto compiler is as follows: extern printf segment .text align 8 global main:function main: se...
asked on 22.07.2015 / 01:28
1
answer

Access webcam to take photo

How can I access the webcam to take some photos and upload directly to my server? Is there any API that will help me?     
asked on 26.06.2015 / 21:42
1
answer

Differentiate class instance from "instance" interface

Is there any way to differentiate% w / o% w / o% w / o in the code below,% w / o% or another method? var v1 = new MinhaClasse(); IMinhaClasse v2 = new MinhaClasse(); I want to execute a method only if the v1 is "instantiated" from...
asked on 25.06.2015 / 04:16
1
answer

C # App.config - Change DB address at installation time

I have a C # desktop application that when installed on a pc, should access a Mysql DB that is on another machine. The DB server address is configured in the App.config file. At the client's request, at the time of installation I need to...
asked on 31.07.2015 / 20:13
2
answers

Generate PDF with Jasper and download without storing it

I'm generating a PDF with Jasper, I'll show you how it's done. I'm saving to disk, storing the path in the database and then downloading. I would like to know how to do so that at the moment I click to generate, it generate and already downlo...
asked on 08.07.2015 / 04:01
2
answers

How to put part of a bold text in Tkinter?

I need to display text in a GUI interface made with TkInter, however, I would like only one word in the middle of this text to be bold. I'm using it as follows: texto = Label(Frame, text="Texto qualquer com mais de 5 linhas", font= fonte qu...
asked on 29.07.2015 / 13:56
3
answers

Display hidden div according to the value of a Dropdown

I'm not aware of javascript and would like to know how I can make a div appear according to a capo's dropdown value. Example: Imagine a dropdown with values from 1 to 10. if we choose a note < that 8 it show a div     
asked on 03.08.2015 / 04:08
2
answers

Google Maps with multiple markers from the database

I have a code where it takes the longitude and latitude from where you are and places it on a map. I need to have all the latitudes and longitudes of the database with markers on each of these points appear on this map. My code is in Codeigniter...
asked on 11.08.2015 / 14:21
1
answer

Qt calling the method in another class

I am calling a method from another class after inserting data. But this is returning an SQLite error: QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work. QSqlDatabasePriv...
asked on 28.08.2015 / 01:06
1
answer

How to use redirect methods with Java Servlets

Hello, I have a server_server.jsp page with a form that when submitted goes to ServletInsertOrderService that inserts the form data into the database. I am trying to cause that when the data is entered, the browser returns to the server_ser...
asked on 09.05.2015 / 17:23