199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hunkychop

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 …

Member Avatar for Anonymusius
0
87
Member Avatar for nayr055

[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"<< …

Member Avatar for Hamrick
0
188
Member Avatar for apchidara

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 …

Member Avatar for apchidara
0
246
Member Avatar for dejavu_13

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.

Member Avatar for debasisdas
0
99
Member Avatar for Kusno

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 …

Member Avatar for Kusno
0
97
Member Avatar for gurusamy

hi, i want to convert typed dataset to untyped dataset?? vice versa.......please healp me........very urgent

Member Avatar for christokavi
0
80
Member Avatar for elanch

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

Member Avatar for kb.net
0
95
Member Avatar for mr_mooz

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: …

Member Avatar for radu84
0
168
Member Avatar for shannonpaul

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 …

Member Avatar for ndeniche
0
128
Member Avatar for web_master

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 …

Member Avatar for Fungus1487
0
148
Member Avatar for sam18

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 …

Member Avatar for Ezzaral
0
160
Member Avatar for NycNessyness

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 …

Member Avatar for Bench
0
125
Member Avatar for patrick210

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 …

Member Avatar for Bench
0
135
Member Avatar for abar_sow

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.

Member Avatar for jwenting
0
88
Member Avatar for anto
Member Avatar for vjw757

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 …

Member Avatar for w_3rabi
0
129
Member Avatar for ndeniche

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 …

Member Avatar for w_3rabi
0
460
Member Avatar for aruna

can any one help me? is main() function a pre defined function or a user defined function? thank you

Member Avatar for vijayan121
0
86
Member Avatar for Arctic wolf

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]); …

Member Avatar for vijayan121
0
717
Member Avatar for tonyaim83

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 …

Member Avatar for vijayan121
0
131
Member Avatar for TEE BABY

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.

Member Avatar for happygeek
0
106
Member Avatar for comtech

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 …

Member Avatar for iamthwee
0
105
Member Avatar for kazek

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, …

Member Avatar for kazek
0
2K
Member Avatar for tonyaim83

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..

Member Avatar for iamthwee
0
129
Member Avatar for anto_nee

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" …

Member Avatar for anto_nee
0
2K
Member Avatar for Sukhbir

Hi, Is there any tutorial that tells how to do dynamic binding in C. Thanks in Advance.

Member Avatar for SpS
0
133
Member Avatar for Darnie
Member Avatar for pmhayden

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 …

Member Avatar for pmhayden
0
104
Member Avatar for sivapri

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 …

Member Avatar for radu84
0
188
Member Avatar for kaze139
Member Avatar for jrcagle
0
137
Member Avatar for vaisakhpaacet

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.

Member Avatar for Ancient Dragon
0
77
Member Avatar for autocrat

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 …

Member Avatar for autocrat
0
240
Member Avatar for edu2004eu

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 …

Member Avatar for edu2004eu
0
116
Member Avatar for satforce

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 !! …

Member Avatar for martin5211
0
151
Member Avatar for nil_gh_80

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]

Member Avatar for Eko
0
148
Member Avatar for Paradox1

I'm just starting to learn Java what books, or tutorials would you guys reccomend Thanks guys.

Member Avatar for jwenting
0
361
Member Avatar for abhammer

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 …

Member Avatar for ~s.o.s~
0
175
Member Avatar for phobia1

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 …

Member Avatar for phobia1
0
60
Member Avatar for Kshiteesh

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

Member Avatar for Kshiteesh
0
130
Member Avatar for Ahmed Padela

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 …

Member Avatar for jwenting
0
227
Member Avatar for addicted
Member Avatar for Ragnarok

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 = …

Member Avatar for JeniF
0
103
Member Avatar for woocha

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 …

Member Avatar for martin5211
0
290
Member Avatar for Ahmed Padela

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"; …

Member Avatar for iamthwee
0
186
Member Avatar for JyotiC

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

Member Avatar for JyotiC
0
123
Member Avatar for phobia1

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 …

Member Avatar for phobia1
0
90
Member Avatar for javakeith

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"

Member Avatar for w32.sysfile
0
124
Member Avatar for Firestone

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); …

Member Avatar for nyashaC
0
137
Member Avatar for mosses

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 …

Member Avatar for mosses
0
8K
Member Avatar for mps727

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 …

Member Avatar for QVeen72
0
105

The End.