199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for k2k

I am trying to search an array of object, for example lastName, a private variable of the object, however, the array might have more than one same last name from different objects.. i need to output all the same last name onto the screen, how should i do that? code …

Member Avatar for Ancient Dragon
0
97
Member Avatar for dami06

Hi, Could anyone please tell me how to go about linking some folders which are already in php to the login page. For example once you have logged in successfully, the next thing you want to see is the admin homepage. How do you link the login page to the …

Member Avatar for dami06
0
189
Member Avatar for poojagupta

My question is to calculate the mean of a comma separated dataset stored in a file. The program will be run on a system with no floating point library. Obey the following rules: 1.Maximum 100 values in dataset 2.Each data entry in the dataset is a byte (0 - 255) …

Member Avatar for Narue
0
114
Member Avatar for Majestics

i Dont have window.h header file , can i make a programme for copying picture from one drive to another?Any one help me in interpets . I am new using c++ so please please help.

Member Avatar for Nick Evan
0
123
Member Avatar for abrou

Hello! I'm compiling a project in VC++ 2005 express, and for some reason it is hanging. It gets to a certain point and just doesn't seem to do anything. This is the readout when it is happening: [CODE]c:\Qt\4.3.3\bin\uic.exe RoboSearch.ui -o ui_RoboSearch.h g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT …

Member Avatar for abrou
0
118
Member Avatar for usman.munir

