199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Usura

Hey could someone please point me to a website which shows you how to remove duplicates of a list container of a class that have the same name, but change the int to be an average of both values in the class? [CODE] class product{ string name; float rating; } …

Member Avatar for siddhant3s
0
187
Member Avatar for twilightprincez

hi, i need some help with my hangman game. i have the whole thing down except i don't know how to get it to draw the head if the first letter is wrong, the body if the second, etc. i'm really new at visual basic and i could really use …

Member Avatar for Jupiter 2
0
155
Member Avatar for Richy321

Hi, Im trying to connect to my sql database and generally play around but I get the following error: [ICODE]error C3867: '_com_error::Description': function call missing argument list; use '&_com_error::Description' to create a pointer to member[/ICODE] I think it has something to do the import of the msado15.dll. Obviously if I …

Member Avatar for Richy321
0
216
Member Avatar for leevs05

I need to create a new form with double combo boxes where listings of the second item combo box depends on the first combo box. The first combo box is CustomerName and the second is Item. I've done the whole dragging of the combo boxes into the form and when …

Member Avatar for lonelyrider
0
106
Member Avatar for hetngay

<links snipped> Hello I need some help with this question. I have attempted to write a segment of code for the Binary Search Trees in C++ code. Refer to the question below. Design and implement a program in C++ to solve the following problem. DESCRIPTION This program, which learns by …

Member Avatar for Ancient Dragon
0
156
Member Avatar for plut0564

Has anybody used this microsoft tool SSMA? I can connect the two databases OK, and can convert tables from ORACLE to SQLSERVER 2005, but the data refuses to go across. Any info will be helpful. Thanks, Jim

Member Avatar for Ramy Mahrous
0
104
Member Avatar for sandilian

Hi all. i need help. i have two text boxes in Web application. When i enter data in first textbox second will enable automatically. i have written javascrit of onblur and onchanges and onkeyup event to enable the second textbox, it works fine but the problem is when i copied …

Member Avatar for sandilian
0
106
Member Avatar for raymondhsu09

