199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stefce

Hello everyone have a nice day or night where ever you are so i hope i will have a great night if i fix this problem i have right here :D i have a array list with some match tips and i have a 16 input fields so i want …

Member Avatar for Stefce
0
216
Member Avatar for cambalinho

i have 1 class Timer. the class works fine, but when the windows loses the focus, the timer stops... why these happens?

Member Avatar for cambalinho
0
292
Member Avatar for Niloofar24

Hello friends :) I'm almost familiar with Tkinter and Kivy frameworks, but i'm looking for other python GUI frameworks, soething better than Tkinter. Kivy is also great but i need to watch more tutorial videos and i'm not able to do that right now. Can you introduce a better and …

Member Avatar for vegaseat
0
844
Member Avatar for Smalls

The topic is the question, is there a way to access embedded resources folder by name dynamically via string? The closest I think I've gotten is the following code which has error "Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<string>' to 'string'", if i try to get the only folder it should return …

Member Avatar for ddanbe
0
298
Member Avatar for python3

Hello, As Homework, we had to do the most boring thing known to Mankind, Mathletics. It is so easy. Mathletics links to live Mathletics where you have to answer as many Math questions as possible in 60 seconds. Later on, I found that Mathletics could be used as a challenge. …

Member Avatar for amin2005
0
354
Member Avatar for mahmoud.beltagy95

what if I wanted the user to enter his birth month and I don't know whether the user input is integer or string for example july or 7 what should I do ???

Member Avatar for mahmoud.beltagy95
0
109
Member Avatar for PulsarScript

Hi All ,how do i round up this to 2 decimals: public override double GetPaymentAmount() { double paymentAmount = (WeeklySalary * 52 / 12); return paymentAmount; }

Member Avatar for Smalls
0
171
Member Avatar for PinoyDev

good day! I have a php form. I have made some ajax validation on it but everytime i click the submit button it does not validate, and when I try to issue an alert command on ajax function, it returns undefined on certain variables? Here is my present code: <Form …

Member Avatar for PinoyDev
0
243
Member Avatar for VernonDozier

I have a Yahoo website that uses phpMyAdmin. I've been given the directive "Please run the script mysql_fix_privilege_tables that should be included in your MySQL server distribution to solve this problem!" I do not know how to run this script (or any script) through phpMyAdmin. I've been looking online and …

Member Avatar for Nishant_3
0
3K
Member Avatar for Jon94

Hi guys, im new here and new to web development. I want to build a marketplace for tutors where they can upload their profile and information. Students who want to find a home tutor can go there and find a suitable one by submitting a home tuition request. I want …

Member Avatar for almostbob
0
224
Member Avatar for TObannion

So here is my assignment: File name: project1.cpp You work for the Jet Propulsion Laboratory. They want you to write a program that will take a two-dimensional array containing the digitized representation of a picture of the night sky and locate the stars on it. The array elements are integers …

Member Avatar for TObannion
0
193
Member Avatar for AntonyRayan

<?php include('connect.php'); $upid=$_POST['id']; $upname=$_POST['categoryname']; $updesc=$_POST['description']; $newupid=mysql_query("update tbl_category set categoryname='$upname', description='$updesc' where id='$upid'")or die(mysql_error()); echo "<script type='text/javascript'> alert('Updated Successfully'); window.location.href='view.php';</script>"; ?> This is updated code. It works successfully. but I want to show alert box "Nothing can be updated" if no changes made. And it should have the same .

Member Avatar for pixelsoul
0
191
Member Avatar for Taz098

I'm trying to make an 'Install-To-Run' version of my Windows Forms Application through Visual Studio 2013 Express Edition(Couldn't afford another version..). However when I check my template list in 'project types' it doesn't show the 'other projects' list or any sort of list related to 'Setup and Deployment' at all. …

Member Avatar for pritaeas
0
115
Member Avatar for divinity02

trying for the longest while to get this program to run at least properly, havent finished entering all of the codes as, just testing each part of the statement before i add in the rest of the codes the program is not working properly dont know where I have gone …

Member Avatar for JamesCherrill
0
257
Member Avatar for PinoyDev

Good day! I just want a little help on how to get all data from mysqltable where month=january or feb.. etc. and year =2015 or maybe 2014 I have a table with datefield(yyyy-mm-dd) example dates data are: 2015-01-17 2015-02-17 2014-12-17 2014-10-17 2014-03-17 And I have a span list of months …

Member Avatar for PinoyDev
0
145
Member Avatar for fireburner29

sorry for my bad english... Is it possible to create a Pharmacy Portal(multi-Portals) online Pharmacy delivery system using Drupal commerce? It has multiple Pharmacy Portal (Pharmacy) in different locations which can be manageable by individual portal admins and Portal admin will have n number of medicals and medicals will have …

0
131
Member Avatar for JayGeePee

