199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LeBurt

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 …

Member Avatar for cipak
0
2K
Member Avatar for godsgift2dagame

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 …

Member Avatar for Banfa
0
126
Member Avatar for jazz_vill

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 …

Member Avatar for parry_kulk
0
122
Member Avatar for prem2

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 …

Member Avatar for rajarajan2017
0
66
Member Avatar for muralibobby2015

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...

Member Avatar for urtrivedi
0
100
Member Avatar for shrutinr

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 …

Member Avatar for JasonHippy
0
236
Member Avatar for aalto

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 …

Member Avatar for Luc001
0
113
Member Avatar for Ycefire

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 …

Member Avatar for Ycefire
0
198
Member Avatar for rohand

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 …

Member Avatar for dnanetwork
0
82
Member Avatar for pardeep3dec

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 …

Member Avatar for Luc001
0
314
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
0
94
Member Avatar for whiteyoh

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 …

Member Avatar for whiteyoh
0
84
Member Avatar for vmirz

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?

Member Avatar for stultuske
0
370
Member Avatar for bustersox

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 …

Member Avatar for stultuske
0
2K
Member Avatar for pateldeep454

[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, …

Member Avatar for quuba
0
112
Member Avatar for rajni sharma

object reference not set to an instance of an object............. when this problem arise?

Member Avatar for rohand
0
115
Member Avatar for fuser

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.*; …

Member Avatar for JamesCherrill
0
117
Member Avatar for niths

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 …

Member Avatar for rajarajan2017
0
68
Member Avatar for Kusno

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''), …

Member Avatar for Kusno
0
223
Member Avatar for niths

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" …

Member Avatar for niths
0
98
Member Avatar for ultimatebuster

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?

Member Avatar for TrustyTony
0
98
Member Avatar for QWaz

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 …

Member Avatar for rajarajan2017
0
83
Member Avatar for PonAngel

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 = …

Member Avatar for PonAngel
0
94
Member Avatar for BobbieJean

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 …

Member Avatar for BobbieJean
0
1K
Member Avatar for Vincent80

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 …

Member Avatar for urtrivedi
0
160
Member Avatar for thuyson

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!

Member Avatar for thuyson
0
96
Member Avatar for urtrivedi

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?

Member Avatar for urtrivedi
0
141
Member Avatar for kapiercy07

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 …

Member Avatar for kapiercy07
0
134
Member Avatar for QWaz

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 …

Member Avatar for urtrivedi
0
92
Member Avatar for jeffcruz

[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 …

Member Avatar for jeffcruz
0
68
Member Avatar for tustind

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\-]+)$ …

Member Avatar for tustind
0
140
Member Avatar for hqt

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. :)

Member Avatar for thines01
0
84
Member Avatar for QWaz

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 …

Member Avatar for QWaz
0
2K
Member Avatar for i_luv_c++

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); …

Member Avatar for i_luv_c++
0
263
Member Avatar for dls_20022002

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 …

Member Avatar for abhimanipal
0
105
Member Avatar for Justin9825

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(); …

Member Avatar for Justin9825
0
208
Member Avatar for clair0917

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 …

Member Avatar for clair0917
0
137
Member Avatar for Tirian

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 …

Member Avatar for Tirian
0
119
Member Avatar for C Newbie

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 …

Member Avatar for C Newbie
0
445
Member Avatar for e30rapidic

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 …

Member Avatar for abhimanipal
0
730
Member Avatar for martinjcloud

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) { …

Member Avatar for jephthah
0
130
Member Avatar for kizilelma

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) …

Member Avatar for Szpilona
0
121
Member Avatar for jaredleo999

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 …

Member Avatar for BestJewSinceJC
0
4K
Member Avatar for samuel17

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 …

Member Avatar for samuel17
0
235
Member Avatar for Simes

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 …

Member Avatar for Simes
0
6K
Member Avatar for azegurb

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

Member Avatar for diafol
0
131
Member Avatar for yigster

[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"; …

Member Avatar for yigster
0
262
Member Avatar for sophie.c

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 …

Member Avatar for sophie.c
0
5K
Member Avatar for Crow13

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 …

Member Avatar for Crow13
0
207
Member Avatar for fpg5

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 …

Member Avatar for moutanna
0
109

The End.