Delete duplicate rows in MySQL
Sometimes you need to delete duplicate rows in a database :) In the future, set UNIQUE keys when you need them :) In the example below, we have a table appropriately named TABLE_NAME and there are...
View ArticleSearch Student Info Fstream
Hey? Can someone help me to this program? I need to Search an specific information of a student.
View ArticleFormatted Integer
I solved a problem some day ago. In that problem you had to format an integer. I found it hard to solve. So here I am sharing my problem with you. Problem: Read an integer variable and print it in...
View ArticleHow to Find RD Muture value (Yearly,Half yearly,Quarterly, Monthly)
'call it like List1.Clear List1.AddItem RDMature(Val(Text1.Text), Val(Text2.Text), Val(Text3.Text), 12) List1.AddItem RDMature(Val(Text1.Text), Val(Text2.Text), Val(Text3.Text), 2) List1.AddItem...
View ArticleA multiple timer application in Python/wxPython
This project implements a multiple timer application. It was written in Python 3.8.2 wxPython 4.1.0 Feel free to experiment. Here are some possible enhancements: Add the ability to run a program when...
View ArticleMake a python script single-instance
Sometimes you want to ensure that only one copy of a script can be run at time. Windows provides a facility called a mutex and you can use it to prevent multiple instances. To create the mutex, all I...
View ArticleWhere to get a good antivirus software
I have recently encountered a problem that my computer always get attacked, it seems antivirus software that has been installed on my pc cant work anymore, So I am planning to get new one from...
View ArticleStore database value in variable using php
For example. I have a select statement that is "select ID from students where student name ='name';" Now I don't wanna echo the student ID but I wanna store it in various where I can reuse it. How do...
View Articlehow to calculate total of selected combo box items
If Me.cbobraketype.SelectedItem = ("Rim Brakes") Then braketype = ("Rim Brakes") price = "120" braketype = ("Rim Brakes") ElseIf Me.cbobraketype.SelectedItem = ("Disk Brakes") Then braketype = ("Disk...
View ArticleC++ Program related question cpp file also attached
Q1. Given the partial implemenatation of Linked List, you are required to add the following functionality in the code Delete the whole list e.g. myList.deleteAll( ); Implement Linked Stack for...
View Articleproblem with drawing pyramid pattern by nested loops in c++
int cols, rows; int thehead=9; for( cols = 1; cols <= thehead; cols++) { for(rows = 1; rows <= thehead; rows++) { if(((cols+rows)==5) || ((rows-cols)==5)) { cout << " "; } else { cout...
View ArticleTower game in 84 lines of pure JavaScript
Easy tutorial: https://slicker.me/javascript/tower.htm
View ArticleA basic program for a cashier.
Hi there! This is a simple pascal program I wrote for a cashier. Please note that this is only a basic level program code and can't actually be used for commercial use. Thanks for reading!
View ArticleFinalGradeCalculator
this is the task given to me guix i hope you can help me Create a program that will read the data from a file and save the output in another file 1.Create an input file named CS122Grades. 2.The...
View ArticleINSERT UPDATE process not working
I have a snippet that inserts data in a row in a MySql database. If that data already exists the existing row should be updated. In my case, I continue to get insert only. What is wrong with this...
View ArticleWorking with Python, Unhiding a frame depending on numeric value in textbox
I have a Py file that consists of 100+ frames, aprox 80+ radio buttons and 65 textboxes. I have attached shortened exert from main file. Textbox 1 takes on a value when a radio button is pressed. When...
View ArticleI want to keep first tab open for multiple horizontal tabs.
After page loading , when I click on the ellipsis , horizontal tabs transform from bottom of the product image . After opening of the tabs menu bar , first tab should open by default.I tried multiple...
View ArticleButtons don't work or even appear in my Java GUI in JGRASP
The Action Driver Class when it runs it just brings up a small box with java logo and close and minimize options thats all...... I have reviewd the code over and over and my instuctor said to just...
View ArticleWrite a program that finds the result of the series using a do whle loop
"1/2+4/55+7/8+..........."
View Article