43,549 Solved Topics
Remove Filter ![]() | |
Hello! Can you give me an example of Button widget in Kivy language? I can creat the button but don't know how to use it's callback. I mean how can i set a command for the Button in Kivy? | |
Hello, so I have this program which should be creating a file called output and appending some content from another file,data.txt, accordingly. Creating file called output works but then the output file is empty. what am i doing wrong? Oh and Im suppose to use method print() but that gives … Software Development file-system java | |
If their is anyone who can help me I'm having a problem in my score calculator in which it's suppose to calculate the user input of as many numbers they wish giving the score total, score count, and score average but when the user enters the numbers they wish to … Software Development c# | |
I want to filter data by day and month only excluding the year. For example I want to find people born from day 1 to day 15 in september without including years so what i did is like... Private Sub ButtonFilter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonFilter.Click … | |
Using tasm32. GetStdHandle returns INVALID_HANDLE_VALUE in eax register. .386 .model flat extrn GetStdHandle:PROC extrn ExitProcess:PROC .data .code start: push -11 call GetStdHandle push 0 call ExitProcess end start Other APIs work fine. just having problems with GetStdHandle. Any ideas? Software Development assembly | |
#include<iostream.h> void main() { int a,b,r; cout<<"a=";cin>>a; cout<<"b=";cin>>b; while (r!=0) { r=a%b; a=b; b=r;} cout<<"cmmdc="<<a; Software Development c++ | |
so I'm working on a class for a vector which I want to hash like a tuple, and to do so, a vector instance needs acess to it's properties. here's the constructor for the performative properties I'm using, and the vector class: def newProp(): newdict = {} getter = newdict.get … Software Development python | |
Hello, Please I want to get an input of string, like mm/dd/yyyy hh/mm/ss where first mm is month,.... and second mm is minutes.... then want to split each into date object.. like ... month day year.... after each / .... I am lost here... thanks istream &operator>>(istream& inputStream, Date& dateObject) … Software Development c++ | |
I have a text file containing the following data. ascon1 201707011 John 77.5 11.5 11.5 11.5 ascon1 201707012 Grld 70.0 11.5 11.5 11.5 ascon1 201707013 Josh 79.5 11.5 11.5 11.5 ascon1 201707014 Jess 67.5 11.5 11.5 11.5 ascon1 201707015 Jack 97.5 11.5 11.5 11.5 I need the data to look … Software Development python | |
I am searching for the logical Python logical operator "or"; While C++ is: 1 || 4 (using pipes) I assume Python would simply be "or", as in: 1 or 4 Or something like this: if var1 == "image0.GIF" or "image1.GIF" or "image2.GIF": varValue = 10 Is this syntax for Python … Software Development python | |
Good day! I want to drag 2 panels at the same time during run time, I have 2 panels inside my winform and I made the 2nd panel as the header of the 1st panel.. my problem is when I drag the 2nd panel, the first panel gets left behind.. … Software Development | |
Hi, guys I am working on vb project, which will save client database. I've done the coding of ADD, NEW, SAVE, EDIT button. Now, I am stuck at DELETE button. When I delete any particular client then I want my client_id (it's a column in my access database) should get … Software Development visual-basic | |
Hey, M designing d RFID based LIbrary management system. For d same i have designed n entire software in VB6.0 and DB as MS ACCESS.. A RFID reader will b connected to a RS232 port of computer.. so weneva a TAG is detected by RFID reader, the information of dat … Software Development visual-basic | |
I have multiple JSpinner which have items 1-10 , and one JTable. When the JSpinner is clicked, the value will be added to JTable. I want to get the row number so I can use it at setValueAt. But I get error when the JSpinner clicked more than once times. … Software Development gui java java-swing | |
I have an automated API with a secure frontend/backend structure where backend object attributes are hidden with frontend proxy classes. basically, when accessing an object from the frontend, you get a proxy object disguised as the backend object with all it's explicitly "public" functionality. what I'm dealing with right now … | |
Hello All, I need to develope an application to receive POP3 emails automatically at regular intervals. I am totally a newbie to this one and need your kind help. The application should fetch emails using some service that would run in the background. So basically I need 2 things (I … Software Development | |
Hi Guys. I'm not a c++ dev but a VB.NET developer. I will first explain my scenario so that the question would be clear. Suppose I had a form which has a Label contro named label1 and the project name is Test which is done in a Visual Studio using … Software Development c++ visual-studio | |
Hi DW. Is there anyone know how to read a text file line by line from the web/internet in VC++? I have a function which works well in reading the local file but its seems as if its doesn't find or read a file on a web server. A file … Software Development c++ file-system web-server | |
Friends i need code to search the datas... I'm doing INVENTORY project... i'm using ACCESS databse with vb.net... i'm having purchase, sales tables... THIS IS MY PURCHASE TABLE: Code Price Category Type Dat SP Brnd 11 222 cde bgf 9/10/2025 356 asd 12 255 MEN Shirt 5/10/2010 355 Vanhesun 55 … Software Development business-entrepreneurship seo vb.net | |
![]() | Writing a function strreplace(s,chr,repl_chr) to replace the character 'chr' with character 'repl_chr' in a givne string s. I have done so far with following code. Getting awkward output. // Program to replace occurence of a character with another character in a string. #include<stdio.h> #include<conio.h> void strreplace(char *,char,char); int main() { … Software Development c |
Hi guys, I am new to vb.net i want to know how to pass a datagridview row values onto another form once the row is been double clicked. Software Development vb.net | |
Hi there, I want to implement undo logic which deletes the last drawn shape. To test this logic i had cleared shapes list and redrawn all shapes but still **last** shape does not delete. public void drawAllShapes(Graphics2D g) { //draw all triangles for (DrawTriangle t : newTriangles) { t.drawTriangle(g); } … Software Development java | |
Hello, I work at the U.S. Department of Labor. I am a maintenance prorgrammer of C code, and the configuration management of this code in the past has been very spotty. When I took over this project, a CM tool was in place I have been doing corret checkins and … Software Development c | |
Hi there, I want to draw a triangle using mouse events like mousePressed(), mouseReleased() and mouseDragged(). But triangle did not show until mouse release. Please tell me what i am doing wrong that triangle is not showing in mouseDrag event. And one thing more, triangle is drawing upside down. Please … Software Development java | |
Hi, I'm having CLI0100E Wrong number of parameters. SQLSTATE=07001 exception when I try to [code] private void PopulateTable() { bool IsConnecting = true; while (IsConnecting) { try { cn = null; cn = new OleDbConnection(strConn); cn.Open(); sSqlCommand = "select a.sicil_no ,a.adi||' '||a.soyadi as isim,b.unvan_aciklama,a.ilkgir_tarihi,a.ayrilma_tarihi,a.sua,a.dogum_tarihi " + "from per015_ssk a,per003_ssk b"; … Software Development dataset | |
Hi All, I have a collection of huge records (6000+) wherein the object in the collections has got 50+ properties, so ideally it is not a good idea to run a "For-Each" loop here. What I want is a "GroupBy" clause which would get me a Dictionary (Of String, String) … Software Development vb.net | |
Hello, I was testing a class in a GUI, and that error message showed up. Please help. Code: [CODE]from Tkinter import * class Application(Frame): def __init__(self, master): super(Application, self).__init__(master) self.grid self.create_widgets() def create_widgest(self): self.bttn1 = Button(self, text = "I do nothing!") self.bttn1.grid() self.bttn2 = Button(self, text = "Me too.") self.bttn2.grid() … | |
hello sir, i am new in vb.net.. i am making a project on railway reservation.. in train booking page, there are multiple textbox in my project to insert multiple passenger name for reservation.. i want to book train in one click... so, i have to insert all the passenger name … Software Development vb.net | |
In a XAML file you can add a control like a Button and start to edit its attributes like `<Button Width="200" ..`. When you type in Width you get something like `Width="|"` and is rather nice. After typing 200, you end up with `Width="200|"` Does anyone knows a way to … Software Development asp.net | |
I've downloaded the file "qt-unified-windows-x86-3.0.0-online.exe" and installed Qt and I've also downloaded and unpacked the file "PyQt5_gpl-5.9.zip". I'm using Python 3.6 but I can't figure out where to drop the extracted PyQt5 files. I can't find a Python directory anywhere on my C: drive except for under my home directory. … | |
I'm writing a code that will save the username of a user when a button (in this case button1) gets pressed. I save it to a file called info.txt, and i use fstream in order to save it. Currently I'm running into the issue that, while i can open up … Software Development c++ | |
Hi! I am an engineering student.I was exploring the conio.h file in c++ when i encountered inp(),outp() functions. I understood the basics about them but i am still not able to create a meaningful program with it.Somebody please help me ! Software Development c++ engineering | |
Hello! I am developing a POS System. I have need to print Sales receipt. I have no physical printer to test my printing but i have print on xps document. I am facing a problem with indentation of my data on Sales receipt. Following is the code which i wrote … | |
At the moment i ahve a task where i have to make a guessing game in GUI python. So it will generate a random number and also when a certain number of tries have been reached it will stop. The problems i am having as of now is that: 1) … | |
Hi I am learning python and there is these two code snippets but I keep getting an error when I try to run the program. # survey.py class AnonymousSurvey(): # Collect anonymous answers to a survey question. def __init__(self, question): # Store a question, and prepare to responses. self.question = … Software Development python | |
Greetings, I have an error when start debugging an application "Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." I'm using a DLL "Interop.zkemkeeper.dll" in my application it was working fine on windows 7 … Software Development visual-studio | |
Hello Dear, i have problem to multiple two textboxs ,one is Decimal and second i didnt asign ..... Please check code.. private void textBox18_Leave(object sender, EventArgs e) { decimal first; decimal second; decimal re; var b1 = decimal.TryParse(textBox18.Text, out first); var b2 = decimal.TryParse(textBox13.Text, out second); if (b1 && b2) … Software Development c# | |
I use the this code. showing "Update" msg but not update and if i add an item then show "Update" not "save" Please help me..... Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click Dim sql = "select Count(*) from pur_invdet where purinvid= txtpurinvid.text" Dim cmd = … | |
I'm new to daniweb community.it seems to be veyr useful.hope now someone wil definetely help me solve my problem in vb6. I've a combo box that displays the name of the customers and also a text box that must display the number of the customer.. but in my project i'm … Software Development visual-basic | |
Hi guys; I'm new in python and thread ,i start learning by create a simple code but i find some defficult this code below have some function and thread also Queue function to share data between thread this is a part of my code: def PutChar(Ch): #ask user to put … | |
Hi Any one know how I can get the following function to return a value - thanks. [CODE]import threading import time def stringFunction(value): str = "This is string no. " + value return str thread1 = threading.Thread(stringFunction("one")) thread1.join() thread1.start() while threading.activeCount()>1: time.sleep(1) print thread1 [/CODE] Currently returns "<Thread(Thread, stopped)>" Not … Software Development python | |
 Can not call form1,, help please Software Development vb.net | |
Hi Everyone, Can anybody suggest me. I have mysql with two database operations and production. My operations db have master master syncing on live server . I want to make production's master slave syncing onsame live server . Is it possible. How can do it?. Please help me. Thanks in … Software Development mysql | |
Hello Dear Friends, I need some help to check avilidity of the username on Leave event of a textbox in Database SQL Server, but i cann't get. it code is bellow private void textBox6_Leave(object sender, EventArgs e) { cmd = new SqlCommand("SELECT * FROM usertab WHERE username='"+textBox6.text+"'",con); SqlDataAdapter da = … | |
hi.I want play linux shells command with python.for example i did it: [CODE] def add(userName, pasword): import os os.system("useradd -d /home/%s -m -p %s %s"%(userName, pasword, userName)) [/CODE] but some where i have problem. for example when you want change the users password you have to send the command for … Software Development python | |
![]() | Hello, I am creating a code that allows the user to insert data into textboxes and then have it stored in an Access database. The code that I used worked previously but since I added the second query, nothing is added to either tables. Here is my code: Private Sub … Software Development microsoft-access open-source vb.net |
hi there, I'm coding in windows, c++, but when I traslate my code to ubuntu, g++, I get this error: [B]lvalue required as left operand of assigment[/B] This is the line where I get the error: [COLOR="Red"][/COLOR][CODE]&*raiz=&*p;[/CODE] What could be the problem? *raiz and *p are pointers to an avl … | |
how can I use Alt+Del to Delete listview item ... Now I just select the row and press del key delete the item, But I want to delete item by press alt+del key. How it is possible Please help me.... What I have tried: Private Sub ListView1_KeyDown(ByVal sender As Object, … | |
Greetings, Can anyone tell me why my loop does not actually add anything for interest? I'm thinking it is because of the way my interestRate variable is setup as a class variable (static). Here is the code snippets /**************************************************************************************** HNUnit4Ch13Investor.java xx All variables should be declared private Declare a class … Software Development java | |
Hi guys. I'm having a very serious problem. I've created Client,Server Socket applications and they work great on local mechine and I also created a test Windows Phone 7 app and configured the static IP address and the wp7 and server does connect when I run WP7 on a simulater, … Software Development client-server vb.net |
The End.