64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for computerbear

Hi, Continuation of a previous thread. This is different question, so new thread. I have an array of 5 taxpayers. User enters 5 SSNs and Incomes. An array is instantiated to fill this data. I need to display all five objects listing SSN, income and tax. I am having difficulty …

Member Avatar for computerbear
0
636
Member Avatar for thilinam

Hello All, Have somebody heard about a C++ library which help Agent programming like Java Agent Development Environment(JADE). Please let me know. I googled it but I could not find. Thank you ThiLiNa

Member Avatar for thilinam
0
1K
Member Avatar for carebear23

I am trying to get information from my database that contains a foreign key that relate to another table, I am trying to enter details of an order and then have the customer ID of that order enter automatically from the customer table. [CODE] [B]Customer Table [/B] CREATE TABLE IF …

Member Avatar for markdh
0
113
Member Avatar for nawaray82

Hello..... i am new to C#, can some one please give me a simple code example for an array data structure to read Name, Age, Salary, and Address for the employee by Asking the user to enter the number of employees. Thank you

Member Avatar for abelLazm
0
172
Member Avatar for Craftknight

Hello, I have been trying to get this program to work for a while now with no luck and I was hoping that someone could clear things up. My problem is the program always gives the failure to open file message so I can't tell if anything else works or …

Member Avatar for Craftknight
0
140
Member Avatar for isumasama

hi all, i have created a crosstab query and one of the row heading contains a hyperlink field. my problem is that the field is not working, and on top of that it gives corrupted values too. pls help thanks

Member Avatar for isumasama
0
186
Member Avatar for isumasama

hi all, i need to do a record search in a form where its Record Source is Operation, but instead of searching the Operation, i need to search different table, say Remark.. i supposed the red highlighted code should be the place to set the Remark table, but how to …

Member Avatar for isumasama
0
150
Member Avatar for cafegeo

Hello everyone. I am trying to find the max values of each column in this 5 column array. I have skipped the first column because it is just the product name. The other 4 columns contain revenue of that product. The function I wrote below works for col 1, 2 …

Member Avatar for cafegeo
0
1K
Member Avatar for clickspiker23

[CODE] // this is main.cpp // stuck on getting the ouput of the distance NOT to be 0 i think its someting to do with the variables // in the distance method in the point.cpp file // The invokeX and invokeY are set to 0,0 cout << "The distance from …

Member Avatar for ravenous
0
139
Member Avatar for phpDave

Hi! Anyone know of a good tutorial for allowing users to "upload video files". I am familiar with uploading scripts for images but never worked with videos.

Member Avatar for diafol
0
62
Member Avatar for azegurb

Hi all, I have table in Javascript and it has addrow, deleterow, submit, and functions. when i click it automatically adds new row and it has select option to choose some of them for ex. in added two rows one of them is Motherboard Asus and other is Motherboard Gigabyte. …

Member Avatar for Airshow
1
325
Member Avatar for ashwinshenoy

