199,114 Archived Topics
Remove Filter ![]() | |
I need help with a program i am writing. It takes in a line from the user and then decides wat to do. there are to many options to spesify. some of the options are: set TARGET 453.212.556.22 This command will differ becuase the host will never be the same. … | |
Hello all, I am making a database management project named **'Summer research Program'.** In this project, faculty and students register themselves at a portal. Faculty offer some projects to students. Students choose some projects according to their wish/interest. **Now my Prof says me to increase complexity of the this project.** … | |
| |
Hello everyone. I'm having a problem with my cookie. What I'm trying to do is this: When user logs in and checks the "remember me" checkpoint, i want to save his username to $_COOKIE['user']. [] For that I am checking whether the $rem variable is set. If this is not … | |
> I'm implementation polymorphism and have one confusing that if I use instanceof then I'm trying to perform casting which voids polymorphism so will that be any way to avoid instanceof with the code and still have the program working? Block of code where I have used instanceof starts from … | |
Design a CPU Timer class (you may name it CPUTimer). This class should allow the user to start timer, stop timer, compute delta time and print the lapsed CPU time of any block of code in a program. #pragma once #include <iostream> #include <cmath> #include <ctime> #ifndef CPUTimer_h #define CPUTimer_h … | |
I am making a game as a programmer that has only worked with python for about 2 months, and I need a way to save data. I know about pickle, but the Documentation does not help at all. Please note that I am using 3.1.1, so don't give me answers … | |
I m creating an app! in which if the user moves the cursor the message should be displayed! But I m using setcursorpos() in my form to set cursor position which display the message! I dont want message to be displayed when mouse is moved through function, I want message … | |
What I am supposed to do is create a C program which implements a "dumb" Sliding Window Protocol Implementing Client Server Program. First the client and server establish a connection between themselves and then the client sends "RST" to the server. The server inturn sends its window size (10) to … | |
Hi, i'm just trying to make a simple 'contact us' form which emails me with the contents of each form field, here's what i have: HTML -------- <form action="contact.php" method="post" name="contact"> *Full Name<br /> <input name="name" type="text" /><br /><br /> *Email:<br /> <input name="email" type="email" /><br /><br /> *Message:<br /> … | |
I'll try to start over again: Windows7, Python3.2.. When I click on a *.py file it starts up the python.exe interpreter in interactive mode. What I want it to do, is to RUN the *.py file. Please, how can I accomplish this. A *.py file is associated with python.exe . … | |
Greetings, I installed python3 on win7, and I would like to run the turtleDemo.py . But can't seem to get it going. Can anyone help? Thanks...vm | |
I am new to C# and am trying to figure out if there is an easy way to send a DataTable to DataGridView. | |
Hi all, when I use equals method is not working when i tried to check password from database and from textfeild both the values are same but eqals method shows error my code is if(strPasswordNew.equals(passwordManager.getPassword())) My complete code for rreference String strPasswordOld=request.getParameter("oldpassword"); String strPasswordNew=(request.getParameter("newpassword")).trim(); String strPasswordNew1=(request.getParameter("newpassword1")).trim(); if(strPasswordNew.length()!=0 && strPasswordNew.equals(strPasswordNew1)){ dataManager.getConnection(); … | |
Hi All, I have written a program to input a decimal string and convert it to character string. Below is my program: /*this program converts the decimal representation of an input string to character representation*/ #include<math.h> #include<stdio.h> #include<stdlib.h> char int2str(int n); int main() { int dec[100]={0},i,j,decindex,ndec=0,nchar; char character[100]={'\0'}; printf("Enter the … | |
Hello, I am getting response as xml from curl request. so i am sending these into an array. but after execution of code i am getting this warning 1)Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:\wamp\www\newlivebackup\admin\subscribers.php on line 65 2)Warning: simplexml_load_string() … | |
everything is workin except window.location .can any one suggest reason for it. thank you in anticipation <?php session_start(); $_SESSION["visiting"]=$_GET['userid']; echo $_SESSION["visiting"]." ".$_GET['userid']; ?> <script type="text/javscript"> window.location="http://localhost/fi.php"; </script> | |
Hello ppl... How to insert a list of lines to sql through php and create a id for each line example....i have flames flintones flames1 .... .... so on after submitting these lines i need a short id for these lines like (short id can be anything) 1232 1546 1578 … | |
# EER for Rental store, to be put into Oracle for a database. # I have a databases project due monday. I'm still very new to databases so my understanding is minimal. I'm sorry if the answer to this is already on the web or somewhere on daniweb but I … | |
why is it "ur project is out of date" when i try to run cpp file opencv on vbs 2008 | |
Hello. So I am making an application that sets up a serial port and creates a DataReceived event whenever there is data received on the serial port. Now, I want to update a listbox in my UI whenever the data received event occurs but a cross threading error occurs. I … | |
![]() | I have a JLabel and a JPanel which both implements MouseClicked methods and I have added the JLabel to the JPanel but when the JLabel is clicked, the MouseClicked method of JPanel is invoked. How to fix this>?? ![]() |
[CODE]def scoreScreen(): #Keeps Calling score = 999999/canvas.data.timer canvas.create_rectangle(0,0,1000,460, fill = "black") canvas.create_text(500,200, text = "Your Score was", font = ("Comic Sans MS Bold", 20, "bold"), fill = "Red") canvas.create_text(670,200, text = str(score), font = ("Comic Sans MS Bold", 20, "bold"), fill = "Red") canvas.create_text(500,400, text = "You have beat the … | |
Hi Im am bigginer in java and i want to know :If a,b are variables of integer type and S1,S2 are variables of Student,what does mean a=b, si=s2. Is any change in way how the value pass in these examples?? I am waiting for a response best regards Eda | |
**Hey, Hi all! I'm a bachelor student, new to Java. Following code is giving error in PrintDetails() What parameters should I define in it?? Kindly check and tag out my mistakes in the following code.. Thanks ^_**^ class student { String a;String b;char c;double d; student(String name,String rollno,char gender,double gpa) … | |
I have an application written in VB.Net with a MySQL database that is working fine in my development environment. I would like to create an installation package to test on other computers. The install package should include: 1. Check for .Net 4 - if it doesn't exist then install it … | |
hi... I am having a problem in vb.net I have a data gride view ,in which 2 drop down list (coloumn) are there 1. select category 2. select item name there are 2 category brandy and whisky if i select brandy from drop down list from datagrideview it should populate … | |
I am writing a quiz program in C# in Visual Studio. When I build it it doesn;t return an errors or warnings. However when I debug, it just brings up a blank screen with no text or buttons etc. I have tchecked all the names match those in the forms … | |
hi everyone i have to 4 table and two different database ----------------------- first db = rotadb first table =Rota rota pRotabos ldchangetime 101 6 NULL 102 7 NULL 103 8 NULL 104 9 NULL 105 10 NULL ------- second table = Rotabos Rotabos_rowid pRotaBa 6 1 7 2 8 3 … | |
![]() | I have this printed "ljava.lang.string;@40585b18" instead of a vlaue from the string array called answers. At the moment i am not pick really as to what is pritned out. Just get the app to display something meaningfull from the array will be a good place to start right now. The … |
Hi, When a user registers on my site there status is 0 (not active) ... meaning they not activated there account via email. When they register i also store the DATETIME they registered, i store it in MySQL using MySQL DATETIME and using `NOW()` in my INSERT query on registration. … | |
provide a set of PC-based tools and utilities to organize historical performance data from an OpenVMS system. Purpose of System Synopsis To capture and maintain a history of variables directly affecting the performance of the VMS production systems. Then provide a graphic interpretation of that data to allow for trending … | |
I had a file named start.php in my D:\Wamp folder.I need to upload the file and enter the full path ie D:\Wamp\start.php into my database.I did the code.But I am not getting the full file path in my database the Code is as follows: <tr> <td width="71">Select a file <span … | |
Hi, I am having a problem in making a query. I have a table in which dates are saved in varchar format and I want to compare these dates in my search query. I want to take two input dates from the user i.e. starting date and ending date and … ![]() | |
Is it possible to disable my submit button when my javascript timer has finished and has showed its end message. This is my form <form id="MakeBid" action="MakeBid.php" method="POST"> <input type="hidden" name="propertyID" value ="1"/> <div>Bid Now <input type="text" name="pricesoldfor"/></div> <input type="submit" value="Submit" /> </form> The java script message will be Auction … | |
Hello peeps! I've got an issue which I am trying to sort out. I am trying to build a website where ppl can search for car's sell and buy. I got stack where I had to make the search option on the website, so I started looking on google where … | |
What I'm supposed to do: Rewrite the class below, so that it throws appropriate exceptions instead of returning -1 as an error code. Write test code that attempts to withdraw and deposit invalid amounts and catches the exceptions that are thrown. Original code: class Account { private double balance; public … | |
Hi, I need to loop through a specific column(Not all the columns) in DataGridview amd update some values: For Example I have dataGridView populated with a csv file and contains 4 column as Name, Age, Asset Martin,32,350 John,19,12 Joay,47,1200 humberto,50,950 Richardo,62,23 I displaye the cells value in DataGridView on a … | |
I keep on getting this warning message Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\test\checkPosts.php on line 12 <html> <p><a href = "postArt.php"> Post Article </a></p> <p><a href = "editArticle.php"> Edit Article </a></p> <p><a href = "viewAllPosts.php"> View All Article </a></p> <p><a href = "Logout.php"> Logout … | |
This has been frustrating me for about 20 minutes already and I don't want to spend much more time on it, so any help would be much appreciated. The editor that we use which syntax highlights Markdown text has has bug in which it highlights text as code when it … | |
Hi everyone! This is the code that I have written in order to print a tic-tac-toe board. For example, if input was this: 1 2 0 1 1 2 0 2 0 The board would be this: X . O X X . O . O However, I don't know … | |
Need help with just a couple of minor errors. for the lab I am currently doing I have 2 service/class (no clients or application classes). these are my errors Car2.java:138: error: not a statement Cars D = (Car2) car ^ Car2.java:138: error: ';' expected Cars D = (Car2) car Can … | |
Hi everyone, I have been having problems with this code. I can't figure out how to get it to sort items alphabetically. Another problems is that the code never reads items from disk, but I can't figure out where the problem is. I hope you guys can help me. #include … | |
#include "stdio.h" int main() { //FILE *fp; char get[20] ; char password[15]; int choice; choice: printf("\nSELETCT: 1.Login 2.Password change 0.Exit \n"); scanf("%d", &choice); if(choice == 1) { FILE *fp; fp = fopen("PASS.txt","r"); fgets(password,15,fp); printf("your current password is %s\n", password); printf("Enter password: "); scanf("%s",get); if( !strcmp(get, password) ) { printf("\n%s\n", "Logged … | |
#include <stdio.h> int main() { char opt; do { printf ("Enter y or n: "); opt = getchar(); } while (opt != 'y' || opt != 'n'); } okay so my code does not stop when I enter y or n, which I think it should. | |
hello everyone Can someone explain to me about this two syntax of php the => and ->, i dont have any idea what this is. I already googled it but didnt find anythig. Actually I tried to look the source code of joomla and found this two syntax. I will … | |
This app I finally got the splashscreen to the way i want it, but when I run the .exe from the explorer the splashscreen loses its transparency and has a white background replacing the glow; In when the compiler runs it directly after it builds it look exactly how it … | |
The class contains: - Two double data fields named width and height that specify the width and height of the rectangle. The default values are 1 for both width and height. - A string data field named color that specifies the color of a rectangle. Hypothetically, assume that all rectangles … | |
hi, Am a new in php,i have php page with mcq questions, when the user starts with the Q.No 1 the timer should start ,and I want to turn off the page after the completion of the timer. Can any one please help me out to do this . Thank … | |
Hello all, Ive done some googling around, and cant find anything that explains why my date isnt being formatted to what i tell it. my code: dim date_now as date date_now = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") So for example if the date/time is February 11 2015, 4:44:23pm it would be formatted as: … |
The End.