199,114 Archived Topics
Remove Filter ![]() | |
Hi all, (this is a repost from [URL="http://www.daniweb.com/forums/thread112412.html"]here[/URL]) I'm working on a relational data model in which I'd like to store boolean expressions. I'm a little rusty so I'm humbly asking for a little push. For example, let's say I have the following boolean expression: [code]((A = 8 OR A … | |
Hi guys, I'm really sorry to bother you with a simple question. I'm doing an assignment with operator overloading at the moment & seem to not understand how operator+ should be used in regards to my program. I understand the point of it & how to get it when using … | |
Hi I have this table inside a form and in this form Im also fetching data from a csv file to display product informations in a table. I want a javascript code that when a user inserts a quantity value of the product he wants to buy the total column … | |
Hi Daniweb Team, I am MCA graduate 2010 passed out and i have done my final year project in PHP platform.I had a confusion in starting a carrier in Php or Java.I have known both the languages .My country is India. I do no what much of scope is available … ![]() | |
hello, i am doing email concept. in this user can set the automatic email option i mean when user registered there account then he was set receive emails at this time on this day... how to set this...any suggestions plz... | |
Hello. Please I need help from anyone who know about my problem.. I m passing value to textBox. I need to get that value and pass to CAN. I store val as: String^ myval=textBox1->Text; and i m passing to CAN as: Transmit.Data[0] = myval; but i m getting error. please … | |
There's probably a quick solution to this, but I'm struggling with VB2008 Express. Her's my situation anyway: A simple database has been created in Access, which is just basically a table of text, with some images as entries. A form has been created in VB2008 Express and linked to the … | |
Hello, I'm using Windows 7 Ultimate 64bit, Visual Web Developer 2010 and Microsoft SQL 2008 Express SP1(local). SQL server is set to windows authentication, I'm on admins account but the problem is that I can't work with database. It keeps doing errors with connection etc. (I have to use VirtualBox … | |
Hey Guys- do you have any idea how to redirect on another page after Response.End() ? I want once file download compelte it will redirect user on another page. I have tried a lot but didn't get any success. If you have any idea to achieve this then please let … | |
Hi i am working on a project for cyber cafe. My problem is that when i am using a form with maximize property who covers all the screen including start menu and status bar but whenever windows key is pressed start menu and status bar showed. so tell me how … | |
Hi, I have created an html help file for my application and have a menu button to open it but I am having problems as it keeps coming up with an error saying it can't find the file. I don't want to hard code the full path to the help … | |
Hi All, On a registration form im pulling a list of countries from mysql. When i select, say england, i want to populate the provinces of england select option. Im using a standard loop to do this. What i dont want to do is force the user to click a … | |
I'm very new to Java, and I just have a few questions that I can't seem to clear up even with some research. What does it mean to override a method? Also what is the difference between a static and non-static method? | |
I am having problems getting my code to work properly. I cannot seem to get the results to print and get this error message "IsMemberMethod.java:59: isMember(int[]) in IsMemberMethod cannot be applied to () System.out.println(searchValue + ": " + isMember());", but I cannot seem to work around it. Also, not sure … | |
[B]This is my code so far......[/B] [CODE] import java.applet.Applet; import java.awt.*; import javax.swing.JOptionPane; public class HelloWorld extends Applet { Font myFont = new Font ("Times Roman", Font.BOLD, 25); public void paint (Graphics g) { g.setFont (myFont); g.setColor (Color.BLUE); g.drawString ("My Name" , 20, 30); String first; first = JOptionPane.showInputDialog (null, … | |
object reference not set to an instance of an object............. when this problem arise? | |
I recently wrote some code from a code snippet from my java programming textbook as a way to pass the time, and since it works fine in console, I assumed that it will work fine in a GUI application. The code: [CODE] import java.net.*; import java.util.*; import java.io.*; import java.nio.*; … | |
hi, I had a project page where we can see projectname and allocate memory text boxes. so my query is that wen we enter a project name and if already a project exists with the same name then i should get a popup. i mean it should not allow duplicate … ![]() | |
Dear all, I'm stucked with my XML problem. I have these stored procedures to save XML data into server hard disk. [CODE]CREATE PROCEDURE dbo.sp_XML_Employee(@Database varchar(10), @FileName Varchar(2000)) AS DECLARE @bcpCommand varchar(4000) SET @bcpCommand = 'bcp "SELECT EmployeeID, EmployeeName FROM ' + @Database + '.dbo.MasterEmployee ORDER BY EmployeeID FOR XML RAW(''Employee''), … | |
hi all, i am having a projects page, in which we can create a project by giving projectname and allocate some memory(we had restriction on memory i;e 60MB). so i had created a project and allocated some memory of 65MB. so now i wil get a popup as "insufficient memory" … | |
The directory layout looks like this [CODE] base -- + parcer -- + parcer.py log -- + log.py [/CODE] I want to import log.py from parcer.py. How would I do that? | |
Hi, I am developing a website for a club and I am trying to get the next games to show up. I am trying to get some info out of one database and then use that info as a key for the next query, then display all the results that … ![]() | |
I need help getting UI to work with my File System [CODE]import java.awt.*; import javax.swing.*; import javax.swing.JLabel; import javax.swing.JTextArea; import javax.swing.JTextField; import java.awt.event.ActionEvent; import java.awt.event.*; class UI extends JFrame implements ActionListener { private JButton format = new JButton("Format Disk"); private JButton mount = new JButton("Mount Volume"); private JButton createDIR = … | |
Hi, I've gotten this program to work but I want to format it differently. I feel like I've tried everything to make the changes that I want but they just don't work. I think I may have the right idea on most of what I want to change but keep … | |
Hello, I'm working on a website that will be based on user contributed data, submitted using a regular HTML form. To simplify my question, let's say that there will be two fields in the form: "User Name" and "Country" (this is just an example, not the actual site). There will … | |
i have a file excel and i imported it into sql 2005 with it's name is QLHP ,now i want to delete QLHP database in sql 2005 using c#. Please help me! Thanks so much! | |
I have some doubt regarding jquery and ajax. What is the difference between jquery and ajax? Do jquery accesses server resource or its just do the things at client side? while solving a problem what to choose out of these two? | |
I am in a basic programming class and am having difficulty figuring out how to account for a non-numeric value being placed in for a binary number that will be converted to decimal form. If there is to be say a P typed into the binary input number, I want … | |
Hi, I am trying to set up a section on a site where the results that are shown come from a table. I want to get the number of the 'current_round' then subtract 1 from it and use that value. I have looked up MySQL dev site, and assume that … | |
[CODE] #include <iostream> #include <cstring> #include <string> #include <cstdlib> #include <iomanip> #include <stdlib.h> #include <conio.h> #include <stdio.h> using namespace std; class Fraction { private: double numerator; double denominator; public: Fraction (); // Fraction (double numerator, double denominator); //Fraction (Fraction &); //double operatorMultiply (fraction a, fraction b); //double operatorSum (); //double … | |
Ok, I am totally stuck. I've spent hours on this today, and I can't figure out what is going on. This is my .htaccess file: [CODE] RewriteEngine On RewriteRule ^articles/([0-9]+)/([a-zA-Z0-9\-]+)$ /article.php?id=$1 [L] RewriteRule ^articles/([0-9]+)/([0-9]+)/([a-zA-Z0-9\-]+)$ /article.php?id=$1&page=$2 [L] RewriteRule ^topics/([0-9]+)/([a-zA-Z0-9\-]+)$ /topic.php?id=$1 [L] RewriteRule ^topics/(.+)$ /sub-topic.php?topic=$1 [L] RewriteRule ^authors/([0-9]+)/([a-zA-Z0-9\-]+)$ /author.php?id=$1 [L] RewriteRule ^preview/([0-9]+)/([a-zA-Z0-9\-]+)$ … | |
sorry to post this stupid question here. I'm just learning Assembler and a problem from my book is: input: a string from a user. output:character in that string. for example: input: DANI so output is: D A N I I just can received a string from user. thanks. :) | |
Hi, I am trying to display some results where one column is equal to another column in a table. End goal: display all the results where the round and current round are the same number for every team in the table. the number of teams will change as the number … | |
hey guys im new to recursion to recursion..pls look at the function call ...question is how do i call in two functions at the same time..and which one should i return thank you. [CODE]#include <iostream> using namespace std; bool canMakeChange(int total, int nums[], int length){ if(total==0) return true; else canMakeChange(total,nums,length-1); … | |
Hello everyone im currently making a library, and im new to using arrays, i have added some books to my library file using an array. i was wondering how would i go back and select the element in the file to delete. the area that im trying to code for … | |
I'm completely new to C++ and trying to figure this stuff out I had posted a topic a couple days ago. After many frustrations and headaches, I deiced to start over. This is what I got: [code] #include<iostream> #include<iomanip> using namespace std; double ot = 0; double getHoursWorked(); double getPayRate(); … | |
I'm just learning VB with the 2008 express edition. I'm trying to create a program that uses 3 list boxes. The first contains a list of products. After a search is preformed the second list box displays the products found. This is pretty simple, basic array stuff. My problem is … | |
Hey. I was wondering if anyone here could help me with a little problem I'm having. I'm trying to create a "source-to-source" compiler, but I really can't figure it out. Everyone has told me to "Use Yacc/Lex " (or various variants of them), but I really don't understand how they're … | |
Hi all, I'm having difficulties with a past paper question on B+ Tree's that I need to fully understand for an exam 2 weeks from now. Any help would be appreciated! I need to construct a B+ tree with branching factor M = 3. Each leaf can contain up to … | |
write a program that reads in a list of names and stores them in [I]vector<person>. [/I]Then ask the name of the best friend for each person in the list. For each best friend, locate the Person object matching the best friend and call a [I]setBestFriend(Person* newBestFriend) [/I]memeber function to update … | |
Hello, could someone help me create a program that will take in separate strings from a user and then output it all on one line in random order? This is what i have so far: [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> int compareStrings(const void *pStr1, const void *pStr2) { … | |
when you enter a,b,c,d,e numbers by keyword COUNTING A. Sum of numbers B. Multiply numbers C. Greatest number D. descending of numbers PRINTING ON SCREEN A- Sum of numbers B- Sum of multiplication C- The greatest number D- descenging of numbers [CODE]using System; class Program { static void Main(string[] args) … | |
![]() | Basically When i click b1 in the Pincode method i want the Balance(); method to run and display a JButton "2" but i want to clear the frame and panel first, so it looks as if its a new frame... Any help is much appreciated thanks! :) [CODE]import java.awt.*; import … |
Hi all, What i could really use help on is the Revellos project. For anyone who might possibly have the "Microsoft Visual Basic 2008 Reloaded" book this is on page 579. This is what the page says: "Revellos has store located in several states. The sales manager has asked you … | |
So I have being asked to create something in JavaScript and was told what they want it to be like, since I am beginning JS amongst other web development languages. Anyway have a look at the image and let me know if it is possible to do with JS or … | |
hi all, I have installed wordpress in English language. But in my language there not any available languages in wordpress official site My language is [B]Azeri[/B] [COLOR="Red"]Azerbaijan[/COLOR] country which wordpress files must i make changes thanks beforehands ![]() | |
[CODE] #include <cstdlib> #include <iostream> #include <cmath> #define width 5 using namespace std; void SelectionSort(double array[][5], int height); int main() { int height; int i,j,lab,midterm,final,number; float avglab,avgmid,avgfinal,totallab,totalmid,totalfinal; cout<<"Number of students: "; cin>>height; cout<<"\n"; double array[height][5]; for(i=0;i<height;i++) { cout<<"Please enter student number: "; cin>>number; array[i][0]=number; } cout<<"\n"; cout<<"Please enter Lab scores.\n"; … | |
Hi there, I write a code using socket to realize multiple message exchanges between a client and a server (i.e., a protocol running between A and B). But when I use recv() on a client to receive a message from a server, it turned out that the returned receive size … | |
Hello again, hope you guys can help me again ^^ Will make text red where need help. Sry its long... Ok, so(sorry if some things are in a diffirent language in there), the assigment is: to make a program using a Horoscope structure [CODE]struct Horoscops{ string name; int dzim[2]; string … | |
Got a test coming up and I need some help understanding arrays....Below is the code I wrote to match the question which follows underneath that... [CODE]class Student{ String id;//this student's ID int midScore;//this student's midterm score int finalScore;//this student's final score public Student(String id){ this.id = id; } public void … |
The End.