132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for acrocephalus

Hello, I am generating batch qr codes using the qrcode 5.0.1 package and the following code: from qrcode import * import os,dateutil import pandas as pd from PIL import Image #Importar base de dades pathFile = ('E:\Usuarios\Daniel\Documents\APNAE\QR\Llistat_socis_alta.csv') socisAPNAE = pd.read_csv(pathFile, delimiter = ';', encoding='ISO-8859-1') #generar codi QR for i in …

Software Development python
0
114
Member Avatar for acrocephalus

Hello, I have a code which generates QR codes from a csv file: #Importar base de dades pathFile = ('E:\Usuarios\Daniel\Documents\APNAE\QR\Llistat_socis_alta.csv') socisAPNAE = pd.read_csv(pathFile, delimiter = ';', encoding='ISO-8859-1') #generar codi QR for i in range(0,len(socisAPNAE.index)): soci = socisAPNAE.iloc[i,1:6] nom = socisAPNAE.iloc[i,1] nom = nom.encode('latin-1') qr = QRCode(version=20, error_correction=ERROR_CORRECT_L) qr.add_data(soci) qr.make() im …

Software Development python
Member Avatar for acrocephalus
0
347
Member Avatar for vian.kwok.18

I have an array of seven numbers and I would like to sort the numbers from the smallest to the largest. How should I do it?

Software Development pascal
Member Avatar for vian.kwok.18
0
215
Member Avatar for jasonj2248

So I have like 20 errors in here can someone tell me what I did wrong or how I can fix them? I'm trying to write a program to get the area and perimeter of a triangle. import java.util.*; public class myTriangle3 { //Declarations static double area; static double perimeter; …

Software Development java
Member Avatar for Slavi
0
134
Member Avatar for Levellous

