43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Niloofar24

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?

Software Development gui python
Member Avatar for M_12
0
5K
Member Avatar for nadiam

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
Member Avatar for JamesCherrill
0
522
Member Avatar for Mario_6

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#
Member Avatar for tinstaafl
0
6K
Member Avatar for vhycko

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 …

Software Development dataset vb.net
Member Avatar for vhycko
0
415
Member Avatar for hkdani

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
Member Avatar for hkdani
0
374
Member Avatar for Busuioc

#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++
Member Avatar for pty
-1
230
Member Avatar for Tcll

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
Member Avatar for Tcll
0
455
Member Avatar for jnneson

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++
Member Avatar for jnneson
0
288
Member Avatar for Aman_14

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
Member Avatar for pty
0
12K
Member Avatar for mattyd

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
Member Avatar for rahul_64
0
53K
Member Avatar for vin_1

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
Member Avatar for vin_1
0
266
Member Avatar for Amiet Mhaske

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
Member Avatar for UZAIR_5
0
7K
Member Avatar for ashvyas

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
Member Avatar for Ammar_10
0
1K
Member Avatar for John_165

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
Member Avatar for JamesCherrill
0
1K
Member Avatar for Tcll

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 …

Software Development api python
Member Avatar for Tcll
0
462
Member Avatar for KushMishra

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
Member Avatar for Elpat14
1
2K
Member Avatar for Mr.M

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
Member Avatar for Mr.M
0
328
Member Avatar for Mr.M

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
Member Avatar for thines01
0
3K
Member Avatar for Noorul Ariff

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
Member Avatar for Reverend Jim
0
4K
Member Avatar for Rahul47

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
Member Avatar for Reverend Jim
0
21K
Member Avatar for ihthishaam

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
Member Avatar for Angelo_5
0
5K
Member Avatar for RAHEEL_3

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
Member Avatar for JamesCherrill
0
1K
Member Avatar for JohnMcPherson

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
Member Avatar for JohnMcPherson
1
325
Member Avatar for RAHEEL_3

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
Member Avatar for RAHEEL_3
0
1K
Member Avatar for snakay

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
Member Avatar for Reverend Jim
0
6K
Member Avatar for KushMishra

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
Member Avatar for KushMishra
0
4K
Member Avatar for abders

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() …

Software Development gui python tkinter
Member Avatar for Gribouillis
0
2K
Member Avatar for pri.chakraborty

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
Member Avatar for Reverend Jim
0
5K
Member Avatar for ddanbe

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
Member Avatar for ddanbe
0
563
Member Avatar for lewashby

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. …

Software Development microsoft python qt
Member Avatar for lewashby
0
686
Member Avatar for Nether_1

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++
Member Avatar for Nether_1
0
2K
Member Avatar for jaskaran.nagra

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
Member Avatar for Wohlstand
0
4K
Member Avatar for Saboor880

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 …

Software Development java printer
Member Avatar for rproffitt
0
2K
Member Avatar for Hillzy

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) …

Software Development gui python tkinter
Member Avatar for Faro_1
0
3K
Member Avatar for V3N0M

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
Member Avatar for V3N0M
0
280
Member Avatar for AmrMohammed

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
Member Avatar for Taz_1
0
5K
Member Avatar for zebnoon1

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#
Member Avatar for zebnoon1
0
192
Member Avatar for JModak

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 = …

Software Development listview vb.net
Member Avatar for dspnhn
0
2K
Member Avatar for jaai

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
Member Avatar for santhanakrishnan
1
795
Member Avatar for sekmani

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 …

Software Development python queue
Member Avatar for sekmani
0
2K
Member Avatar for Robbert

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
Member Avatar for sekmani
2
29K
Member Avatar for Obbie_1

![as.jpg](/attachments/large/4/e42faf81a2adc0852d2179e721ce2085.jpg "align-center") Can not call form1,, help please

Software Development vb.net
Member Avatar for ddanbe
0
172
Member Avatar for rchawdhari

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
0
284
Member Avatar for zebnoon1

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 = …

Software Development c# dataset sql
Member Avatar for Andy_12
0
354
Member Avatar for funfullson

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
Member Avatar for Krystor
0
2K
Member Avatar for leyla

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
Member Avatar for Fecs
0
4K
Member Avatar for montjoile

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 …

Software Development c++ ubuntu
Member Avatar for Tushar_4
0
2K
Member Avatar for JModak

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, …

Software Development listview vb.net
Member Avatar for xrjf
0
1K
Member Avatar for SkateX

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
Member Avatar for SkateX
0
907
Member Avatar for Mr.M

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
Member Avatar for Mr.M
0
592

The End.