I'm sure this is simple, but I'm having a time trying to figure out how to add two fields from two different tables together. <?php include_once('conn/db.php'); $query = "SELECT SUM(`sold`) AS total FROM veggies"; $stmt = $con->prepare( $query ); $stmt->execute(); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); echo "<small><u>Plants Sold</u>: {$total}</small>"; } …

Member Avatar for Reverend Jim
0
297
Member Avatar for huskeraider

**My goal:** search webapps folder to find all .war files and make sure a folder exists with the same name(indicating .war expansion) **My Code:** import os import stat file = open("hosts.txt","r") for servername in file: path = '\\\'+servername.strip()+'\\d$\\tomcat\\Servers\' server_name = servername.strip() for r,d,f in os.walk(path, topdown=False): for files in f: …

Member Avatar for Gribouillis
0
286
Member Avatar for Niloofar24

Hello everybody. I need a quick help. I have a problem with running my python file code. I use Linux. I had a file with the name "app3.py" file on the Desktop; then i removed ".py" from the end of the name of the file; so now i have "app3" …

Member Avatar for Gribouillis
0
445
Member Avatar for Hasheeb

#include<conio.h> #include<iostream> #include<stdlib.h> using namespace std; class SStack { private: int *arr=NULL; int top=0; public: SStack(int size) { arr=new int[size]; } SStack() { arr=new int[5]; } void push(int x) { if(top>5) { cout<<"stack is full"; return; } arr[top++]=x; cout<<"successfully inserted:"<<x; } void pop() { if(top<0) { cout<<"stack is empty"; return; …

Member Avatar for dbfud1988
0
2K
Member Avatar for kenea
Member Avatar for kenea

hi please help me with this. when I try to save it, it saved. but the problem, it is saving though it has the same record If idno.Text = "" Or proflname.Text = "" Or proffname.Text = "" Or _ profmi.Text = "" Or subcode.Text = "" Or teachuser.Text = …

Member Avatar for Mr.M
0
314
Member Avatar for eliamck

As a begginner in C++ i'm having problems to use microsoft visual studio 2010. How do i go about it?

Member Avatar for ddanbe
0
67
Member Avatar for fakesoul

Hi, I have a cricket related website that is currently hosted on a VPS with two other websites. We are expecting a huge hike in traffic during the next 6 weeks during World Cup. I need suggestions for hosting and CDN to be able to stay live throughout the event. …

Member Avatar for pixelsoul
0
167
Member Avatar for gentlemedia

I have several pages that has the following mark-up in it, but the value of the datetime attribute is on each page different. <a class="index" href="#"> <time datetime="2015-W01"> <strong>week</strong> <strong>01</strong> <strong>2015</strong> </time> </a> On each page I include with PHP at the bottom a page with the following mark-up: <ul …

Member Avatar for gentlemedia
0
264
Member Avatar for Niloofar24

Hello. How can i set an image as a Tkinter window background? I mean the whole background of the window not a photo area.

Member Avatar for HiHe
0
50K
Member Avatar for jez9

help please, i really need to solve this one. when the quantity of the product is increasing/decreasing, i want the Total Price to update/increase/decrease also, but its only remain working. the button is declare, so when i click the button , all of the info of that will be transfer/view …

Member Avatar for jez9
0
109
Member Avatar for tentrabyte

Guys I need some help... This is my program... #include<iostream> using namespace std; int main() #include<iostream> using namespace std; int main() { int a=1; int b=5; cout<<"*"; cin>>a; while <a=>5>; { cout<<"*"; ++a } return 0; } { And this will be the output of my program. * ** *** …

Member Avatar for dbfud1988
0
656
Member Avatar for Stefce

I have a little problem over here this code doesn't work well what is the problem if anyone know ? $getUsername = getUserData('Username'); $sql = "INSERT INTO `kladilnica` VALUES ('', '".$getUsername."', '".$betAmouth."', '".$gain."', '".$date."', '".$match1."', '".$match2."', '".$match3."', '".$match4."', '".$match5."', '".$match6."', '".$match7."', '".$match8."', '".$match9."', '".$match10."', '".$match11."', '".$match12."', '".$match13."', '".$match14."', '".$match15."', '".$match16."', …

Member Avatar for broj1
0
223
Member Avatar for jez9

ms access [tblorder - code[text], items[text], total[text]] code = lblcode [label] items= x.SubItems(1) [in listview] total = lbltotal [label] as of now i can only save 1 item in the field 'items' , but i want to save 2 or more items,how can i do that? For Each x As …

Member Avatar for jez9
0
285
Member Avatar for double_cola

Hey guys. I have a function that is returning options that the user has selected. I need to get these options in an array for matching. Here is my rough code. $test = array(); $newVals = (printList($file_names)); $newArray = array_fill_keys($test, $newVals); if (in_array("this.pdf", $test, TRUE)) { echo "Match found<br>"; } …

Member Avatar for double_cola
0
220
Member Avatar for bobtherobot