Sup peeps, hope you guys can give a mate a hand with this default constructor problem. I get this error when i instantiate a class: error LNK2019: unresolved external symbol... This is my LavaLand.h ... class LavaLand { highscore &h; public: LavaLand(); void setup(); }; ... LavaLand.cpp void LavaLand::setup() { …

Software Development c++
Member Avatar for Levellous
0
187
Member Avatar for hkumar1993

Ok so first off, I've recently returned to C++, and I'm very new to both OpenGL, and Code::Blocks IDE (used to use Bloodshed Dev before) .. so please don't flame me if there's a basic solution to this I'm trying to read a ".asc" file which has the vertices of …

Software Development c++ ide opengl
Member Avatar for hkumar1993
0
2K
Member Avatar for Fazal Hussain

Please suggest alternate code for Traingular matrices. #include <iostream> using namespace std; int main(void) { int rows = 5, cols = 5; int **arr; // allocate and initialize the array arr = new int * [rows]; for (int r = 0; r < rows; r++) { arr[r] = new int[r …

Software Development c++
Member Avatar for David W
0
88
Member Avatar for kdejan87

This is writen using vb.net and sqlCe. I'm interested how this could be written in SQL server 2008 and vb.net. Dim rs As SqlCeResultSet = cmd.ExecuteResultSet(ResultSetOptions.Updatable Or ResultSetOptions.Scrollable)

Software Development sql vb.net
Member Avatar for Begginnerdev
0
344
Member Avatar for Sarkurd

Hi I wrote a Singleton class but i got an error while controlling instantiation captain.h #ifndef CAPTAIN_H #define CAPTAIN_H #include <iostream> #include <string> class Captain { private: Captain(); Captain(const Captain&); Captain &operator=(const Captain&); std::string name; public: //Controll Instantiation static Captain &GetInstance(); //Set Name of the Captain std::string GetName(); //Get his/her …

Software Development c++
Member Avatar for Sarkurd
0
191
Member Avatar for doha786

i have few txt files in one folder. i need a program that will open that folder and read all files one by one to find a string and give me output. so far i got code to do this from only one particular txt file. but i cant make …

Software Development java
Member Avatar for JamesCherrill
0
4K
Member Avatar for puk.akhimien

Hi, I have written an application that identifies if the fisrt number entered is a multiple of the second number. The application also displays the multiplication table of the second number. What I am now trying to do is to identify which postion the multiple is. For example, 5 * …

Software Development java
Member Avatar for Puk_1
0
154
Member Avatar for nhrnjic6

Am trying to build a function that will take string, sub_string that will be replaced, and new string that will replace that sub_string. Now before you all go with strstr, i dont want to use <string>. Anyway I got my code working to find a index of a char array …

Software Development c++
Member Avatar for vijayan121
0
234
Member Avatar for whitebloodcell

I have a large database of tennis match reords played in the ATP and WTA tours over several years. I am going through these to generate a match history for each player in each year in each tour. I have 5 years of data and 4 tours (hence the dimensions …

Software Development c++
Member Avatar for mike_2000_17
0
297
Member Avatar for Joemeister

What I want to do is add videos to a list available for rent. In the “main” form when I click “Add” then the frmAddVideo appears where I need to insert all the video’s information. (This works 100% but…) In the frmAddVideo form there is a comboBox with values “Yes” …

Software Development
Member Avatar for Joemeister
0
268
Member Avatar for lewashby

In the program below what is the difference between rand and srand? My book says that rand returns an int between 0 and RAND_MAX, which is never smaller than 32,767. Yet this code returns a number from 1-6, how is that? I see the line `( rand() % 6 ) …

Software Development c++
Member Avatar for deceptikon
0
216
Member Avatar for newprogidk

Hello great programmers at this website. Hopefully your day has been good so far. I was wondering if you could help me with some Java errors related to the header of my program that I am doing for an assignment. Thank you millions for your help. Here is the code: …

Software Development java java-swing
Member Avatar for stultuske
0
173
Member Avatar for hydra.p

What should i study to master data structure? do you any sugestions? im a newbie programmer.

Software Development c data-structure
Member Avatar for Rashakil Fol
0
305
Member Avatar for Ivzirnalsradeys

A large program has been written for a company which rents out properties to tenants for long or short periods. There are separate data files which hold information about A the tenants B the properties C the payments made by tenants D the payments made by the company for the …

Software Development c++
Member Avatar for David W
0
188
Member Avatar for KushMishra

Hello All, I am developing an application in WPF in which I need to set a generic input bindings for TAB key for every field present in the view. I somehow managed to create a common method but now I wnat to retrieve on which field the TAB key has …

Software Development asp.net vb.net
Member Avatar for KushMishra
0
420
Member Avatar for KushMishra

Hi All, Just wanted to know on how to dynamically set the focus on a TabItem of a TabControl in WPF at runtime using bindings etc. Thanks

Software Development vb.net
Member Avatar for KushMishra
0
100
Member Avatar for sneekula

There used to be a Python module called pyglet that allowed graphics and sound. I can't find it anywhere.

Software Development python
Member Avatar for sneekula
0
257
Member Avatar for NewCoder_31

I have underconstruction project and my table is made via VISUAL DATA MANAGER, and Im using the DATA CONTROL OBJECT as my connection...Surprisingly, this error appeared when I click the button where I am calling a form that is connected to the database....What's the cause of this error?......Please Help....

Software Development visual-basic
Member Avatar for NewCoder_31
0
142
Member Avatar for V3N0M

Hi guys I am trying to build a simple calculator but I cant get the answer to show in the output in Jtextfield here is the test // Testing Calculator import javax.swing.JFrame; public class CalculatorTest { // Main method public static void main( String[] args ) { Calculator calculator = …

Software Development java java-swing
Member Avatar for JamesCherrill
0
201
Member Avatar for Schol-R-LEA

I am currently making out the plans for the milestones for the rest of this year in my long-term projects (Thelema, Assiah, and Alfheim). I was hoping that someone would be able to review these plans and help me determine which are feasible in the next four months. The overall …

Software Development file-stream github
Member Avatar for Hiroshe
0
204
Member Avatar for mcroni

hi, i have written a function that can search through a folder and display a picture in a new window if the file is present but i always have to add the image file format or extension before the function can work. is there a way i can work around …

Software Development file-system image python tkinter
Member Avatar for vegaseat
0
280
Member Avatar for HuePig

Hi, I have a class named 'roomOne' and another named 'StoneAdventure'. 'roomOne' inherits from 'StoneAdventure'. Heres the Problem: Whenever I create an #include "roomOne.h" in the header file of 'StoneAdventure' I get an error C2504: base class is undefined. Note: Everything works fine if I remove the #include "roomOne.h" from …

Software Development c++
Member Avatar for HuePig
0
205
Member Avatar for endlessdesert

Hello, I have this C# code but I get the error in the title. on the "FromFile" part. I want to simply publish images in my PC on a WPF application. How can I get rid of this error? Thanks. Code : using System.Drawing; namespace Photo { public partial class …

Software Development image
Member Avatar for deceptikon
0
349
Member Avatar for Nishant80

When i install window form application another machine database not connect ERROR :- Unhandle Exception has occurred in your application. A network related or instance- specific error occurred while establishing a connection to sql server. the server was not found or was not accessible. verify that the instance name is …

Software Development
Member Avatar for cgeier
0
283
Member Avatar for HuePig

Hi, I have a `string *input;` and that variable is initalized with `getInput();`. I initialize input in `setup()`. `setup()` is run once. this is where my problem is: I'm looking for a better logic that let me initialize `input` without getting a prompt which came from `getline(cin, line)` that is …

Software Development
Member Avatar for HuePig
0
122
Member Avatar for Nishant80

i want to import excel file into sql database in window form application c# plz give some easy and right code

Software Development
Member Avatar for du_1
0
99
Member Avatar for DawnofanewEra

Hello, I've been trying to read txt from a file, and breaking each line into words and storing them in Array. Example. txt file C001 John Smith 999999 C002 Mary Agnes 888888 Here is my code. public class Customer implements iCommand{ static List<Customer> cust = new ArrayList<Customer>(); static private String …

Software Development java
Member Avatar for niranga
0
2K
Member Avatar for andrew mendonca

For this programming exercise, you may use ONLY these instructions: and nor or ori sll srl xor Start a program with the instruction that puts a single one-bit into the low order bit of register eight ($8 or $t0): ori $t0, $0, 0x01 Now, by using only shift logical instructions …

Software Development assembly
0
220
Member Avatar for Labdabeta

Hello, I used to use Code::blocks and eclipse for code editing, but started to find them slow. I started searching for lightweight IDE's and found that the prevailing opinion is that if you are looking for lightweight code creation you should use vim/emacs, gcc and the other gnu utilities. I …

Software Development ide
Member Avatar for Hiroshe
0
299
Member Avatar for Tycellent

Hey everyone, Just trying to add to a scoreboard from a different class. The problem is that i'm not sure how to add to a scoreboard that has been previously defined in a different class. As i've instantiatied i'm assuming that has made a whole new Game (with a new …

Software Development c++
Member Avatar for tinstaafl
0
882
Member Avatar for cpopham

Here is one that is stumping me. I have an Access 2000 database backend. It got corrupted. It is a large database. I compacted and repaired it and a record came up corrupted. There was a compact error table created that has a binary column in it. The binary column …

Software Development sql vb.net
Member Avatar for aidan29
0
642
Member Avatar for micheletsigab

hey there i am trying to make quadratic equation problem solver.

Software Development c++
Member Avatar for Hiroshe
0
107
Member Avatar for Arjun_4

Hey guys, Im implementing a binary tree in C and i add values one by one into the Binary Tree , Once i select the Function to display the minimum and Maximum values the Program Crashes , Please help me fix this , greatly appreciated. Thanks . this is my …

Software Development c
Member Avatar for rubberman
0
339
Member Avatar for bro3886

I am thinking to develop a program/software to simulate autonomous driving car (artificial intelligent agent) using java. A car(agent) will move forward avoiding the obstacle in the dynamic environment. How do i start?

Software Development artificial-intelligence-llm java
Member Avatar for stultuske
0
755
Member Avatar for Tuyizere

I Need To Move a Record from one Table in a Database To another Table I am using ado in vb 6.0 plz help me!

Software Development visual-basic
Member Avatar for kgariando
0
141
Member Avatar for ahmedsa

Hi guys when i search record between two dates it works ok success but you must enter date from and dateto first to to make search i will show what i need from this example I need to search dynamic by 4 textbox 1-datefrom 2-dateto 3-EmployeeNo 4-EmployeeName but search i …

Software Development dataset user-interface
Member Avatar for ChrisHunter
0
197
Member Avatar for SharkBait

New to VB.NET :( I have a MDI form that has a menu item that can change the environment the application is running in (e.g. Prod, Test, Dev, etc.). The environment name and folder are written to the statusbar on the MDI from. There are several other forms in the …

Software Development vb.net
Member Avatar for niranga
0
290
Member Avatar for Yahia Farghaly

hi all, i have started recently learning c# and when i do some code using the hashtable, i could n't get the value of a particular key we can get a value for a particular key but do we can do the verse ?

Software Development
Member Avatar for Lucaci Andrew
0
136
Member Avatar for yulbas

Hi I am new in WCF and i am working on a desktop application in which i want to get data from my database on webserver where my domain is hosted. To connect to my database i must whitelist my ip, i want to get data from anywhere with any …

Software Development visual-studio web-server
Member Avatar for yulbas
0
203
Member Avatar for andrew mendonca

For this programming exercise, you may use ONLY these instructions: and nor or ori sll srl xor Run the programs by verifying the value of the PC is 0x00400000 (right-click the field and use Change Register Contents to set it) and then single stepping (pushing F10) and observing the results …

Software Development assembly
0
134
Member Avatar for MasterChat

Good day to all! I'm totally lost here. I am just beginning programming lessons by reading How to Design Programs and use Dr. Racket. I bump into C++ and got confused which one should I learn first. Or should I study them at the same time. Please advise.

Software Development c++
Member Avatar for MasterChat
0
222
Member Avatar for Anitha14

I want to select a node based on an attribute value. I am using C# program to derive on the attribute value which is stored in a variable. The below code returns null. How can I compare the attribute value against a variable? string posSecond = "test"; SelectSingleNode("//viewentries/viewentry[@position=posSecond]"); Thanks!

Software Development c# xml
Member Avatar for Anitha14
0
658
Member Avatar for furalise

Hi Everybody. Was hoping someone could clear this up for me. My understanding is not good in this area. The below code simply reads a string from a text file two characters at a time. It then outputs them to console then casts them to an int and then outputs …

Software Development c++ ios
Member Avatar for Moschops
0
228
Member Avatar for Mark Kim Bryan

(The power station problem) A power station is on one side of a river that is one-half mile wide, and a factory is eight miles downstream on the other side of the river (see Figure 7-21). It costs $7 per foot to run power lines over land and $9 per …

Software Development c++ objective-c
Member Avatar for Schol-R-LEA
0
361
Member Avatar for mattster

Hi There, This comes under a few forums on DaniWeb, so I've guessed and posted it here... I have two computers, both connected to the internet and running Windows 7 (Home Premium + Professional). One is my main one, the other is one I do not use. If I installed …

Software Development microsoft microsoft-access sql
Member Avatar for mattster
0
348
Member Avatar for Zulu79

I am in the process of converting a program from vb 6 to VB.Net. I am taking a large amount of data and placing it in the proper sql collum. Any help will be greatly appreciated. I am getting this error code here: If ExistsInrsTemp("NextMthDue") = True Then If InStr(NullSafeValue(rsTemp, …

Software Development vb.net
Member Avatar for Zulu79
0
211

The End.