199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for charlieruns

My project was already due, and incomplete but I would still like to better understand a few things. I have three classes. A Photo Class, PhotoAlbum Class, and a CommandLineMenu class. Each photo has a subject, location, date, and path. the PhotoAlbum is an array of different photo objects. I …

Member Avatar for javaAddict
0
115
Member Avatar for arabgogs

Hi there, I am hoping someone can help, I have an large XML structure which I am attempting to interrogate. My structure(problem) is as follows <BigStructure> <Structure myNumber="1003"> <Structures> <myMap> <Point ID="1"> <Opt>THE</Opt> <Next>2</Next> </Point> <Point ID="2"> <Opt>ONE</Opt> <Next>2</Next> </Point> </myMap> <myMap> <Point ID="1"> <Opt>THE</Opt> <Next>2</Next> </Point> <Point ID="2"> <Opt>THIS</Opt> …

Member Avatar for arabgogs
0
105
Member Avatar for steffen.rahn

I've got the following Problem while using linq with stored procedures: I convert the ISingelResult with AsQueryable() to IQueriable and then try to serialize the results with JSON.NET (James Newton Kings JSON serializer) but I alsways get a "The query results cannot be enumerated more than once" Exception Any Help …

0
47
Member Avatar for Danny_501

Hey all, can anyone tell me what this error usually means: 1>Client.obj : error LNK2001: unresolved external symbol "public: bool __thiscall StudentCollection::addStudent(class Student)" (?addStudent@StudentCollection@@QAE_NVStudent@@@Z) 1>D:\Sem1_2010\INB371_DSA\Assignments\Assignment2\Assignment2\Debug\Assignment2.exe : fatal error LNK1120: 1 unresolved externals. [CODE] StudentCollection *studentCollection; Student *studentUser; ..... student = new Student(studentNumber, firstName, lastName, phoneNumber, address); studentCollection->addStudent(*student);[/CODE] [CODE]bool addStudent(Student student){ …

Member Avatar for Danny_501
0
141
Member Avatar for lak123

How do I use hour glass in java script? I have a jsp page, I'm calling in the javascript when I click the submit button like below. [CODE]function show(table) { document.forms["form1"].action ="employee.do?"; document.forms["form1"].submit(); document.forms.style.cursor = 'wait'; }[/CODE] [CODE]jsp Page: <html:form action ="/doemployee" method ="post"> <table> <tr> <td> <input type="button" name="emp" …

Member Avatar for fxm
0
207
Member Avatar for cityportalguy

Hello All, I'm new to DaniWeb. I am trying to find php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar, coupon section. Real Estate, Dining, Shopping, and Hotel and Motel guide also. I have an advance user login …

Member Avatar for vijju0987
0
199
Member Avatar for born star

i wrote a c++ prgram i have aproblem abt the output; the program is as [CODE] #include<conio.h> #include<iostream.h> void main() { int i=1; i=400*400/400; cout<<i; getch(); } [/CODE] the output of this is =72 can somebody tell me that is this any type of garbage value???????????

Member Avatar for Nick Evan
0
92
Member Avatar for Ycefire

Hello, I'm using Windows 7 Ultimate 64bit. I'm on admin account and all I want is to develop my ASP.NET pages on my main system - not only on virtual machine with XP istalled. The problem is that I cannot access the database on Win 7. IIS is working, ASP.NET …

Member Avatar for Ycefire
0
217
Member Avatar for freshnyash

Hi, Hello all. I installed SQL Server 2005 on Windows 7 together with SP3. I set the surface area configuration to allow TCP/IP and named pipes. When i try to connect the machines running SQL, i fail, i cant access it. Neither can i change any settings in the surface …

Member Avatar for mikedsa
0
231
Member Avatar for kumari.nithu

suppose there is name and phone no in ms access database. i want to reterive the selected fields ie, by giving text in textbox and prompt for go command, i want to display that selected data (names or phone no) to display as table in alphabetical order.this should be done …

Member Avatar for abu taher
0
71
Member Avatar for bbxrider

I'm using the GetOleDbSchemaTable to get column info from an access db, column_name and description, but can't figure out how to bind just the 'DESCRIPTION' and 'COLUMN_NAME' columns from the table of info returned. below is what doesn't work, it produces grid columns for all the schematable columns, about 25 …

Member Avatar for bbxrider
0
85
Member Avatar for icelantic

Hi, first year programmer and the assignment is to use the stack and queue classes to write two functions. One checks to see if an array of parenthesis are balanced, the other to see if a stack and queue are insert equivalent. Here is my code. Assignment4.h [icode] #include <iostream> …

Member Avatar for nezachem
0
100
Member Avatar for donaldw

I am trying to play some audio from within a program using [ICODE]MCIWndPlay(m_Audio);[/ICODE] or [ICODE]MCIWndPlayTo(m_Audio, duration);[/ICODE] type calls. The program is getting the path of the media from an RSS feed and the audio can be either an MP3 file or a streaming MP3 (either progressive download or actual streaming …

Member Avatar for Salem
0
265
Member Avatar for raede

hi,can anyone plz help me..the coding wuz ok,it generate the image from in my directories except it shows a blank image...i don't know wats the prob,plz help me... here is the coding... <?php // connect to mysql server $link = mysql_connect('localhost', 'root', 'abc123'); if (!$link) { die('Not connected : ' …

Member Avatar for rajarajan2017
0
7K
Member Avatar for thepond

I am learning Python 3 I have several pieces of code that compares dates. The problem is I don't understand how to read a date from a text file and then use it in my code so I can compare it with todays date. I get errors like - int …

Member Avatar for TrustyTony
0
112
Member Avatar for aneeka

How can I join MySQL tables from different databases when the only similar field is the primary key of the first table in Php?

Member Avatar for urtrivedi
0
115
Member Avatar for Decency

Hi all i need to know if there is by a way by any chance to delete unused images from my virtual directory or wwwroot folder dunamically on the user request using php ? thank you all

Member Avatar for charvie
0
238
Member Avatar for jeffcruz

[B]Here is my coding, I know its sad, but I am lost.[/B] [B]After reading my code below and the guidelines I just have a few questions:[/B] [B]1. Am I on the right track so far? 2. To get the fractions should I put a cin in the setter functions, if …

Member Avatar for jeffcruz
0
174
Member Avatar for Lrob7325

Hey guys, im new to the forums and really need help with this program. It's worth 35 points for my programming class and I'm freaking out. I keep getting error C2784. Here's the code and I appreciate all your help: #include <iostream> #include <string> #include <ctime> using namespace std ; …

Member Avatar for abhimanipal
0
145
Member Avatar for Elenaser

The program below compiles and runs the way i need it to. However, part of the assignment was to load words, MAX_WORDS=100, into the program and then randomly have the program pick the word. Im really struggling with this part. The hint was to use a LoadWord () function but …

Member Avatar for Elenaser
0
186
Member Avatar for akira_shinizaki

Hello everyone, i have another assignments that i can't deal with my ability yet. This is the assignment : Make a pyramid from a character where you can define it's height ! Example : 4 characters height pyramid from "x" character [code] X XXX XXXXX [/code] 6 characters height [code] …

Member Avatar for kvprajapati
0
265
Member Avatar for codewalkz

Hi, I need something like recursion wherein the query repeats itself using it's result to start the NEXT - SAME - QUERY. I made 1 but it just simple reecho the same result. [CODE]// KUNIN ANG ID NI KURIMAW $root = $_GET['id']; $result = mysql_query("SELECT COUNT(*) as count, id, sponsor …

Member Avatar for codewalkz
0
156
Member Avatar for d34dw4rd

Ok, new to C++ and my first assignment is to covert C code to C++, I'm getting pretty frustrated and have been looking at the code for the last two days not truly understanding how to do it. The teacher gave us a program in C which I have an …

Member Avatar for d34dw4rd
0
286
Member Avatar for chandruswami

Hi, In c#, i have a string array like string text[] = value.split(','); Assume text contains the values a, ,b,-,c,d, , it has 2 white spaces and 1 hyphen values i want to remove the white spaces and hyphens and want to make it as a,b,c,d i have tried this …

Member Avatar for thines01
0
185
Member Avatar for Wildfire760

I have been trying to solve this problem for days, and if I think about this anymore I might blow my brains out. Anyways, I need help solving a smaller portion of a large assignment for my computer science course. The program basically entails me creating a shipping manifest for …

Member Avatar for Wildfire760
0
141
Member Avatar for k2k

This is a MenuBar class which is supposed to assemble a Menu bar.. basically i have some JMenus which contains some JMenu items here... and add all the JMenus to this class which is the bar (sorry if this is confusing) i am trying to write a public method to …

Member Avatar for k2k
0
129
Member Avatar for Lee21

guyz help me. I want to filter the data that's being displayed to my datagrid once I click the combobox and select a specific value,the selected value will be the item to filter the data that I needed to be displayed in the datagrid.. I'm using a datatable,a combobox and …

Member Avatar for Lee21
0
207
Member Avatar for smiller

I need help with writing a program using a function called "X" that accesses a file called "Y" and locates a specific word "W" in the Y file, then outputs the line number where W is located.

Member Avatar for caut_baia
0
125
Member Avatar for Kayano

Hey guys, I was curious if I could get some help with these two pieces of code. What I'm trying to do is count the number of comparisons and moves there are in each type of sort, now I'm not a super programmer but I kinda know my way around …

Member Avatar for NathanOliver
0
142
Member Avatar for blackmagic01021

I understood that 0x80000000 is the minimum value for the 32 bit integer for 32 bit machine. If I want the same value for 64 bit machine, what will be the value? Please explain.

Member Avatar for Rashakil Fol
0
128
Member Avatar for viziroth

Heyy, back again. another function I need to write checks to see if the characters of a String state code(such as PA) are in uppercase and if they aren't I need to make them uppercase. (so has to check for stuff like pa, Pa, pA and fix it) the state …

Member Avatar for caut_baia
0
209
Member Avatar for niths

[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) …

Member Avatar for jonathanroy
0
165
Member Avatar for d34dw4rd

Here I need to initialize an array all to zeros and to create an array of pointers and pass the array of pointers to the calculate function, however; I'm confused as how to do this, I've been looking online and it seems that I've created an array of pointers correctly …

Member Avatar for daviddoria
0
136
Member Avatar for simiking

Hi all, I'm having problems passing my variables using thru the url. Here's the code. [CODE =php] $connection = mysql_connect($dbhost, $dbusername, $dbpassword) or die (mysql_error()); mysql_select_db($dbname, $connection); //i use this line to test that variable id has been passed. //this also happens to be the error point $test = "select …

Member Avatar for colweb
0
113
Member Avatar for daryll1

Hi, as a bit of background, My Uni have lately implemented a CGI script so you have to log in to be able to use the wireless. This would be OK but they are terrible programmers and instead of timing out after a period of inactivity it will time out …

0
136
Member Avatar for forneamax

Hi guys. I am trying to make a textbox that accepts only numbers and comma but no luck. I did a search on the forum and found some snippets of code but still couldn't get it working. I can't show you any of my code so far, because I don't …

Member Avatar for forneamax
0
2K
Member Avatar for jeffcruz

[B]I have had a lot of problems with C++ and I am quite confused. Here is the code so far;[/B] [CODE] #include <iostream.h> #include <stdlib.h> #include <cstring> #include <cctype> class Fraction { private: Fraction (); Fraction (double); Fraction (Fraction &); public: double operMultiplication (); double operSum (); double operDouble (); …

Member Avatar for Lerner
0
126
Member Avatar for dinamit875

hi guys!!! i have written small program here about customers, its for my assignment, emmm there's a small problem, i am using merge sort to sort customers in order by their ID, the only thing i dont know how to do i how would i pass ID into merge sort, …

Member Avatar for dinamit875
0
151
Member Avatar for «¤¦PR☼GRAM¦¤»

So I am making a program and in the program I give the user the option to add Custom Items into the Combobox. To make sure that the Custom Items are still there when the program is restarted I use this code in the form load [CODE] Dim customcarrier As …

Member Avatar for «¤¦PR☼GRAM¦¤»
0
150
Member Avatar for j_808

[code] Dim thisMonth As Integer DateCollected = DataSet.Repair.Rows(2).Item("DateCollected") thisMonth = Month(Now) For........ If Month(DateCollected) = thisMonth Then partsprofit = (partswholesalerpricetotal) / (partstotalcost) * 100 Else End If Next [/code] Basically i am writing up some code that loops through all the records in a table looking at a column called …

Member Avatar for j_808
0
115
Member Avatar for D4n1sD

For example. You got 1 list with 3 options. a b c once someone select a it instantly appears a text through php under the list or above it. Without to reload or anything else. I have seen it before 100%. pseudo code [CODE] <li> <option 1> a</o> <option 2> …

Member Avatar for BzzBee
0
177
Member Avatar for Dcurvez

Can anyone tell me how I can let the user add their choices to a combobox? I have preset choices in each one, but would like to be able to let them add their own choices as well.

Member Avatar for Dcurvez
0
80
Member Avatar for mahe4us

Dear All, Sorry for my frequent questions in this forum. I have came here with a lot of questions. I need help in socket programming in php. For example, Lets consider I have a ip number and port number. Using this ip and port values i want to send a …

Member Avatar for BzzBee
0
183
Member Avatar for tcstom

Hi, I am attempting to create a dynamic array using realloc in 2 dimensions. Currently i have managed to get it to work using realloc to dynamically resize the amount of rows but when I attempt to use realloc to dynamically resize the amount of columns per row I keep …

Member Avatar for tcstom
0
4K
Member Avatar for goofy_chick

Another JTable question I am trying to resize the widths of the columns in a JTable. At present two of my column headings do not fit and the names trail off with ... I would need to resize them when the program is running to see the full column header …

Member Avatar for SasseMan
0
191
Member Avatar for becdudek

Hey, for an assignment i am meant to write a function called delete as part of my ListLinked ADT, this is easy enough and here is my code: /** *deletes the element under w and places w over the next element *@param window w *@return the element under w *@exception …

Member Avatar for SasseMan
0
142
Member Avatar for Expora

So I have stumbled across another problem. This time I'm using freeglut I have put the lib files, dll, and include files where they should go in visual studio. Made a project and linked the lib files in it but i still cant initialize glut using glutInit. Here's what I …

Member Avatar for MattyRobot
0
98
Member Avatar for helpmepassclass

I'm using a 2d array and am having to find the find the furthest two numbers apart and print both of them numbers. The text file I'm reading from has numbers from 0 to 194. Here is the code that I have so far. Any help with be greatly appreciated. …

Member Avatar for helpmepassclass
0
131
Member Avatar for _Nestor

This is a text based solitaire game I wrote. It tested it on Ubuntu Linux and Windows and it worked okay for me. Move cards between rows using their row number (7 for the deck) Let me know what people think. Critiques welcome..... don't be too harsh ;)

Member Avatar for _Nestor
0
4K
Member Avatar for star_lavender

hi...anyone got ideas on the drop down list and jgraph?actually everything goes well at first but after I add the drop down list code for selection to sort the graph based on year, the graph didn't show in the same page??anyone know how to solve this problem?? part of the …

Member Avatar for star_lavender
0
241

The End.