199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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: " . … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
How to retrieve and display an image from MySQL using php? ![]() | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
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 … | |
![]() | 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... |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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] = … | |
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 = … | |
[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 … | |
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 | |
Is it possible to store photographs within a database made with the visual data manager? | |
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 … | |
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, … | |
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[], … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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";> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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, … | |
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 … | |
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. … | |
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. … | |
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. | |
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 ! :) | |
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 … | |
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 … | |
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 … | |
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 … |
The End.