199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MarounMaroun

Hello guys, I'm a 2 year computers engineering student. I'm a good programmer in c, c++ and java. MY mission is to create a software(with a graphical interface) that handles an electronics shop. My software should know how to insert an item, to delete it, to check if expired or …

Member Avatar for everhett.raman
0
123
Member Avatar for niths

hello all, i need html table to be inserted in php code..i tried this but i am getting some problem with it so can anyone help me.. Thank u.. [CODE] $messageproper ="\n\n" . "Name: " . ucwords($_POST['name']) . "\n" . "Email: " . ucwords($email) . "\n" . "Message: " . …

Member Avatar for nonshatter
0
176
Member Avatar for Harris00

Hello I have below code to draw the circle, i want to add vertical line dividing the circle half and horizontal line and cross lines like in attached document. all the lines divide the circle equally with 45 degrees angle. I really appreciate the guidance from turtle import * r=100 …

Member Avatar for richieking
0
1K
Member Avatar for hobokook

Hi, I have an assignment where I have to implement a singly linked list of integers. Can you look at my pop front function below to see if it would work. I think it works, but I get this weird error whenever I test it. Also, how would I do …

Member Avatar for group256
0
181
Member Avatar for Nemo_NIIT

Hi, i am using c# window application I have create one Login Form. I want that when user put its username and password first it should check in the database and then it should give the out put. i have even create on signup form first it should be register …

Member Avatar for ashishkumar008
0
107
Member Avatar for George2

