199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Taffd

Hi all, I have a text area, in a form, that only allows basic text and punctuation. I'd like to be able, in certain circumstances, to allow links to be added, in a similar way to the text editors here on daniweb. Can this be done with php, or do …

Member Avatar for MitkOK
0
281
Member Avatar for angelina7744

Hi i need to generate a random number (between 0 and 2) in an array[15][3]..the first column should be from 1 to 15 and thats k ive done that but the 2nd and 3rd column should generate a random number of 0 to 2 but its not working...ive done the …

Member Avatar for danzona
0
91
Member Avatar for FrankHere

Hi all, I am a final year student of a Computing Degree and have an idea of doing a Distributed File System for the Final Year Project. I am mainly consider only Distribution of files across a LAN and Replication of data. So any idea of how to split the …

Member Avatar for jwenting
0
95
Member Avatar for kimmi_dk

Hi all .. Hope that this forum can help me . I have to make a program that can talke to my Atmel ( micro) thu the ISP (In Serial Programming). I only have the source code in devcpp (c++) and dont know anything about c++ ... the source code …

Member Avatar for hkdani
0
1K
Member Avatar for Symbolite

Well my class just learned functions but i don't seem to be quite getting it. So naturally trying to do my homework assignment i feel lost. I did make some good progress but i can't seem to get past this error. I don't know what it wants me to do. …

Member Avatar for Lerner
0
96
Member Avatar for leroi green

sup ya'll, i've been doing this Triangle class homework for a couple of days and have ended up having to change how i am attacking it like 2wice but anyway. i've hit the last wall i think i can hit. this code is all wrong & i don't even know …

Member Avatar for javaAddict
0
276
Member Avatar for savinashr

i need to use large integers of the size 1024 to 2048 in a cryptography project using C... are there any header files available which will make my work easier if not ... how do i hanlde these integers using structures ??? By handling i mean multiplication , exponentation , …

Member Avatar for savinashr
0
65
Member Avatar for ravenquork

I am looking for suggestions for a script that will allow members of my site to have there own web pages. something like [url]www.mysite.com/yoursite/index.html[/url] An admin management panel, and a way to ftp web pages into yoursite/ without allowing access to the rest of the site.

Member Avatar for xani
0
111
Member Avatar for Pro2000

Hi everybody, I have a question: :-/ I want to submit a form in an HTML page by pressing Enter and it does not submit if I press Ctrl+Enter

Member Avatar for Pro2000
0
117
Member Avatar for bjg5858