Hi, i have a web application(made in C#.NET ) which opens excel spreadsheet in a frame by using Response.Write("<script>window.open(' xls FilePath ');</script>"); . The excel file is opening correctly but my problem is once the document is open in the application it prevents use of Excel outside the application.If the …

Member Avatar for raymondhsu09
0
160
Member Avatar for BlkR

Hi guys, Having difficulty as to how to achieve the following Have a database with a table with a list of items and their prices now what i am thinking of doing is to be able to take orders using a datagrid and the datagrid would allow me to enter …

Member Avatar for BlkR
0
83
Member Avatar for redZERO

Hey guys I'm using JLayeredPane because i want three distinct layers in my program. terrain, buildings and then characters. I thought that JLayeredPane was easily the best choice for this context. The problem is, I have only seen people *adding* components to their layers. I need to do my own …

Member Avatar for JamesCherrill
0
231
Member Avatar for mikenco

I have joined a few tables together and all seems to work well.. [code] SELECT * FROM products JOIN underwriters ON (products.underwriter_lookup = underwriters.id_uw) JOIN countries ON (products.country_lookup = countries.id_co) JOIN repay_types ON (products.repay_type_lookup = repay_types.id_repay) JOIN base_rates ON (products.base_rate_lookup = base_rates.base_rates_id) [/code] However, I have been asked if I …

Member Avatar for mikenco
0
117
Member Avatar for Joy McClure

I have created a database in vb, I currently have 13 columns and 2 lines, I'm trying to add to that database through the VB form I have. When the user imputs information into a textbox I want that new info to appear in my database, is that possible or …

Member Avatar for kvprajapati
0
94
Member Avatar for kostasxx

i need to make a program that finds all primes between some numbers the biggest number is 1000000000. the code that i have works fine, the only problem is that what i thought that would solve this, is too slow [code] #include <stdio.h> int main(){ FILE *fin=fopen("in.txt","r"); int t,n1[10],n2[10],i,j,ex,k; fscanf(fin,"%d\n",&t); …

Member Avatar for vs.vaidyanathan
0
200
Member Avatar for PinoyDev

hello guys.! I just have 1 problem right here. I have a variable declaration below: [code=vb] myVar ="Argie's" "Select * from [my Table] where [my Field] ='" & myVar & "';" [/code] When i execute the query, it returns error because the myVar value contains Quotes and sql server does …

Member Avatar for PinoyDev
0
112
Member Avatar for Bob Arctor

Hello all, I have a page where the user clicks a link, one of several, and some text is displayed. The code I have does exactly that. My question is how do I show only the the current text inside the div container ? I've had a look at clearing …

Member Avatar for Bob Arctor
0
516
Member Avatar for Virux

I have been testing a application I made, which is a simple swing interface with a checkbox. I am using custom icons for my checkbox, for checked, checked and mouse-over, unchecked, and unchecked mouse-over. I am using the eclipse IDE. Eclipse creates your application in the workspace file, so the …

Member Avatar for JamesCherrill
0
85
Member Avatar for gumber

hello friends, as a semester project i have to make a voice chat application. But i am confused how to proceed.Can somebody provide me some help and guide me regarding capturing sound from microphone , after capturing which compressiong methods to use , then which tcp/udp to send packets ? …

Member Avatar for JustinJose12002
0
229
Member Avatar for Venom Rush

Hi all I'm learning OOP and I'm having a bit of trouble grasping the concepts. I'm trying to code a class that will connect to a database and have a function that will insert data into a table no matter how complex the insert is. For instance: Insert 1: INSERT …

Member Avatar for Venom Rush
0
105
Member Avatar for skumar.snl

To get Twitter user Detail,Followers,following by using UserName without password

Member Avatar for Tekmaven
0
89
Member Avatar for eng_mary

Hi every one. suppose i have Car class: [CODE=java]public class Car{ int id; int speed; public void move(){ ... } ..... }[/CODE] that have to run in Race class: [CODE=java]public class Race{ Car[] cars; .... public void runRace(){ .. for (int i=0; i<cars.length; i++) { cars[i].move(); //here is my problem …

Member Avatar for eng_mary
0
182
Member Avatar for gbyerly

In the code at the end of this post, the dropdownlist and the textboxes are used to supply values for an update command associated with a sqldatasource. When the update command runs, it returns the following error: ***************************************************** Could not find control 'ddlTitle' in ControlParameter 'Title'. Description: An unhandled exception …

Member Avatar for Tekmaven
0
670
Member Avatar for mbrc

It's unfortunate to spend so many hours on a loop, but that I have. Below is a function which takes a NULL terminated string pointer and skips over new lines and /* comments /*. It should exit as long as the specific delimiter or comment is not present at the …

Member Avatar for mbrc
0
98
Member Avatar for chriscross86

hi, i need help with this codings. i did this in visual web developer.it is based on jscript and i need to convert it into asp.net.please help. [code=asp.net]<%@ Page Language="JScript" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <%@ Register TagPrefix="Header" TagName="ImageHeader" %> <!DOCTYPE html …

Member Avatar for Tekmaven
0
255
Member Avatar for GSPprog

user puts in the number of employees but inputs less employees. He terminates the loop by pressing the ENTER key. How do i do that. I tried strlen,, and even trid atoi but i dont know how to terminated it. Also when it terminated its just uses that many employees …

Member Avatar for GSPprog
0
422
Member Avatar for danilopena
Member Avatar for shilpa_mk
0
75
Member Avatar for polo_coins

Hi I wrote such code it works mostly perfect(you may use it) but I don"t know how to add attributes to some TAGs for example I want to change Expire date to attribute of buyer I want you suggesting how to add attributes [ICODE] class Program { static void Main(string[] …

Member Avatar for kvprajapati
0
101
Member Avatar for Rich13

Hi, I'm pretty new to the whole SQL thing, and i'm basically self teaching using manuals, online help and the fact i pick things up quickly. I'm having a bit of trouble picking data up from 2 tables and i think i'm just beign really thick. This is what i'm …

Member Avatar for mail2saion
0
73
Member Avatar for danilopena

So I've been "studying" java for two semesters, and my teacher is not what you would call the best. I was just wondering if any of you guys could help me out with some questions I have... What is a recursive termination condition and what happens if a recursive function …

Member Avatar for BestJewSinceJC
0
85
Member Avatar for ramanaths

I have the following data in a table named dtlstbl which has columns id and refid 100,1 100,2 101,1 102,2 103,1 103,2 I am fetching data from this table thus select id from dtlstbl where refid in (1,2) All the records are returned. I want a SQL 2000 query that …

Member Avatar for mail2saion
0
74
Member Avatar for killdude69

Okay, I have been googling and looking on MSDN for this for a couple hours or so, and I will continue to do so until somebody replies. I need some help on a program I am making in my free time. Can sombody tell me what would be a good …

Member Avatar for killdude69
0
225
Member Avatar for firoz.raj

can anyone tell me .why i got error object variable or with block variable not set .any help would be greately appreciated.here is the code what i have written.Kindly find the attachment also. [code=vb] Private Sub Command3_Click() Set CON = New ADODB.Connection [COLOR="Red"]If CON.state = adStateOpen Then[/COLOR] ' con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist …

Member Avatar for Jupiter 2
0
166
Member Avatar for csharplearner

Hi I trying to implement pagination using LIMIT in MySQL. My problem is it works good for the first 3 results only and for later results it shows error saying [COLOR="Red"]check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 3, 3' …

Member Avatar for cwarn23
0
176
Member Avatar for tulsi_apr03

hi , frends i have a problem with displaying data on jsp page. While displaying data on web page(jsp page) i want to display some records , after a certain time that will be "automatically display" the next some more records on it, and continue this while the end of …

Member Avatar for tulsi_apr03
0
232
Member Avatar for Riv3n

Hello, I'm currently working on a project which requires me to provide an [B]upload and download file manager with pause and resuming[/B] functionality. Much like GetRight with its GUI but with upload and download function. This project is PHP based and I believe that PHP can't do what is required …

Member Avatar for Riv3n
0
108
Member Avatar for monkey_king

Hi, can anyone tell me why i can't clean up the memory, and maybe a small solution. I'm allocing memory with strdup for each key, but I cant figure out how to erase the key with free. Before anyone starts talking about mixing c++ and c, I know it's generally …

Member Avatar for ArkM
0
2K
Member Avatar for navi17
Member Avatar for navi17
0
155
Member Avatar for sanjaypandit

hello sir, i want one of the following, 1. i upload a excel file on server then i will display of its contents using php in various tables as requirement or 2 if i upload a excel file using php then after uploading excel files, mysql table automaticly update according …

Member Avatar for sanjaypandit
0
129
Member Avatar for Aamit

Hi, I want to clear or delete old values of array [COLOR="Red"]I attached my database dump with this post[/COLOR] my code is [code] require_once('includes/DbConnector.php'); require_once('includes/Validator.php'); require_once('includes/CommonUtility.php'); $z=0; $duplicateFlag=false; $qury="SELECT orders.order_id,users.company,users.minorderamt,vendororder.vendid FROM orders LEFT JOIN vendororder ON vendororder.orderid=orders.order_id LEFT JOIN users ON users.user_id=vendororder.vendid WHERE orders.status='C' AND orders.order_id='368' ORDER BY vendororder.vendid"; $qryR1=$connector->query($qury); …

Member Avatar for digital-ether
0
398
Member Avatar for ttqtrang146

I've got following code section: [code=cplusplus] #include "stdafx.h" int main() { string str; cout << "Enter file name: "; getline (cin,str,cin.widen('\n')); char* file_name=new (nothrow) char[str.length()]; if(file_name==0) { cout << "Error: Memory could not be allocated!\n"; } else { strcpy(file_name,str.c_str()); WriteFile(file_name); ReadFile(file_name); [COLOR="Red"]delete[] file_name;[/COLOR] } getch(); return 0; } [/code] When …

Member Avatar for ttqtrang146
0
132
Member Avatar for syris

This is my first time programming anything and i'm reading the learning python book. I'm stuck at step one and very annoyed. I'm trying to run just a simple print saved program i wrote in notebook. For some reason i can't open it, ive gotten to the point where i …

Member Avatar for Stefano Mtangoo
0
113
Member Avatar for bufospro

Hi all, first of all I apologise that I write in this category (javascript) but I don't know where I could be helped. I use a contact form in my site with the fields user, email, subject, comments I would like after user's submit to send me all the data …

Member Avatar for Airshow
0
228
Member Avatar for livedereh

Im a beginner to c++ after looking over this code you will be able to tell the outfile code seems to work fine no errors but any feedback will be nice the infile code is the one i have problems with [CODE] #include<iostream> #include<string> #include<fstream> using namespace std; int main() …

Member Avatar for livedereh
0
117
Member Avatar for shena

Hi, I need help for this problem that i'm trying to solve for a while (i'm new in PHP). How do i submit the value into database? Here's the code: [code]<form name="Form1" method="POST" action="checkbox.php"> <p><input type="checkbox" name="floor tile"> Floor Tiles</p> <p><input type="checkbox" name="polished tile"> Polished Tiles</p> <p><input type="checkbox" name="homogeneous tile"> …

Member Avatar for shena
0
4K
Member Avatar for shindu

I am working on a basic linked list program and i seem to be having problems with the getline() function. I try to input data in to my struct: [CODE] cout<<"\n\nPlease enter the name of the student: "; getline(cin, temp->name); cout<<"Please enter "<<temp->name<<"'s class: "; cin>>temp->grade cout<<"Please enter "<<temp->name<<"'s GPA: …

Member Avatar for shindu
0
280
Member Avatar for Spycat

I am hoping that this is a proper forum to post to. I got an Ajax script from Dynamic Drive called "Dynamic Ajax Content" that loads external pages into a DIV in the Parent page. The effect is much like that of an iFrame. I am loading videos into the …

Member Avatar for Spycat
0
231
Member Avatar for lauriedk

My program needs to select a username based on the criteria of the userid being 2. The database holds a table with fields userid and username. How do I access that table? The database is mysql.

Member Avatar for Josh Connerty
0
177
Member Avatar for apo

/*hi I'm having problems with my "while ()" apperently it is not taking any action, and it keeps going endless. i need it to stop when the answer is 'n'*/ [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> #include<iostream.h> //--------------------------------------------------------------------------- void main() { char pais[20],r; int i=1,temp=0,ctemp=0,atemp=0,dia=0; float promt; clrscr(); fflush(stdin); cout << …

Member Avatar for tux4life
0
134
Member Avatar for robertmacedonia

Hi, I created a simple application in Oracle APEX, and on the first page (blank page), I put a textbox. Now, I want to be able to insert the input data from the textbox into the tables, e.g. insert new first name, last name etc... Can someone tell me if …

Member Avatar for robertmacedonia
0
125
Member Avatar for fadia

Hello.. i'm working on my project.. it's the first time i do a C++ project.. but i'm getting this fatal error.. if any one knows how to solve it plz tell me.. also if anyone have any idea or advice to improve the program plz go ahead. [CODE] #include <iostream> …

Member Avatar for tux4life
0
201
Member Avatar for frowlaya

i'm a beginner in c++ i want to programming sudoku i start with a 9x9 table but i had difficulties to continue 1)how to make a function to check numb in the row,colones,and 3x3 2)a counter to know when the game end or repeat until there is no values [code=cplusplus] …

Member Avatar for frowlaya
0
142

The End.