Hi Guys, I have developed a program which continuously draws a circle using a timer. Now every time the circle gets displays it flickers and which is because i have used me.refresh. Is there any other way to avoid this flickering. here is my code [CODE]Private Sub Timer1_Tick(ByVal sender As …

Member Avatar for Unhnd_Exception
0
3K
Member Avatar for sciprog1

Hello Members, The following code compiles and runs accurately, but gives the following message: [CODE]Note: List.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.[/CODE] [CODE]import java.util.*; public class List { private final static int[] array = {1,2,3,4,5,6,7,8,9,10,11,12,56}; public static void main(String args []) { ArrayList x = …

Member Avatar for sciprog1
0
133
Member Avatar for VasquezPL
Member Avatar for VasquezPL
0
2K
Member Avatar for The physicist

Hi all, I'm sure it's an error by me, but I'm having a problem with ifstream inside a loop. The reason for the loop is read in a piece of text from multiple files, and cases within the switch statement change the filename, path is previously declared. The first iteration …

Member Avatar for The physicist
0
2K
Member Avatar for ctyokley

Hey. I have created a website that uses aspnetdb. Using this, i'm trying to take advantage of the profile table. I have it working and I can pull info from the logged in user and display it on the page, however, when i try and load the info on another …

Member Avatar for ctyokley
0
196
Member Avatar for asadaziz

I am working on visual studio 2008 what i want to do is read till the end of the file the code i am using is [CODE] StreamReader ^sr= gcnew StreamReader("example.txt"); String ^str; while(sr->Read()!= 0) { str=sr->ReadLine(); textBox2->Text=sr->ReadLine(); MessageBox::Show(str); } sr->Close(); [/CODE] what could be used inside while condition that …

Member Avatar for MattyRobot
0
1K
Member Avatar for tracydo

I spent so much time from scratch to finish and to the point that I couldn't figured out what is all my mistakes about. I need a fresh set of eye, may you help? (errors at the bottom, sorry for have to scroll down the long page) Thanx [code]/* *Description: …

Member Avatar for tracydo
0
3K
Member Avatar for Tommymac501

I have a SQL file that needs to be BCP exported to pipe delimited because of limitations on the recieving end. I have tried the following with no sucess; [BCP sql statement] + '.txt" -t"|", -c -T' [BCP sql statement] + '.txt" -t\|, -c -T' [BCP sql statement] + '.txt" …

Member Avatar for Tommymac501
0
223
Member Avatar for Mark_48

im looking to check a binary value at a certin bit and determin if that bit is a 1 or a 0. For example: A = 10000000 B = 01111111 I want to check the first bit and if it is a 1 load it into one array and if …

Member Avatar for Mark_48
0
127
Member Avatar for ebanbury

Hi Hoping someone has some experience with this. I have an insert record which works perfectly, until I try and encrypt the passwords and set the date to NOW() When I submit the form - the form does not complete successfully, however a record of some kind is inserted into …

Member Avatar for tiggsy
0
125
Member Avatar for Derek Elensar

Ok, so I have a stupid question to ask, and I aks all of you not to ridicule one who is merely looking for knowledge. What is the difference between using [code]#include "whatever"[/code] versus using [code]#include <whatever> [/code]? I've always used the brackets versus the quotes, and have tried looking …

Member Avatar for Derek Elensar
1
13K
Member Avatar for Joshua Kidd

Hey Guys, I need some help with Deleting data from a MySQL . Currently I have, Two PHP files. the First is the main page. [CODE]<?php $host=""; $username=""; $password=""; $db_name=""; $tbl_name=""; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); ?> <p>This Page Refreshes Every …

Member Avatar for karthik_ppts
0
141
Member Avatar for sharathg.satya

can anyone say how to use java in windows 7 I installed it but its not working. i am unable to compile a java program. please help me in solving this problem. i am getting this message in command problem when i use javac "'javac' is not recognized as an …

Member Avatar for jwenting
0
126
Member Avatar for ivan3510

I used [URL="http://www.ibm.com/developerworks/library/os-php-v525/index.html"]this[/URL] page for making upload progress bar. I downloaded it and uploaded it to the server (you can see it [URL="http://latinus.herobo.com/proba/progress.php"]here[/URL]), and I signed up to Google Maps API and I pasted the code, but it doesn't work. It uploads the file, but it doesn't write the upload …

Member Avatar for ivan3510
0
386
Member Avatar for branding4you

I have dropdown on Enquiry page, some text boxes etc with a capthca below and submit button I used this code for my text boxes [CODE]<input name="fld_name" type="text" id="fld_name" size="40" value="<?php if($_POST['fld_name']) { echo $_POST['fld_name']; } ?>" /> [/CODE] it keeps the data in the textboxes when the user does …

Member Avatar for branding4you
0
353
Member Avatar for e-papa

I wrote a program which I tested in the IDE of python 3.2, it worked but whenever I open the program directly or run from command prompt, it doesn't run correctly, after the user inputs the correct answer, the program keeps saying try again. [URL="http://www.daniweb.com/software-development/python/code/359115"]here's the program it's in the …

Member Avatar for e-papa
0
648
Member Avatar for 54uydf

I want to make a query that would return data about students who failed in a specific course, the report is looking like this- studId, studName, last grade, year last course was taken, num of fails in this course. so I'm having problems writing the correct SQL query to get …

Member Avatar for 54uydf
0
231
Member Avatar for ZER09

hello to all, i got a problem in vb.net program, i dont how to delete multiple rows in a single table i used "truncate" command. this is my code for deleting: [CODE] Private Sub tranc() Try Dim dbconn As OleDbConnection Dim dbcom As New OleDbCommand dbconn = New OleDbConnection(cnnstring()) dbcom.CommandText …

Member Avatar for debasisdas
0
88
Member Avatar for thijscream

hey, i'm trying to make a pdf, but i get the following error: 1temp/KW1.pdfError!! as you can see in the code i echo the $factuurnummer, that's the 1 in the error, then i echo the patth it should go to what is temp/wk1.pdf and then i echo the error. does …

Member Avatar for squinx22
0
163
Member Avatar for arezz09

i founds this code to search data in datagrid.. [CODE]Me.BS.Filter = "date = " & DateTimePicker.text "'"[/CODE] what BS mean & are this code true ??

Member Avatar for debasisdas
0
89
Member Avatar for muzikhera

Guys need help with this one. Here's the condition / algorithm. "If first digit is number/int and last digit is letter add two zero in front of the string" Hoping for any idea! Thanks.

Member Avatar for Mitja Bonca
0
385
Member Avatar for turt2live

Hello, I have a PayPal button that uses a submit button to pay, but I have a small problem with it. The client I'm making this for also wants tracking (Hits). Is it possible to have the submit button also run a javascript before going to paypal? If you need …

Member Avatar for turt2live
0
160
Member Avatar for cretaros
Member Avatar for masijade
0
65
Member Avatar for AndreRet

I have been stuck on this for 2 days now. There were a ton of code available, but not one working solution. Below is my code to send the mail once a user requested a service at an auto repair shop. It updates mysql with all of the data and …

Member Avatar for AndreRet
0
282
Member Avatar for koveras vehcna

Hello everyone, I have created my own random text generator with a custom method, no Markov chains included, and now I would like to try it on a different text corpus that is larger from that of NLTK's and I wanted to know which Data structure should I use in …

Member Avatar for koveras vehcna
0
241
Member Avatar for skips

I believe this to be a simple problem. My program runs fine, but I cannot figure why the variable "final_grades" is not being passed to the function and output. alternatively, I may be calling to the function incorrectly. This is the first class that I have written, so it may …

Member Avatar for skips
0
171
Member Avatar for pseudorandom21

I have a C++/CLI form, and a native class in separate files. I include the header file of the native class at the top of the Form.h This causes the compiler to try to compile the constructor of the Form as a native function and spits out 100+ errors and …

Member Avatar for jonsca
0
128
Member Avatar for techie1991

I was looking at a question: Q. Given n numbers of which all numbers are repeated (at least once) other than one. We have to find that number. Numbers range is to 10^9, thus using count sort would do no good.! Adding the numbers one by one to a dictionary …

Member Avatar for youwill
0
104
Member Avatar for arezz09

i hve 2 form..first for insert dat & second for preview data..i'm using datagrid to preview data from accessdatabase.. how to make datagrid automaticly load data form database after insert new data..data grid only load after i relaunch my application...do i need create refresh button or anything else??

Member Avatar for Jx_Man
0
166
Member Avatar for toferdagofer

i am writing a decryption program that reads a file from another project solution and decrypts it then writes it to a new file in its own project folder. For some reason when i try and read the file in the program says that file doesn't exist. Im pretty sure …

Member Avatar for Moschops
0
161
Member Avatar for triple_A

Hey all. I am making an application through 10 exam scores (integers 0-100) are entered into separate text boxes within a group box, and are analyzed with the click of a button. The list box should then display the mean, standard deviation, and the list of scores and corresponding grades. …

Member Avatar for triple_A
0
178
Member Avatar for bobgodwin

I'm using this code to check if a record exists or not: [CODE] $filename = $_FILES["file"]["name"]; /// FROM FORM $ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); $bull = substr($filename, 0, strpos($filename, '.')); $myQuery = "SELECT * FROM $media WHERE label='$bull' "; $result = $dbh->prepare($myQuery); $result->execute(); $cont = $result->rowCount(); if ($cont == 1) …

Member Avatar for bobgodwin
0
151
Member Avatar for Arikon

I am making an english to pig latin translator and I cannot quite get this right! For some reason i can always get the first word to translate but the other words jumble together and sometimes repeat themselves. The rules for this program are as follows: To translate an English …

Member Avatar for Arikon
0
1K
Member Avatar for navp

Hey guy, I want to know if there is a way of using PHP in JavaScript. I have no idea how can i get the variables from PHP into JavaScript. I am making a pizza application, the php file is a confirmation page. The user can either go back to …

Member Avatar for navp
0
265
Member Avatar for eman 22

Hi all during my implementation to tree data structure, I make a method which combine two trees in one tree and called it attach. I declared 3 trees t1,t2,t3. and then called method attach which will create new tree and put t1 in right and t2 in left and then …

Member Avatar for eman 22
0
93
Member Avatar for mkab

Hello everyone. Let's say i have 2 scripts called "fill_cup.sh" and "empty_cup.sh" and i create a 3rd script "cup.sh". How can i run/execute the scripts "fill_cup.sh" and "empty_cup.sh" in the script "cup.sh". I tried with sh fill_cup.sh and ./fill_cup.sh but it doesn't work. for example Script cup.sh #!/bin/sh [CODE]echo enter …

Member Avatar for SakuraPink
0
245
Member Avatar for branding4you

I have textarea comming from mysql. In the backend the user tyes a letter type format in a textarea They ise Enter to make new rows etc __________________________________________________ Dear john Welocome to our website hope you find it usefull Thank you The Team ___________________________________________________ When I pull the data from …

Member Avatar for branding4you
0
90
Member Avatar for SakuraPink

Hi all, I'm trying to read data from this xml file that looks like this: <VEGETABLE > < FRUIT > <FRUIT name="apple">1</FRUIT> <FRUIT name="Orange">2</FRUIT> <FRUIT name="Benana">6</FRUIT> I wrote the following script:[CODE]import sys from xml.dom.minidom import parse from cmath import sqrt # Load XML into tree structure tree = parse(sys.stdin) #Find …

Member Avatar for SakuraPink
0
4K
Member Avatar for Agni

I have been reading the 'inside the c++ object model' by Lippman and one of the sections has me a little confused. It is the section where the author explains how virtual tables are created and virtual pointers assigned, in the scenario of multilevel, single inheritance. If anyone here has …

Member Avatar for Agni
0
327

The End.