199,114 Archived Topics
Remove Filter ![]() | |
i wrote this script and i cant get any ouput from it. [code] $time = $_POST['time']; $budget = $_POST['budget']; $visual = $_POST['visual']; $update = $_POST['update']; $custom = 0; $stream = 0; $easyup = 0; $selfup = 0; $upserve = 0; if($time == "deadline"){ $custom = $custom + 1; } if($time … | |
[code]The program code works but after I add, subtract, multiply or divide two numbers the program exits automatically. I don't know how to keep it not to exit automatically, kindly see the code guys. thanks #include <iostream.h> #include <conio.h> int mc(int x, int y) //Multiply two numbers { cout <<"\n\n"<< … | |
hi all: I am a newbie , trying to connect my access to vb.net express edition I wrote the following code: Imports System.Data Public Class Form1 Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim con As OleDb.OleDbConnection con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0 ; Data Source = "C:\Documents … | |
hey people.. i have to work out a software for a tours and travels company in vb6. can anyone please help me with the basic skeleton of the software. thank you. | |
Dear all .Netters, I want my RadioButtonList can not be selected by users, so i set the Enable to be false. The problem is the font colour become gray. so does any one of you can help me how to keep the font colour still black and can not be … | |
hi, i want to convert typed dataset to untyped dataset?? vice versa.......please healp me........very urgent | |
hi all! I need to set precision to the left of decimal. For the number field i have to set the field precision such that the nos should be in a format as 0001,0002,0003------------------.9999. Thanks | |
Hi I have a delphi object to store some music information (note, start time, duratrion...) problem is I always get memory addressing error when I run the code,can someone please tell me where I'm going wrong! I declare it in a seperate unit, with all my other declerations as follows: … | |
I need to display 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 … I “must” use the “for” …This is what I have but it only counts by two. I don’t want the answer…however can you please give me some clues on the proper way to add the … | |
how do i make a tabbed iframe which can change its height automatically and make height equal to the content inside it. I have never used iframe before this. i dont want scrollers. i want it to call the size of the content inside it. i have tried some scripts … | |
How can i display the output of this coding in frames instead of Command Prompt. and i want to view the result of that student only whose rollno is entered. [code] import java.awt.*; //import java.applet.*; import java.awt.event.*; import java.lang.*; import java.sql.*; public class wscreen extends Frame implements WindowListener,ActionListener { Button … | |
Hello guys. I'm currently having problems concerning displaying a student with the highest grade. I tried to start the calculation under totals but I'm currently having a hard time with it. May someone please point me in the right direction. [CODE=C] /*+*+*+*+*+*+*+* Preprocessor Directives *+*+*+*+*+*+*+*/ #include <stdio.h> #include <string.h> #include … | |
Let me start by saying this is my first post here at daniweb and I am pretty new at C++. With that said I will dive right in. I have a program due next week and trying to get it hammered out. I have to create a line editor that … | |
I want to handle files of same type.For example if am dealing with txt files means i hav to read all the text files once and i should also find a certain keyword(similar keyword) which should exists in all those files. Anyone suggest how to do that. | |
Anyone Developing an airline reservation system in CF? | |
i have a site at [URL="http://cometorate.com/"]http://cometorate.com/[/URL] i tried todo a cPanel move to my server here. [URL="http://66.196.43.131/~cometora/"]http://66.196.43.131/~cometora/[/URL] on the new server above i keep getting the errors below. i just dont know what any of this means. can anyone help? Warning: fopen(/usr/local/apache/htdocs/online.txt) [function.fopen]: failed to open stream: Permission denied in … | |
so, i started at php and i'm doing some exercises from the book, but when i type this code into my "view.php", the output is all wrong...[code=php] <?php include("dbconnect.php") ?> <h2>View my GuestBook!!</h2> <?php $result=mysql_query("select * from guestbook") or die(mysql_error()); while ($row=mysql_fetch_array($result)) { echo "<b>Name:</b>"; echo $row["name"]; echo "<br>\n"; echo … | |
can any one help me? is main() function a pre defined function or a user defined function? thank you | |
Hello, I did some expiremets with turning numbers with floating point to strings and vice versa,and bumped into something strange,here is the code: [code=cplusplus] #include<stdio.h> #include<conio.h> #include<stdlib.h> void main () { double num; num=310.589; char buffer [10]; sprintf(buffer,"%f",num); buffer[7]=NULL; printf("using &num=\n"); printf((char *)&num); printf("\nbuffer=\n"); printf(buffer); printf("\nfragment of buffer=\n"); printf((char *)&buffer[3]); … | |
I m reading a text file which is of format L1,L2,L3 L1,0,0,0 L2,1,0,0 L3,1,0,0 using getline method. The first lines signifies the vertex of a graph. Now from the second line onwards it signifies edges. Now from second line onwards i want to add the elements in a dynamic array … | |
i need help on how to write good programming language on any of the language,am a computer science student but i can't write good program. | |
I just started learning java and encounter problem in writing a program that read in the value of height of a triangle. For example 1 AA 232 BBAA 34543 AABBAA 4567654 BBAABBAA Anyone plz kindly help me to write this program using loop. I only know how to print out … ![]() | |
I have this dictionary project that's making my head spin. Am trying to create a dictionary that stores the word and meaning of the word in a text file. Then a user can either searching the meaning of a word or search by alphabet. I had an idea which is, … | |
How do i create a two dimensional dynamic array of type string using vector. Also let me know if how can i use "find" on this array.. ![]() | |
any problem here with the code coz am getting the error as unable to load the report error no:20525 and it shows the property read only can u clear it plzzzz CrystalReport1.ReportFileName = App.Path + "\REPORTS\Nature_Of_Complaint.rpt" CrystalReport1.ParameterFields(0) = "natureofcomplaint;" & cmbReport.Text & ";true" CrystalReport1.ParameterFields(1) = "fromdate;" & dtpFrom.Value & ";true" … | |
Hi, Is there any tutorial that tells how to do dynamic binding in C. Thanks in Advance. | |
If you have an example please help me | |
Hi I am currently doing a project, part of which involves reading peoples information into a Database, the table in question being member_table which includes a 'Date of Birth' field. I have no problem doing this as all the information I want to assign to this table including DOB is … | |
Dear All, I have windows based delphi application.For reporting part.I am using Quick Report 4.0.I printing through my application.It will show the print preview no problem.After prview i am printing means.It will show the message floating point division by zero after this message.Cann't print anything.Pls help me how to solve … | |
Hi guys, could anyone tell me what segmentation fault means? Thx | |
Can anybody help me to create a notepad like interface in C++. It should have a cursor which moves as we move the arrow keys. | |
Okay - there is no otherway to phrase this ... [B]Help![/B] I am not a programmer, never claimed as such... but I do use a php based CMS, which I adore - Xaraya. So I am building a site for a client, and it's gotten to be a rather ugly … | |
Hello. I am currently having a problem with a script. I am using the rand() function to make big randomized numbers. The problem is that rand() only returns numbers lower than about 2 billion. I need more than that. Is there any function in PHP that gives you REALLY BIG … | |
Hello, I really need your help in vbulletin forum .. I am owner of vbulletin forum designed for arab and it's specialised in html and php tutorial how can I highlight code like daniweb forum ?? I dom't know if administrator can help me or not but I hope !! … | |
Dear members, can any body plz help me out to insert image file in MySQL.......is it possible ???????? [B]If possible plz give me the code............[/B] | |
I'm just starting to learn Java what books, or tutorials would you guys reccomend Thanks guys. | |
I am trying to protect email addresses on a web page from spammers. I found a javascript snippet from Syronex Anti Spam Solutions ([url]http://www.syronex.com/antispam/[/url]) and it has worked well in the past. Since I have upgraded Firefox to the newest version I cannot access the email from my links. Is … | |
Hi I want to understand how to pass any variable betwen functions with PHP. Could anyone make it easy for me to understand please as I want the 'id' field? basically I have a list of records an a click to edit button. This brings up the editor. All works … | |
Dear Frens, I have made a simple project. I want to create an installation file so that I can install and use it as a Window Application. Please help me with the steps to create the installation file. Anticipating your reply. Kshiteesh | |
Hi, I tried to compile below program with Borland C++ 5.0 program but i received subject error. Below is not complete program as it is long program. I think "graphics.h" has some problem. Please help me. [COLOR=#000000]#include<iostream.h>[/COLOR] [COLOR=#000000]#include<graphics.h>[/COLOR] [COLOR=#000000]#include<stdio.h>[/COLOR] [COLOR=#000000]#include<conio.h>[/COLOR] [COLOR=#000000]#include<string.h>[/COLOR] [COLOR=#000000]#include<dos.h>[/COLOR] [COLOR=#000000]#include<iomanip.h>[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]struct date_rec[/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#000000]short int … | |
I have been looking into ways I to cut down on MySQL Querys in a page and I was wandering if you could up to update querys into one mysql_query function like this: [php]mysql_query("UPDATE table SET val1=val1+1, val2=val2+1 WHERE id = (int); UPDATE table SET val3=val3+1, val4=val4+1 WHERE id = … | |
I have been studying PHP part time off and on for a month or so and I get it a little, but I really want to know how to build software and I am pretty much the world's most novice programmer. Does anyone out there know of the best free … | |
Hi, Everybody. After compiling below program i am getting error" prg2(distance with error),Please help me to resolve. Thank you [code=c] #include<iostream.h> #include<conio.h> struct distance { int feet; int inches; }; distance length1,length2; void prnsum(int distance11,distance12); int main() { clrscr(); int distance,z; cout<<"Enter length1:"<<"\n"; cout<<"Feet:"; cin>>length1.feet; cout<<"\n"<<"Inches:"; cin>>length1.inches; cout<<"\n"<<"\n" <<"Enter length2:"<<"\n"; … ![]() | |
Hi, I know C and Python, but i wanted to learn Java. Any suggestion, how should i go about it. I started reading some book, but couldn't make it out. Regards, Jyoti | |
Hi Guys First apologies since no doubt this type of question has been asked before. Thanks for any help in advance.. I have a form to modify data... it works just fine as I echo the modified array. However the database is not updated. Could anone tell me why? function … | |
im trying to compile a java file in my computer...and it wil not work...its my first time doin it here... my problem was..i cant compile any java file... this will only appear java.lang.NoClassDefFoundError: mynote/java Exception in thread "main" | |
I'm trying to mail a newsletter to a list of people, but I get an error every time it tries to mail. Anyone know what I'm doing wrong? [code=php] <?php $file = fopen("upload/newletter.html", "r"); $sub = fopen("to.txt", "r"); $x = 0; $y = 0; while (!feof($sub)) { $names[$x] = fgets($sub); … | |
I am trying to get the output of a string "A B C D E" etc to output to a label or a text box to have different colors for each character, for a kids learning program. I have just learned about the richtextbox, but I do not know how … | |
I am using a data control with a simple SQL statement. I am accessing the [B]Data1.Recordset.RecordCount[/B] property right after I call [B]Data1.Refresh[/B] and I noticed it was giving me incorrect results (It would say there were 20 records, when there were actually 85). The weird part is, I put a … |
The End.