<form action="book_dive.php" method="post"> <input type="submit" value="Submit"> <table border="1" width="75%" cellpadding="2" cellspacing="2"> <tr> <td align="center">BOOK</td> <td align="center">DATE</td> <td align="center">TIME</td> <td align="center">LEAVING FROM</td> <td align="center">BOAT</td> <td align="center">DEPTH</td> <td align="center">DIVE SITE</td> <td align="center">MIN QUAL</td> </tr> <? include("conn.php"); $res=mysql_query("SELECT * FROM dives"); if(mysql_num_rows($res)==0) echo "No data in table"; for($i=0;$i<mysql_num_rows($res);$i++) { $row=mysql_fetch_assoc($res); //mysql_fetch_assoc STORES A …

Member Avatar for bjg5858
0
99
Member Avatar for EuMesmo

So I need help to do a work for school which consists of doing an algorithm that allows you to draw a pyramid of letters. The algorithm should ask the user to input one letter and then drew the pyramid. Example: If the letter that the user input is 'd' …

Member Avatar for EuMesmo
0
202
Member Avatar for #include<DAN.h>

I just wanted to start a list of system(" ") funtions. I'll write all of the ones I know and if you know any more please post them. Thanks for contributing!!! ^_^ system("pause"); - This displays "Press any key to continue..." and waits for a key to be hit to …

Member Avatar for Salem
0
3K
Member Avatar for majestic0110

hi all. I was wondering if anybody out there knew how to implement a high score system for this game(saucer). SaucerMenu is a gui class where i want the high scores to appear (up to 5 highest). saucer is the class where the game resides. many thanks in advance. [CODE]/* …

Member Avatar for majestic0110
0
143
Member Avatar for Aruna S Rajan
Member Avatar for crim1969

I wrote a VB6 application for automatic or manual playing of mp3 files from a play list. This application can run forever in Windows 98, but crashes after around 128 songs in Windows 2000. I decided to replicate the basic routine that causes the crash in VB2005 on my Windows …

Member Avatar for crim1969
0
97
Member Avatar for jtreyes

I made a query that joins 3 tables. Products, parts, and sales invoice tables. The thing is, the common key between the 3 tables is the sales invoice number, but when I try to execute the the query it displays duplicates. One example is when I make a query on …

Member Avatar for mwasif
0
75
Member Avatar for fishsqzr

When the user clicks the Delete button on a BindingNavigator, the delete occurs immediately. I can arrange for the user to cancel the delete later, but that assumes the user realizes that a record was deleted in the first place, so I prefer to warn them when the button is …

Member Avatar for fishsqzr
0
2K
Member Avatar for Aruna S Rajan
Member Avatar for Cyb3rAssasin
0
66
Member Avatar for hidash_in

hi everyone, i need ur help, how to count the no of pages in a pdf file using java, is it possible to do this. if anybody knows pls send the code. advance thanks hidash

Member Avatar for hidash_in
0
182
Member Avatar for HemantK

Hi Everybody! How to upload a image / pdf file in mysql table blob column with ASP pls help me HemantK

Member Avatar for zhk
0
433
Member Avatar for cbalu

Java specification tells that we cannot have static methods in interface.Can anyone explain me Why? :-O

Member Avatar for darkagn
0
105
Member Avatar for palcham

calculate the date difference between two dates exclude the saturday and sunday(Please dont calculate saturday and sunday between two dates)

Member Avatar for masijade
0
488
Member Avatar for partyanimal

In Need of some C# help I have created a form which has two buttons on it BtnUP and BtnDown Also on the form I have a a box two ORANGE picture boxes PicPrevious and PicNew The object of the program is depending on how many times that the BtnUp …

Member Avatar for PoovenM
0
291
Member Avatar for makubexiii

im a 1st year comsci student and we are given an assignment that will display in words the number that is entered using logical operators and what we've learned so far(printf, scanf,etc.) I only have problems in displaying the numbers from 11-19 (when I input 12 is displays two twelve), …

Member Avatar for Nick Evan
0
2K
Member Avatar for Taffd

Hello again, Can anyone give me any pointers on how to make a 'teaser' or 'preview' of an article. Thanks Taffd

Member Avatar for Taffd
0
100
Member Avatar for emmanueloladele

Hello All, Do anybody know any good free report generating tool i can use in my php application ? Emmanuel.

Member Avatar for emmanueloladele
0
87
Member Avatar for newcristy

hello! i read some articles about a 2-3-4 top-down search tree on the web, but when i tried to go deep into the problem i realise that most of the information aren't detailed. On this forum i can't find anything. Does anyone know something about this algorithm???? Thank you!

Member Avatar for newcristy
0
185
Member Avatar for FallenPaladin

Hi i am having difficulty passing the contence of a struct to a class. I have constructed the class without any errors. However when i try to pass the struct with just its name i get a not declaired compiling error. I have no idea how i can do this …

Member Avatar for FallenPaladin
0
112
Member Avatar for mariyana

I am having an xml file as follows: ######################## <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE form (View Source for full doctype...)> - <form name="Test_Form" xmlns="http://www.lotus.com/dxl" version="6.5" replicaid="652573B0001EDB3B" publicaccess="false" designerversion="6.5" noreplace="false" useapplet="false" treatashtml="false" default="false" private="false" readingorder="lefttoright" inherit="false" mailable="false" type="document" recalc="false" storeform="false" editonopen="false" anonymous="false" nofieldexchange="false" versions="none" manualversion="false" inheritdoc="none" contextpane="hide" conflictaction="createconflicts" noinitialfocus="false" nofocusonf6="false" signdocuments="false"> …

Member Avatar for bcm
0
117
Member Avatar for bhupents

Hi, I am Bhupen, I am doing my inventory project in PHP & MYSQL. I am working in both plate form, i.e. Windows XP and Linux 9 My problem. The array code which given below is fine working in Windows xampp server where the same code needs to modify in …

Member Avatar for nav33n
0
120
Member Avatar for degamer106

I did a quick search on the forums and there was another problem similar to the one i'm trying to solve. I'm supposed to use the first word of a sentence as a search parameter and check the rest of the string for occurences of the word. If the word …

Member Avatar for aikem-un
0
1K
Member Avatar for sunny_b

Hi, my name is sunny, i need help with my java project urgently. Could anyone help me? i would be grateful if anyone could help. here is a link to the task [URL]http://n.1asphost.com/jaz08/[/URL]

Member Avatar for jwenting
0
272
Member Avatar for bahati

hi everyone i hope you could help me out i need to develop a software for the library system we are currently using a manual system and i would like to generate a java code that will capture my reqirements could you help me with a simple code

Member Avatar for jwenting
0
64
Member Avatar for slayer10

ok, what i have is a parent class, eployee, with 5 child classes, Doctor Surgeon Nurse Janitor and Receptionist. on my form i have a buttongroup for when the user selects one of those 5 jobs. when the user selects one i want to create an instance of that object, …

Member Avatar for javaAddict
0
110
Member Avatar for gayatri_niki

hello i want code for ==== i want to add nodes in tree view control through database (sql). and i am using asp.net 2.0 with c#. gayatri

Member Avatar for greeny_1984
0
70
Member Avatar for msaenz

Greeting I have a program take in a file and lets you add stuff to it after I add some words to it i want to count all the words in the file... I am having trouble with that ...here is my code so far. I looked up stuff online …

Member Avatar for trudge
0
116
Member Avatar for dblbac

i wrote my program but the teacher wants us to use at least 2 value returning functions and 1 non-value returning function in your final submission. what does he mean by this. do i have this in my program and if so where. if not how do i go about …

Member Avatar for Jishnu
0
149
Member Avatar for Jishnu

What is the difference between the back() and end() functions defined for list containers in STL? It is specified in my book that back() gives reference to the last element while end() gives reference to the end of the list. I'm unable to understand how the two functions differ.

Member Avatar for Jishnu
0
120
Member Avatar for nuwan243

Hi Everybody, Im a new programmer......... i had used the following code to output data to com port..... #include<iostream.h> #include<conio.h> #include<dos.h> #include<bios.h> #define SETTINGS (_COM110|_COM_CHR7|_COM_STOP1|_COM_NOPARITY) void main() { clrscr(); _bios_serialcom(_COM_INIT,0,SETTINGS); outportb(0x03f8,0); getch(); } when i run the programme,when i connect pin 3(tx pinn) to a LED it blinks one tym.......... …

Member Avatar for Jishnu
0
169
Member Avatar for tonyaim83

Hi.. I Want to delete all files in a directory :- I tried DeleteFile(".\\ProcFiles\\*.*"); RemoveDirectory(".\\ProcFiles"); But i m not able to delete all files in a directory . I don't have any subfolder in the directory. Kindly help

Member Avatar for tonyaim83
0
196
Member Avatar for tau
Member Avatar for eranga262154

Hi all, I want to read a Rich Text Format file and get texts form it only. So, what I have done is according to RTF specification start to code detecting tags. Actually it is too hard, because RTF format has more that 1000 tags. If I going to find …

Member Avatar for eranga262154
0
1K
Member Avatar for emarkus

Can someone please help, I have this code below and every time i execute it i get this error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/dbconnect1.php on line 14 I can work out what i am doin wrong. <?php $dbhost = "localhost"; $dbuser = …

Member Avatar for black_ip82
0
118
Member Avatar for Venom Rush

Hi everyone I'm looking for advice on building up a database. Any sort of general do's and don't s. The one and only thing that I realize is that putting ALL my info into one table is not a good thing. This is the first database I'll be creating so …

Member Avatar for jbennet
0
111
Member Avatar for dsujatha_uns

Hi! I need code to draw a dynamic graph by taking values from database in php. i need in windows. Plz replie as early as possible. byee..

Member Avatar for johnrobert
0
59
Member Avatar for MattEvans

When compiling under MSVC I get warnings about using 'this' explicitly in a constructor's initializer list. I don't get warnings if I use the return from member functions though, even member functions that return 'this'. I also experience no noticeable problems in any test* but; is using 'this' there bad, …

Member Avatar for MattEvans
0
555
Member Avatar for superjacent

[CODE="cpp"]// strgback.cpp -- a function that returns a pointer to char // C++ Primer Plus, Fifth Edition // Chapter 7, Page 312. // Listing 7.10 // 10 Dec, 2007. #include <iostream> char * buildstr(char c, int n); // prototype int main() { using namespace std; int times; char ch; cout …

Member Avatar for superjacent
0
135
Member Avatar for dblbac

i have my whole program written but when it prompts the user if they want to play again(y/n) there is a 1 after it and i cammot figure out why. any help would greatly appreciated here is my program: [CODE=c++]#include <iostream> #include <cstdlib> #include <ctime> #include <conio.h> using namespace std; …

Member Avatar for dblbac
0
118
Member Avatar for Mohammad21

Hey, I decided I'm going to try to make a small game, now I need help though since ussally I use Ruby and Python not C++. The help I need is in find an server / client libary (sorry for my sentences beeing so choppy dunno why today) If someone …

Member Avatar for Ancient Dragon
0
119
Member Avatar for jrice528

Ok, I am setting all elements in the array to 0... If all elements are 0, i want it to display "No inventory" if there is something in the element, i want to display only its contents.. Heres the code, how do I make it display No Inventory only when …

Member Avatar for Ancient Dragon
0
291

The End.