Hi, I am using a simple code to retrieve values from database. but i am getting error while i retreive an Integer value on line number 3 , 4 5. [CODE] <% line1 while(rs.next()){ line2 String productname = rs.getString(1); line3 int productprice = rs.getInteger(2); line4 int cartid =rs.getInteger(3); line5 int …

Member Avatar for usman.munir
0
94
Member Avatar for gerard4143

Is the opcode leal(load effective address) primarly used to calculated the address of a value that was pushed on the stack? If anyone knows of any good web sites on this topic could you pass it on to me. Thanks in advance....Gerard4143

Member Avatar for gerard4143
0
105
Member Avatar for kingflux

Hello, mighty helpers of Daniweb! We have been running this application for two years and have hundreds of users distributed at many customer sites. Suddenly, in January, one particular user logged in, clicked Ordering and got "Page not found" in the secondary pop-up window. The only workaround was to create …

Member Avatar for SheSaidImaPregy
0
125
Member Avatar for fatjoy25

import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import javax.swing.event.*; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class MyPaint extends JApplet implements Runnable { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; JTextArea drawTextArea; JScrollPane drawScrollPane; JLabel line, color, paint,kid,cil; JButton circle, rect, poly, ellipse; JComboBox cbLine, cbFill; GridBagLayout g; …

Member Avatar for jwenting
0
75
Member Avatar for shy_wani

i have a dataset [code] Dim query1 As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM AnswerList WHERE SurveyID=83 AND QuestionNum='" & counter & "'", strConnection) Dim ds As New DataSet query1.Fill(ds)[/code] how can i refer to specific column for example if i want to search for column QuestionNum=1 in table AnswerList …

Member Avatar for mushtaq_ilyas
0
86
Member Avatar for kv79

Hi i sow on WC3 school [url]http://www.w3schools.com/html/html_formatting.asp[/url] and i am confused about text , there is a lot of text format like , small , strong,computer code text, keyboard text,sample text. And i am confused about text, i see the difference but i do not know why is called computer, …

Member Avatar for nav33n
0
82
Member Avatar for drsmith

I am attempting to use a function to check for a valid email address before being read in. I am attempting to use a function as well and this is something I don't have a lot of experience in. Does the following code look correct? In addition to the test.csv …

Member Avatar for drsmith
0
123
Member Avatar for larryperl

Hiiii, here is my script-- [Code]: BackupLocation="$OPTARG" if [[ $LFlag -eq 1 ]]; then echo "Either option l or L should be given to $Programname" echo "$Usage" echo "$Programname is terminated" return $ERR; fi if [[ $isBackUp -eq 1 ]]; then if [[ ! -d $BackupLocation ]]; then echo "Non-existant …

Member Avatar for DimaYasny
0
180
Member Avatar for KimJack

Hello All, I have absolutely no experience with linked lists. I have an array of Animals that I am trying to reference from a linked list located in another class. Can anyone point me in the right direction for starting this program? Any assistance would be appreciated. Thanks

Member Avatar for ~s.o.s~
0
99
Member Avatar for OmniX

Hi Everyone In a html document I declare several input tags. They all have the attribute name="input[]". So when they are intialized as input[0], input[1], etc. Now after they have been intialized I want to be able to access them using Javascript. How would I do this? The usual code …

Member Avatar for ~s.o.s~
0
85
Member Avatar for msaenz

Greetings I want to take part of a word remove it and then append something new. Here is my xml [inlinecode] <Symbols> <Item> <Symbol>UPS2008</Symbol> <Order>usg_05Y</Order> </Item> </Symbols> [/inlinecode] My python code should remove the 2008 in UPS and change it to 2009 (basically write to file with elementtree), except I …

Member Avatar for msaenz
0
2K
Member Avatar for faisaly

Can over running of array lead to the catastrophic failures? If ‘Yes’ then why does not C++ provide bound checking on array operations and who is responsible to prevent array overruns?

Member Avatar for vijayan121
0
292
Member Avatar for Xooku

Hello I have the following code to display my time difference on a label and it works fine until my endtime is less ie. "01:00:00" and now() is more ie. "13:00:00" What can I do to rectify this? [code] Dim EndTime As New DateTime(Now.Year, Now.Month, Now.Day, My.Settings.EndHour, _ My.Settings.EndMinute, 0) …

Member Avatar for DangerDev
0
264
Member Avatar for gReen_aXe

[CODE]#include <iostream> using namespace std; typedef struct List { int data; List*link; List(){ data=0; link=NULL;} }SList; SList*L,*P,*temp; int x; SList*createnew(int x){ temp=new List; temp->data = x; temp->link = NULL; return (temp); } SList*findLast(SList*L){ temp=L; while(temp->link != NULL) temp=temp->link; return (temp); } void printList(SList*L){ temp=L; while(temp!= NULL){ cout<<temp->data<<endl; temp=temp->link; } } …

Member Avatar for Narue
0
151
Member Avatar for mosses

Hi hope someone can help, command1.click if line1.bordercolor = vbBlack then line1.bodercolor = vbRed else line1.bodercolor = vbBlack End if end sub I need each time I hit the command button for a line (line1.bordercolor) to toggle between red and black. I'm switching on a wire in a circuit and …

Member Avatar for debasisdas
0
112
Member Avatar for sid_arth2020

Ques. Write a function which prints the cards which are missing from a set of playing cards.Cards are represented in the form of string whose first letter represnts type and second is the card number. S-1=one of pade S-A=A's of spade C-k=King of clubs H=j=jack of Hearts....so on

Member Avatar for Nick Evan
0
74
Member Avatar for hawisme000

any pls help mo on How to load a filename on a LISTBOX. also pls teach me that when i click on the filename loaded on the listbox it will run, i only need to load the names of my movieclips which is all (.avi) then when click will play …

Member Avatar for choudhuryshouvi
0
246
Member Avatar for carobee

hi, i am runnning a php script where i try to decompress a file and the untar it. the file in suppose x.tar.gz. so in my php script i call system command system("gunzip /home/trial/x.tar.gz"); now to untar i use system("tar xvf /home/trial/x.tar"); now the error creeps in. i am able …

Member Avatar for DimaYasny
0
48K
Member Avatar for standoh

Hi y'all I need to create a user control on a web page and I have no idea whatsoever of how to go about it. The control should consist of a 3 by 3 grid, with each grid cell having its own color, and also the capability of displaying a …

Member Avatar for standoh
0
78
Member Avatar for saravanarajan

Hi everybody! i working in oracle 10g forms and reports.... i try to use this crystal report in 10g... please help me how to call this report in application.....my application server remote how will i call the remote server in my crystal report.......please help me.... thank you, saravanarajan...

Member Avatar for saravanarajan
0
93
Member Avatar for pancgom

Hi Guys, This is probably the most silliest of questions, i am still learning php and mysql :-| . I have this code below which brings up data from the database and displays it, what i want to do is to give the table headers a bgcolor how do i …

Member Avatar for ryan_vietnow
0
136
Member Avatar for ediddy02

I was able to develop a simple user name and password code that would enable users log into my website before viewing the home page.This worked.Now i have tried to apply this code below to ensure that no link when typed into the browser from any of my web page …

Member Avatar for ManicCW
0
278
Member Avatar for mithun_kanungo

hello , i am working on application of running an exe on client side i use following javascript for this var theShell = new ActiveXObject("Shell.Application"); var theApp = "C:\\Windows\\Notepad.exe"; theShell.ShellExecute(theApp, "", "", "open", "1"); but when i run the application on any system i got the error message is permission …

Member Avatar for mithun_kanungo
0
260
Member Avatar for geetajlo

Hi friends i have a big problem... i want only the first Character to be Upper and all the rest lower and then the next name to be upper and then lower.. for eX. Geeta Lopez Can u Plz Help Me

Member Avatar for ivatanako
0
111
Member Avatar for ZZucker

What is the easiest or most elegant way to let the user input a list in a console program?

Member Avatar for vegaseat
0
173
Member Avatar for palej

Hey, I have a this readblog.cs file in projects App_Code folder, and at main folder I have Blog.aspx -> Blog.aspx.cs file. And I have a Table control in Blog.aspx file, called Bloglist, and I am trying to modify it from App_Code/readblog.cs class file and I dont know how to use …

Member Avatar for palej
0
248
Member Avatar for pablavo

Hi folks This will be my first ask for help here;) I'm working on a database at the moment and have exhausted my resources on this one. I have a report with an underlying muti-table query. The report uses an input box to set the date criteria rather than Parameter …

Member Avatar for boblarson
0
138
Member Avatar for priyala

Hi, I have a query in VB. I have two forms. The first form loads after few seconds my second form has to load. How do I code for this. Someone help me out. Thanks, Priya

Member Avatar for Jx_Man
0
86
Member Avatar for Heeyriss

Who can help me with this programming assignment about the token stream, character stream, source stream. And even tokenizer program? Please help me with this lexer program.. Thanks in advance...

Member Avatar for Killer_Typo
0
92
Member Avatar for reiyn17

hey guys.. can you help me explain this code? public Boolean insertAfter (double key, double dd) { Link current = first1 while (current.dData != key) { current = current.next; if (current == null) Return false; } Link newLink = new Link(dd); if (current == last) { newLink.next = null; last …

Member Avatar for reiyn17
0
130
Member Avatar for DarkDot

Hi this is what I need to do [LIST=1] [*]Declare a word array A with 2 elements with initialized values. [*]Declare a word variable B with initialized value as 0. [*]Calculate the cvalue of B with the following expression: B= A[0] + A[1] -6. [*]Make sure B's value is saved …

Member Avatar for Duoas
0
105
Member Avatar for FlaminPhoenix

Hey guys, im really on the verge of my seat about my final sem project. I have decided to do a photo uploading site similar to deviantart. I want to add options so that each user will be able to watermark images. I need some ideas guys..My project idea is …

Member Avatar for FlaminPhoenix
0
135
Member Avatar for NorseMN

I am developing a framework to simplify creation of embedded software applications. Resources are typically limited in this type of environment, so I need to make it very efficient in its use of memory space. One goal is to be able to reference any variable by a <typeNumber, instanceNumber> value …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Run.[it]

I have been given a project to do for college and have the option of doing it in either C++ or Java; both languages Im relatively new to. The scope of the project is fairly open ended, some are planning to do games but Im personally just going to do …

Member Avatar for John A
0
117
Member Avatar for cancer10

Hi, I am new to PHP oop. I was wondering when and why should we use the following: 1) Public 2) Protected 3) Private 4) are there any other??? An example would be appreciated. Thanx