Hello everyone, Please look at the following code block, [code] public void Foo() { synchronized (lock) { //do task 1 try { lock.wait(); } catch (InterruptedException e) { // TODO Auto-generated catch lock e.printStackTrace(); } //do task 2 } } [/code] Suppose multiple threads have entered the synchronized block one …

Member Avatar for anand.g
0
185
Member Avatar for Ritesh_4

Hello Is it possible to download a javascript slideshow which is present on a webpage? In firefox I have addons to download flash swfs but could not find anything concerning javascript. I need this as I need to develop a slideshow in javascript very quickly for a client (our js …

Member Avatar for Ritesh_4
0
138
Member Avatar for shenbagam
Member Avatar for Dink3465

Hello, I am currently assigned a project to simulate a carwash in C++ using a priority queue and a heap. Basic synopsis: 1. a car enters the carwash. 2. if there are no parking spaces the car departs (must keep track of number of cars that depart without getting a …

Member Avatar for Dink3465
0
643
Member Avatar for yongj

This is a pretty tough one in my opinion... I have 4 parallel arrays, each increasing as lines are being read from a text file. The four arrays are booktitle, retail value, books on hand, and books on order. I have to find a way to sort all four arrays …

Member Avatar for GeekByChoiCe
0
460
Member Avatar for tech9x

[CODE=C++] 1. //my main 2. int sizeOfArray; 3. 4. int main() 5. { 6. int i; 7. int *num1, *num2, *num3, *num4, *num5; 8. string *opening, *ending; 9. cin >> sizeOfArray; 10. command = new string [sizeOfArray]; 11. opening= new int [sizeOfArray]; 12. num1= new int [sizeOfArray]; 13. num2= new …

Member Avatar for jonsca
0
103
Member Avatar for zlloyd1

I have recently been getting a parse error that reads : Parse error: parse error in C:\wamp\www\Jumble.php on line 20 Anytime I run an HTML program on my wamp server and it is regarding a php file called Jumble.php which is supposed to arrange the data entered into the HTML …

Member Avatar for Dragonbaki
0
178
Member Avatar for inahrun

hi! having issue with duration time in crystal report. i want to sum duration time 0:48 1:05 2:00 0:45 I want to sum the time in crystal report.The sum of the time should be 4:38 not 3:98. Please help.Thanks in advance

Member Avatar for AndreRet
0
140
Member Avatar for TheDocterd

Hi there I have a problem. My code works perfect, but now I want to, instead of displaying multiple sheets, display all data in one sheet. Below is my code I used: [ICODE] Private Sub Picture2_Click() Screen.MousePointer = vbHourglass Dim tempAss As String Dim xlApp As Excel.Application Dim wb As …

Member Avatar for AndreRet
0
145
Member Avatar for Nirvin M

I am developing a science application on VB.NET. I want the controls to be edited, resized, and drag & dropped (like in Visual Studio IDE) by the user during runtime. How to achieve this functionality? Please help...

Member Avatar for Netcode
0
106
Member Avatar for Mike Bishop

Evening All, i am trying to input 72003 3131/1 from text from a text field into sql as a string. I have the following code but getting an error Error while inserting record on table, incorrect syntax near '3131'. the end user will be able to change this text to …

Member Avatar for Netcode
0
91
Member Avatar for yongj

I have a textfile I need to open and I need to put each line into the array. What is the simplest way to add the elements/each line's data into the array while increasing the array as it reads each line? This is blowing my mind right now... I thought …

Member Avatar for GeekByChoiCe
0
11K
Member Avatar for cavern

hello everyone i need help about msgbox "Insufficient Data" coding. below is my coding: [CODE]Private Sub cmdSave_Click() On Error Resume Next Adodc1.Recordset.AddNew Adodc1.Recordset!Dateregistration = txtDate.Text Adodc1.Recordset!Title = cmbTitle.Text Adodc1.Recordset!Name = txtName.Text Adodc1.Recordset!Ic = txtIc.Text Adodc1.Recordset!Email = txtEmail.Text Adodc1.Recordset!Phonenumber = txtPhone.Text Adodc1.Recordset!Address = txtAddress.Text Adodc1.Recordset!Address1 = txtAddress1.Text Adodc1.Recordset!Residential = cmbResidential.Text Adodc1.Recordset!Gender …

Member Avatar for cavern
0
207
Member Avatar for jegana

Hi I'm new in php.I have created a Form to insert data into the database its working fine. The other is to show all records from the database its too fine. I don't know where to start, Want i want is to edit one record at a time when i …

Member Avatar for Dragonbaki
0
210
Member Avatar for silkyheart

i need to make this work like it is supposed to pop out a message box containing the answer when i click a cell... oh and i need to have a super randomized background that relies on Math.ceil(Math.random())... *how the hell would i know how to do this? i'm just …

Member Avatar for macgurl70
0
427
Member Avatar for takercena

[CODE] for(int x = 0; x < w; x++) { for(int y = 0; y < h; y++) { int rgb = bimg.getRGB(x,y); //byte r = (byte) ((rgb & 0x00ff0000) >> 16); //byte g = (byte) ((rgb & 0x0000ff00) >> 8); //byte b = (byte) (rgb & 0x000000ff); pixels[x][y] = …

Member Avatar for masijade
0
298
Member Avatar for tech9x

here is my outline of code: [code=c++] void apple() { cin >> price[i]; cout << price[i]; //give out correct value } void orange() { cin >> price2; cout << price[i]; //mess value (like 65534 or 9460301) } int main() { string *fruit; int *price; fruit = new string[n] price = …

Member Avatar for tech9x
0
145
Member Avatar for xtianenikkian

[CODE]Dim MyTime As Date, DataTime As Date MyTime = Format(Now, "hh:mm:ss") DataTime = 'Get the time from your database here If MyTime > DataTime Then ' Code to Open Door Else Code To Close Door End IF[/CODE] im having a hard time with SQL, please help with the codes of …

Member Avatar for AndreRet
0
136
Member Avatar for mca.narender

what is msvcrt_x64_vc8.lib and what is ther role of this file in visual studio and how can we add and get this lib file. I am converting 32 bit application into 64 bit. Is this file help me or not? Thanks

Member Avatar for Ancient Dragon
0
106
Member Avatar for colmar

Is it possible to store photographs within a database made with the visual data manager?

Member Avatar for AndreRet
0
114
Member Avatar for mca.narender

Hi, I am converting a vc++ (32bit )application in 64bit application. I am totally new on VC++. Please give me your valuable advice and solution. If you tell me the step of converting of 32bit applicaton to 64bit application then it will be greate help. i got following error while …

Member Avatar for Ancient Dragon
0
185
Member Avatar for bkoper16

I am doing a project where i have to insert a list of players and stats into a binary search tree Here is the project description For this final assignment, you will be creating a binary search tree. You will be able to utilize some of your previous assignment code, …

Member Avatar for bkoper16
0
880
Member Avatar for chode1

its says that lastfile is undeclared #include <iomanip> #include <iostream> #include <fstream> #include <string> using namespace std; //void displayData(ofstream &, item_info[], int, int &); struct item_format { string ID; string item_name; int current_stock; int ordered_stock; float retail_price; float selling_price; }item_info[30], greeting_cards, note_cards, calendars, pens, candles, wind_chimes; void enterData(ifstream &, item_info[], …

Member Avatar for jonsca
0
145
Member Avatar for The Bug

Hello all, I'm a new guy on this block <bowing> I have completed my "Advanced" VB.NET class this year, yet I still feel no more evolved than a newbie. So please please - be gentle <Grin> My question involves the creation of the actual database file. I have played around …

0
64
Member Avatar for metalstorm

I have a tcp client - server implementation running in the same program, on different background worker threads. There will be instances of this program on multiple computers so they can send and receive files between each other. I can send files sequentially between computers using network stream, but how …

Member Avatar for Diamonddrake
0
313
Member Avatar for showman13

OK, I know this subject has been covered extensively, and I have read numerous threads on this and other forums. Problem is that the more I read, the more confused I got. I would simply like to know, for my particular application, what is the best way to handle the …

Member Avatar for macobex
0
179
Member Avatar for Obsidian_496

There are function and class templates in C++. They can operate with generic data types. There's some ifnormation on it. [URL="http://www.cplusplus.com/doc/tutorial/templates/"]http://www.cplusplus.com/doc/tutori al/templates/[/URL] This is a compile-able example from the site linked above: [CODE] #include <iostream> #include <conio.h> template <class T> T GetMax (T a, T b) { T result; result …

Member Avatar for macobex
0
133
Member Avatar for willie7

Hi, I am running ASP .net application on my local virtual server (desktop computer). In the last couple days, I got something very strange. I got Directory Listing only after starting up a web application. The same happens to the rest of my web applications. It looks like something wrong …

Member Avatar for willie7
0
112
Member Avatar for mbarandao

Good day all: I'm wondering if the cancellation of one of my onclick js function in the below code is as a result of having multiple onclick function. here is the code: [CODE] <FORM NAME="SubCategory" method=post action='accountingsearch2.php' target='_top'> <p align="left"> <div id="presetlabel">Or use Preset Periods-->></div> <div id="SubCategory"> <SELECT NAME="specifiedperiod" style="display:inline";> …

Member Avatar for mbarandao
0
742
Member Avatar for Jtibs

Hello, I am trying to write a MIPS program that uses a function call to return the index of the smallest character within an array. I have my code set up in a way I thought would be correct, but when I try to test it seems to not even …

0
132
Member Avatar for masamune

Hello there Can anyone lend me a hand with this question? i'm seriously not looking for anyone to solve it for me, just a simple explaination will do. I'm having trouble knowing where to start, im just a beginner and this question really caught me by surprise, I don't even …

Member Avatar for jon.kiparsky
0
108
Member Avatar for prvnkmr194

Hi all of Daniweb user............... I want to create a Online Airlince reservation system my problem is that what are the should a airlince system sould have. Still I did't start the project from where i have to start, any web which give detail of that........... Any help from any …

Member Avatar for catherine sea
0
104
Member Avatar for Syrne

Hello there! So I have an assignment where I am given a text file with customer information that I need to convert into a "label" format. The original file has caret (^) symbols marking the different lines to be organized. I have the input totally finished, the only thing I'm …

Member Avatar for Syrne
0
157
Member Avatar for harikrishna439

Can we print rational numbers instead of decimal ratios? for example, a=3; b=4; if we print a/b, we have to get 3/4 instead of 0.75

Member Avatar for sharathg.satya
0
111
Member Avatar for jtaylor1120

This is for a challenge I must do. It is two forms. I have it almost done, but my second form is not giving me a total. I can't figure it out. Thanks in advance!! Here's the code: Main form 1 [code] Public Class MainForm1 Private Sub MainForm1_Load(ByVal sender As …

Member Avatar for manshipboy
0
2K
Member Avatar for Zealhack

The code below just makes it have one letter/number per line then it forms a new line, but I would like to have the numbers on each line and only form a new line everywhere there is a comma. Is there a way to do this? Thanks! [code] def hyp(aFile, …

Member Avatar for Zealhack
0
183
Member Avatar for mscutie33

Hi, I created a data file, which seems to work perfectly, but as far as reading it into an array is where I get stuck. It should be 20 random #s 1 to 99 read into this array in a single line. In my data file, they are all on …

Member Avatar for mscutie33
0
2K
Member Avatar for MasterGberry

I seem to be having an issue with using multiple class constructors? I did it for one other program and didn't have an issue. I can't seem to find the bug. Since it is complaining about multiple constructors it won't let me make Plorg1 in the 3rd set of code. …

Member Avatar for MasterGberry
0
148
Member Avatar for ibeginphp

Hi all, Thanks in advance. I am writing this in great detail. So dont panic looking at the length of this message. I have a page called retrievefieldex11.29.2.56.php. Fields that need to be considered for this problem here is the ID field (name = usersubmit) the Key(name = key) field. …

Member Avatar for ibeginphp
0
83
Member Avatar for terabyte

How can I print some numbers during a loop for example I have a while loop, and while the loop is running i want to print the numbers of times the loop has been repeated.

Member Avatar for terabyte
0
114
Member Avatar for dan1992

How can I make a timer that counts down from 60 seconds and after that directs me to another page Please help me Thank you ! :)

Member Avatar for R0bb0b
0
67
Member Avatar for SoulMazer

Hi, I'm in the process of writing an Android game, and I need just a little bit of help with some physics. I do not wish to implement an entire physics engine, as, 1) I have already tried the Java port of Box2D on an Android device, and there is …

Member Avatar for dwks
0
133
Member Avatar for Martje

Hey, i have a CLR proyect where i have 2 forms, i am trying to acces the form1 class via form2. what i did is that i included the header.h of the form in form.h but it failed so i went back and icluded thesame folder both of them are …

Member Avatar for jonsca
0
86
Member Avatar for tallyhop

I need to take the username entered by the user and compare it to the array to locate its position in the array then compare the password and pin entered by the user. I followed tutorials on how to write the linear search function(I do have to use a linear …

Member Avatar for tallyhop
0
163
Member Avatar for needhelp83

I am trying to create a web-based Twitter app that will print out a friend's timeline, but the Twitter API asks for username/password. How do I do the username/password authentication on the server-side without asking this from the user. Does anyone know how to do this? Is there also a …

Member Avatar for otbaldi.com.ua
0
97

The End.