I'm writing a piece of code for a class, and part of it is to take an operation on integers and store it in a double (without any truncation). I'm trying to use the static_cast <double> (EXPRESSION GOES HERE); form, but it isn't working. When I output the new value, …

Member Avatar for NathanOliver
0
266
Member Avatar for Violet_82

Hi, I run into an interesting thing. I'm looking into SQL a bit, and was reading some tutorial on W3C, so I built a small application to play with SQL queries: inserting info in a table and then retrieve it as it is, filter it etc. The table contains 5 …

Member Avatar for Violet_82
0
170
Member Avatar for Mr.M

Hi DW I have create a client using VB.NET using Winsock 5.0 as a socket to communicate with the server which I did it in java. The problem is that for terminating the client first send a termination request to the server and the server grants the permit and the …

Member Avatar for Mr.M
0
220
Member Avatar for Ant695

Every time I try to compile this code I get the same error but it doesnt seem to make any sense. This is the code: public class Software Development { public static void main(String[]args) { System.out.println("Hello World"); System.out.println("2name"); System.out.println("name: \n"+name); System.out.println("\"name:\""+name); } } And this is the error: Software Development.java:1: …

Member Avatar for stultuske
0
131
Member Avatar for Violet_82

I must admit I feel a little embarrassed to post this, but I don't seem to get this simple flipping application to work and I'm getting this error: Login failed for user ''. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack …

Member Avatar for Violet_82
0
3K
Member Avatar for Faissalelbarhami

Hii All, i am a begginer at c programming in the first semetser of study, and i am trying to doing my project what is: Diff — The program should compare two text files and list the differences, i.e. lines and columns of the beginning and the end of a …

Member Avatar for Faissalelbarhami
0
392
Member Avatar for klemme

Hi all, I am using Ardent as a standalone package, together with Laravels Database package. Things are set up, and I can query just fine - But when I define my relations, I get a white screen when I try to dump the expected data. I have double checked and …

Member Avatar for diafol
0
316
Member Avatar for Stefce

Hello is there a way of checking the input field have a value but with out clicking a button, for ex. if i write any letter inside the field to give me result for example `hello` or something else...

Member Avatar for diafol
0
261
Member Avatar for DaniWebUser_1

Is it possible to add a character entity to an input field using javascript? I've been able to do it statically by just including it in the value attribute of the input tag like this: <input id="degInput" type="text" value="180&deg;"> However, I'm not able to use setAttribute() to add it dynamically. …

Member Avatar for diafol
0
331
Member Avatar for fireburner29

Is there any simple PHP based backend system that has multi user and multi roles access control?

Member Avatar for fireburner29
0
511
Member Avatar for Violet_82

Hi guys, I'm in a bit of a situation here and I was wondering if anybody has any suggestion. Basically, I need to retrieve some data from 2 or perhaps 1 SQL table (that's what I'd like you to help me finding out). OK, here are my two tables (sure …

Member Avatar for Violet_82
0
306
Member Avatar for sergio_pb

Hello guys, I create an aplicattion for read value from a PLC. When I used one function socket the php page works fine, but when i put two or more I need around 20secundes to open one php. Somene Knwos i can improve my code or sockets in php are …

Member Avatar for sergio_pb
0
589
Member Avatar for rpsr150891

Please explain the difference between the two mentioned above.what is assembly in a c# program? Thnx

Member Avatar for ddanbe
0
99
Member Avatar for Gl753

I am currently working on a program that asks a student to answer 5 simple maths questions after each question it will state whether the answer is right or not. which it will out put a grade and grade average percentage. Currently I'm stuck on the if statement where it …

Member Avatar for stultuske
0
211
Member Avatar for Stefce

Hello i have this code and something isn't working but i dont know what, the code it does not updating the database at all and i don't get any errors. <?php if(isset($_POST['howMuch']) && isset($_POST['where'])) { $howMuch = $_POST['howMuch']; $where = $_POST['where']; if(!empty($howMuch) && !empty($where)) { $user_mBalance = getUserData('payCheck'); if($howMuch > …

Member Avatar for broj1
0
460
Member Avatar for ernesto22

i have a problem with generating a one time password that will expire once used or after a few miute. this is what i want to do page 1. create a captcha. if verification is valid then direct me to page2 page 2. this page asks for my name or …

Member Avatar for ernesto22
0
227
Member Avatar for gangsta gama

Hello DaniWeb community! I recently posted a question asking about the character creation screen and that it is all set! I then continued with form validation, and storing values and spitting them back out in a message box. Then I made the create a character screen close, and open the …

Member Avatar for ddanbe
0
144
Member Avatar for joshmac

I am trying to come up with a query to track a student cohort based on their start term. I want to see if the number of students that started in 2012 actually go down in 4 years time. For this example I am starting with fall 2012 (12/FA). I …

Member Avatar for joshmac
0
208
Member Avatar for harishprakash

The End.