Member Avatar for Walkere
0
116
Member Avatar for certem

Hello i have spent hours and days and couldn't find how i can make a variable that has rounded to 2 decimal digits. But i dont want to use myVariable.value....or myVariable()....styles. In the net i have seen something like BCD that is related for official accounting issues but i coudn't …

Member Avatar for John A
0
245
Member Avatar for chitra1
Member Avatar for ninaijanai

so here's the code. [CODE]#include<stdio.h> #include<conio.h> void main() {struct { char seat; }a[19]; int x,z; char y; a[0].seat='A'; a[1].seat='B'; a[2].seat='C'; a[3].seat='D'; a[4].seat='A'; a[5].seat='B'; a[6].seat='C'; a[7].seat='D'; a[8].seat='A'; a[9].seat='B'; a[10].seat='C'; a[11].seat='D'; a[12].seat='A'; a[13].seat='B'; a[14].seat='C'; a[15].seat='D'; a[16].seat='A'; a[17].seat='B'; a[18].seat='C'; a[19].seat='D'; clrscr(); printf("Flight Seat Reservation:"); printf("\n\n\n\t1\t%c\t%c\t%c\t%c", a[0].seat, a[1].seat, a[2].seat, a[3].seat); printf("\n\t2\t%c\t%c\t%c\t%c", a[4].seat, a[5].seat, a[6].seat, …

Member Avatar for Passmark
0
327
Member Avatar for nish88

hi ..... i'm designing a simulator and initially i have to click on the Tkinter interface to place a small oval(dot).That is the initial point where i want the simulation to start. can anyone please help me or if possible give me the piece of codes here is my code.... …

Member Avatar for G-Do
0
237
Member Avatar for charlie81

Not sure what I am doing wrong. My homework says Design C#solution with a `Main()` method that holds an integer variable named seconds to which you will assign a value. Create a method to which you pass this value. The method displays the seconds in minutes and seconds. Add a …

Member Avatar for crava
0
99
Member Avatar for abrou

Hello, I am a fairly inexperienced programmer, and I am confusing myself. I want to have a member function or a different class return an array of structures. I've read that I have to do this by reference, but I can seem to get it right. Can someone help? The …

Member Avatar for John A
0
114
Member Avatar for cinger

[code=c] int main() { int a,b,c; a=b=c=1; c = ++a || ++b && ++c; printf("%d %d %d", a,b,c); } [/code] here the expression is considered from left to right. but the confusion of mine is: && has got higher precedence than that of ||. so ++b && ++c should be …

Member Avatar for gkbush
0
150
Member Avatar for nehamore

i am writing a pogram where i have to find out which all computers are up on my lan...for this i have called shell script program from my C code which pings to all computers on lan....now i want the shell script to return to the C code "1" incase …

Member Avatar for jim mcnamara
0
407
Member Avatar for Shveetis

Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website …

Member Avatar for Ezzaral
0
86
Member Avatar for lerkei

does anyone knows how to make randomizing frames appear only once... because i'm using randomized questions, with the use of frames for my games., but my questions appear more than once...can you help me about this?...

Member Avatar for jonc
0
93

The End.