64,152 Solved Topics
Remove Filter ![]() | |
hiii ALL!! I have to match/compare fields of one table with the fields of another table. basically m i have to search a record from another tables using some fields of a different table. for exmple I have two tables. Table 1: newjobs table 2: employer form Table 1 newjobs … | |
I have written a program in Visual C++ Express. I have finally finished and that's why I wanted a release version of my program. To give to some of my friends. There was no problem when I used the compiler to create the debug version. But when I run the … | |
Hi all, I have a textblock that is bound to an xml document. This displays the innertext of an xml-node element and the width of the textblock is fixed at "auto". The issue is that of the display as the innertext may exceed the width of the textblock and therefore … | |
hi all, have some question on displaying a countdown system i have the following code <?php date_default_timezone_set('Singapore'); // Define your target date here $targetYear = 2011; $targetMonth = 9; $targetDay = 10; $targetHour = 12; $targetMinute = 00; $targetSecond = 00; // End target date definition $targetDate = mktime($targetHour,$targetMinute,$targetSecond,$targetMonth,$targetDay,$targetYear); $actualDate … ![]() | |
I dont know how to start. I learn python by myself, hopefully i can solve this problem. but i think i need your guys help A palindrome is a sentence that contains the same sequence of letters reading it either forwards or backwards. For example "racecar". Write a recursive function … | |
I have a table with one record per certification a user has. So, user SMITH can have multiple records, one for DMV another for CPT and another for ICD. SMITH has three certificates but can have up to 20. The desire is to have a second table with one record … | |
How can I detect a collision between 2 images? E.G if(Image1 collidesWith Image2){} | |
Hello. I want to know if someone can help me with this: I'm starting to write some code to run an office (not professionally). When I write the Client Class, how do I make it that the number of the client be a primary key (unique and auto incremental)? Also, … | |
When we test our currency converter it shows a weird number before the numbers we enter. "25 pounds to U.S. dollars" returns "$1.5406, 25 British Pound = $38.52 U.S. Dollar". (For the record, Google says "25 British pounds sterling = 38.5375 US dollars".) What's wrong? [CODE=PHP] <?php /** * Jojo … | |
haii friends please help me in how to play a music file in java please i tried many ways by using google and other ways but was unable to get a clear idea please help me | |
I am new to templates and trying to implement Templates for creating ITK images: template <class T,int D> itk::Image< T, D>:: Pointer CreateITKImage(int *pnSize, double *pdSpacing = NULL) { typedef itk::Image< T, D> ImageType; ImageType:: Pointer image = ImageType::New(); : : return image; } void main() { int Size[2] = … | |
Hi! I am looking for a function that will add spaces in a string in a certain manner: tmpStr: 123456789123 (always 12 digits) the desired outcome is: 123 456 78 91 23 Do anyone of you have a neat fuction for that? :) I found one question in this forum … | |
I'm new in VB6, and i'm having an error message while debugging...after the login checking, I need to open the form to select a project code from my Access db. The error was stop at RS.OPEN. and prompt the error message "Method or data member not found". Now, when I … | |
When we are on facebook page and someone sends us a message,(not chat message), or any notification does occurs, Then a red number is appeared at the top to notify us (user) about the message. even if we don't refresh the page. This happens without the page refresh, Same thing … | |
Hi... I have a set of strings as below: [CODE]4:14.4-17M,5:14.4-2e13M,6:14.4-4e9M,7:14.4-8e,22:28.4-35M,23:28.4-2e30M,24:28.4-4e26M,25:28.4-8e18M,26:28.4-16e2M,27:28.4-18e,28:14.16-36M,29:14.16-2e32M,30:14.16-4e28M,31:14.16-8e20M[/CODE] I want everything after the ':' to be discarded. i.e., i just want a list of what preceeds ':' (4,5,6,7,22,.................) How can this be done? | |
plz find the error it give this error Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\soomrof\a_task_2_1.php:3) in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 24 [CODE]<? include("connection.php"); $check=false; $sql=mysql_query("select * from doctor_schedule_information where doctor_ID='".$_POST[doctor_id]."'") or die(mysql_error()); if(mysql_num_rows($sql)==1) { $row=mysql_fetch_array($sql); $check=true; } else { $check=false; } if($check==true) { header("location:a_task_2_3.php"); … | |
plz find the error it give this error Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\soomrof\a_task_2_1.php:3) in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 24 [CODE]<? include("connection.php"); $check=false; $sql=mysql_query("select * from doctor_schedule_information where doctor_ID='".$_POST[doctor_id]."'") or die(mysql_error()); if(mysql_num_rows($sql)==1) { $row=mysql_fetch_array($sql); $check=true; } else { $check=false; } if($check==true) { header("location:a_task_2_3.php"); … | |
Hello all I am working on a project that convert images to text , and load them from text , so i can save them online then load them as image . But if u could just give me a code of a project with a textbox where i write … | |
Hello All, I am new to JSP. Currently i am working on jsp project with mysql. I got stucked with jsp date and time which supports mysql datetime format. [I need to do more time calculations in my project.] Please come up with your suggestions. Thanks in Advance. SHANTI. | |
Hi all. I'm new in .NET programming. I want to make an application using C# and Microsoft Access. I cannot found any good tutorial about C# and Access. I just want to know how to connect, insert, delete, edit, and update database. Any suggestion for a good site to learn … | |
hi guys, just want to ask some question. i have two textboxes txt1 and txt2. these two possess jquery autocompletes within.. now, what i want to do is that this two are interconnected. Meaning, the values in autocomplete in txt2 will depend upon the values inputted in txt1. consider this … | |
Hello, I am working on a website where the user can fill out a long form. For simplicity reasons, a part asks them to list features they would like to see. For that I plugged in some javascript to make a "[more]" link to add more form fields. Each form … | |
Ok, The only reason I'm asking this is because I want to be absolutely clear on it. In C++, if I write [CODE]int* ipSomePointer;[/CODE] [B]Is this the same thing as:[/B] [CODE]int *ipSomePointer;[/CODE] [B]or[/B] [CODE]int& iSomeRef = ...;[/CODE] [CODE]int &iSomeRef = ...;[/CODE] It does give the same result as each other … | |
I have some code I found that takes screenshots and saves them as a bitmap image. I'm trying to get it to save the screenshots as .jpg and I don't know how to. I don't want to use a large third party library if I don't have to, I would … | |
Hi Guys / Gals I am new to programming and am having some trouble with my code to update my data from a datagridview wich is bound to a datatable. all works fine until the update proccess is started. The programs updates all my rows (x amount) on the datagridview … | |
Hello: I'm trying to insert my form two table in mysql. I have the following but only insert to one table (ajax table query) is successfull. Any ideas what I'm doing wrong. [CODE]<?php //error_reporting(0); //error_reporting(E_ERROR | E_WARNING | E_PARSE); error_reporting(E_ALL); $host = "localhost"; $login_name = "dsdsdt"; $password = "........."; $link=mysql_connect("$host","$login_name","$password"); … | |
I have about 230 photos in a database, all along I have been putting [url]http://domain.com/path/to/image.jpg[/url]. I am trying to enable a thumbnail script and it will not work with the [url]http://domain.com[/url] on the front of the url. Is there a way I can run a script to go through and … | |
Hey, please help me, this html file run normally in other browser but Firefox. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello everyone... </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- Redirect webpage <meta http-equiv="refresh" content="2; url=/web/forum/vanilla" /> --> </head> <body> <script language="javascript" type="text/javascript"> function … | |
I am reading bytes from a FileStream. When I try to read 0x8000 bytes from the file (which are there) it says: "Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection." … | |
iam try to retrieving data from multiple table and i want that data to be shown on one page. can any one help me out what worng with this coding i cant get that resul which i want. here is the coding [ICODE] <? include("connection.php"); $q="select * from patient_detail,patient_information,patient_guardian_information,patient_discharge_information where … | |
Hello friends, I have a small problem with parsing XML documents... My program works great, but if some element is not exist in the XML then I got an exception error, and now I want to ask "How to check if the element is in the XML" ? Here is … | |
Hi all I am trying ot use Netbeans 6.9.1 to write a basic "hello world" java script, but it keeps giving me the following error; ********************************************************************** debug: Have no file for C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar java.lang.NoClassDefFoundError: helloworld/Main Caused by: java.lang.ClassNotFoundException: helloworld.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) … | |
Hey Everyone! I need some help with a JTable I'm working on. [CODE] TableColumn column = table.getColumnModel().getColumn(2); ... JComboBox comboBox = new JComboBox(); comboBox.addItem("A"); comboBox.addItem("B"); comboBox.addItem("C"); comboBox.addItem("D"); comboBox.addItem("E"); comboBox.addItem("F"); column.setCellEditor(new DefaultCellEditor(comboBox)); [/CODE] I know that the code above will take the column of the table at index 2 and give … | |
I am new to SQL .. [code]SELECT status FROM statuses ORDER BY date;[/code] I know this will order by date but i want to alter the table and rearrange them by datestamp.. Is it possible to alter like that ? | |
Hey guys! I'm planning on a private software, that I wish that have multiple pages, like a installer. It will not be a installer or anything, and I don't want to use tabs on it (it doesn't fit to what I'm thinking.) How can I do it? I've tought on … | |
[CODE] #include <algorithm> #include <iostream> #include <Windows.h> #include <string> #include <cctype> using namespace std; int main(void) { //declare variables char npcname; char actid; //askin the user to input npc name cout << "Please Enter Your NPC Name!"<<endl; cin >> npcname; //askin the user to input action id cout << "Please … | |
[CODE]#include <algorithm> #include <iostream> #include <string> using namespace std; int main(void) { int actid; cin >> actid; if(actid != 1,2,3,4,5,6,7,8,9,0) { cout << "you must enter an integer"; return 0; } }[/CODE] but it's fail :( | |
[CODE] #include<iostream> using namespace std; int main() { int* p=new int[2]; p[0]=1; p[1]=2; cout<<p[0]<<" "<<&p[0]<<endl; cout<<p[1]<<" "<<&p[1]<<endl; cout<<endl; cout<<*p<<" "<<p<<endl; p++; cout<<*p<<" "<<p<<endl; delete [] p; } [/CODE] the output of the above program is : 1 0xe502f0 2 0xe502f4 1 0xe502f0 2 0xe502f4 aborted(core dumped) can anyone pls tell … | |
Hi, I have started to study the C language, and as anyone, problems are on. I am having problems with the for comand for; I do apologise if I am not using the CODE and the ICODE correctly. here an example: [code] #include<stdio.h> int main() { int i; int b; … | |
Hi all. I'm trying to add a slight delay to [URL="http://www.kutztown.edu/library/labs/newt.asp"]this page's[/URL] drop-down menu. Though I assume that entails a call to setTimeout() somehow, I've tried all I can think of (which isn't much...) and am clueless. Thank you for any tips! [CODE] <script type="text/javascript"> var timeout = 200; var … | |
[CODE] #include <iostream> #include <string> using namespace std; int main(void) { string test; test="this is a test" test.replace(' ','~')// replace the space with ~ cout << test; return 0; } [/CODE] but it's not working can anyone help me? | |
Ok, I am sort of new to C++, and I just came across something that I don't fully understand. [CODE]int main(){ int iX=5; { int iY=30; std::cout<<iY<<std::endl; } std::cout<<iX<<std::endl; return 0; }[/CODE] What does it mean when I make a code block with no if,else etc..? Does it just make … | |
I've been using Visual Studio 2010 Ultimate to learn C++ and have created a project file. Within that project file are 2 .cpp files. I use one to refresh my memory of what I've learned and the other to enhance my knowledge of C++. The problem is that whenever I … | |
Hello to everyone and happy new year... I have 3 JRadioButtons in my JFrame [CODE]private JRadioButton one = new JRadioButton("one "); private JRadioButton two = new JRadioButton("two "); private JRadioButton three = new JRadioButton("three ");[/CODE] And I Have add them to a group [CODE]private ButtonGroup Group = new ButtonGroup();[/CODE] [CODE]Group … | |
Hey everyone and happy new year. I'm a java beginner and I am doing my first program, a dvd rental system. I've got 4 classes with the following variables: the main class the dvd class - dvdID, title, rating, producer the cleint class - cleintID, name, surname, address the rentals … | |
Hi!This is my 1st thread. I wanted to ask that I have a common table for clients.If client is given quotation, hes status is 1, if given invoice, hes status is 2 and so on. If i want to display only the clients who have received the invoice, I fire … | |
I'm using jCarousel to create this multi-row slideshow and..well... It doesn't work. I really don't know why, and this is very urgent. I have less than an hour to finish it. Please, please help me. main page: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us"> <head> … | |
Hi, This is my first post in daniweb! I've two questions: First question: I'm currently studying about classes, and could get '=' overloading format: [CODE][COLOR="Red"]T&[/COLOR] T::operator =(const T& b);[/CODE] Why we set it to return reference? what's the use? Why couldn't simply be: [CODE][COLOR="red"]void[/COLOR] T::operator =(const T& b);[/CODE] I've used … | |
hi. I want to add a google map(with street view) in my site. I use this code. when I clicked the point on the map, it can change the street view to this part and show the click point information. But how to add a Red balloons marker in the … | |
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reasons = '', birthplace = '' dob_month = 'January', dob_day = '' at line 8 Hello aLL I am developing an online registration form that … |
The End.