199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for server_crash

I have a program that reads from a file, but for some reason it never reaches the end of the file or something, because the loop never ends. I put only 2 lines of text in the file, and a loop like this still ran infinite: [code] while (! my_file.eof()) …

Member Avatar for iamthwee
0
5K
Member Avatar for rcasinillo_s

Good day to everyone! :D Anybody could give step by step PHP code or explanation with examples of how to get the information to other page. For example my main page is index.php inside of it I have three links to the following PHP files: roland.php, haydee.php and ricky.php. Now, …

Member Avatar for rcasinillo_s
0
103
Member Avatar for abhinaynagpal

<html> <head> <title>frame and button</title> <script language="Javascript"> function sho(form) { document.writeln("click click boom!"); alert("clicked!); form.tex1.value="abc"; } </script> </head> <body> <form name="cosine"> <input name="tex1" type="text" value=" "><br><br> <input name="button1" type="button" value="click" onClick="sho(this.form)"> <input name="reset1" type="reset" value="clear"> </form> </body> </html>

Member Avatar for plazmo
0
167
Member Avatar for plazmo

below is my external javascript code and testing page. for this im just using settimeout to loop increment and write out a value. on the first loop everything works corrrectly. on the second loop everything gets erased and only displays the text i wrote. i can run other scripts fine …

Member Avatar for tgreer
0
142
Member Avatar for atrusmre

Is there a way to make a MFC application have Network capibilities without using windows sockets? If so, anyone know of a good tutorial?

Member Avatar for calcop
0
148
Member Avatar for ilikerps

I have an edit box, with its settings as "multiline", "want return", and "vertical scroll." All I want to do is to have new lines between each output line. However, I have tried "\n", which did not work. So, is there a way to make them have line breaks?

Member Avatar for freespace
0
543
Member Avatar for naelcmaj

My new PC is eMachines3260, it has an HPdeskjet 3840 printer, it has windowsXP pre-installed by the supplier. The old PC had windows98 and its printer (HP deskjet 695c) is now US. Qbasic was installed on the old PC by its supplier, I have no software disc for the Qbasic …

Member Avatar for rugbyfan69
0
199
Member Avatar for GSmiles

I was wondering is there a way you can create a small operating system that can fit into you floppy disk? :surprised

Member Avatar for rugbyfan69
0
73
Member Avatar for Stivi

Hi, I want to fill data from database on the webpage. There's no problem with reading the data, filling the menu and so on, but I want to put the text & pictures in the article and this is a real problem :lol: Is there some component (like panel or …

Member Avatar for f1 fan
0
196
Member Avatar for Frank0051

Hello, I'm currently creating a PlayList for a media application I am working on. I'm using a JList as the GUI object for the PlayList and a DefaultListModel as the storage area to be held in the PlayList. I was hoping that if I was to pass a DefaultListModel object …

Member Avatar for Frank0051
0
228
Member Avatar for nike123

I have got this code, which am trying to display it in white writing. I could get the first part in white but couldn't get the variable ($HTTP_SESSION_VARS['items'] to come up in white. echo '<font color="#ffffff"><b>Total Items = </b></font>'.$HTTP_SESSION_VARS['items']; I have also tried the code below but got an error …

Member Avatar for Dani
0
151
Member Avatar for server_crash

I'm trying this: char info[50]; myfile.getline(info, sizeof(info) ); double my_double = atof(info); It seems to work, I think, but I'm getting an error when I try to print out the double. It says no matching function for ostream& << &double. Can anyone help me with this?

Member Avatar for server_crash
0
251
Member Avatar for mybrainhurts

I have made this program which im really certain would work, it compiles with no errors, but runs continuously after getting the name of the output file. The program takes a loads of names each with 12 numbers, gets the name using getline, and puts the numbers into an array. …

Member Avatar for Narue
0
156
Member Avatar for Avatar

Hi guys, im just a begginer in visual basic and im looking for someone who could help me with our school/group project.. in some cases we have been appointed to make a clock using visual basic that ring or alarm every point of the time assigned. For example, every Monday, …

Member Avatar for Avatar
0
119
Member Avatar for halsoft

i want to write a vba macro that read the bookmark name on a selected place in word document.

Member Avatar for halsoft
0
112
Member Avatar for aish

In my asp.net c# web app. I have 10 text feilds. I want to avoid duplicate same value in this text feilds. how I can do this using javascripts. :cry:

Member Avatar for aish
0
135
Member Avatar for Snowlie

I have a little problem with the commondialog. I can select the files what i need but now i want them to put them in a table by click on a butten while i have one file selected but i don't know how i have to do this does somebody …

Member Avatar for Snowlie
0
87
Member Avatar for N.Q

Salam n hi there! one simple question...what is the best tool to schedule tasks using Gantt chart.I mean,obviously Gantt chart,task network n all can be drawn using various softwares such as SmartDraw, MS Project etc,but what is the best software to use?I used MS Project and a friend used SmartDraw..since …

Member Avatar for jigvesh
0
145
Member Avatar for Naters_uk

I am working on a seat selection page for an ASP.NET school project on movie booking system. I have created the seats using buttons (A1, A2, A3) etc. When the user click on the button, the button colour changes and the user finalized the payment. I have an issue here. …

Member Avatar for f1 fan
0
173
Member Avatar for ajitmote

Hi, after searching a lot , i got IDE SPE........ link for SPE [url]http://stani.be/python/spe/page_download[/url]........ but giving some problem........ my system is fedora core 4 .....

Member Avatar for vegaseat
0
166
Member Avatar for senateboy

hey yo's, i pretty much understand this function, except for the return value. i know that [I]string , string[/I] concats the strings. but what does the comma in the middle do when you have 2 different objects on either side as in the return value below? [CODE]def load_image(name, colorkey=None): fullname …

Member Avatar for vegaseat
0
171
Member Avatar for shobana

I am final year student. I am going to do the projet in visual basic and oracle in IVRS. i want the details of ivrs and how to record the voice, how to get the response with keypress without using any trial version software. i didn't have much knowledge in …

Member Avatar for shobana
0
191
Member Avatar for mattjpoole

Hi, I've had a website built for me using asp and mssql. Im getting errors relating to the date format in queries being submitted. The asp is trying to insert dates in format dd/mm/yyyy, but after testing my mssql server is expecting the dates in format yyyy/mm/dd. Is there a …

Member Avatar for mattjpoole
0
129
Member Avatar for ilikerps

Hello. I am trying to convert my chat client from a C++ program that runs in DOS into one that runs in a Windows Dialog. I am using Visual C++. However, I am already getting a second error (please understand that there have been many before this that I [I]have[/I] …

Member Avatar for ilikerps
0
214
Member Avatar for mcathymatthew

hi everyone!! I am a final year student doing software engineering.. I need help on my final year project. I am interested in music. i have an idea but i am not sure it can be finished in 7 months time or not. my plan is a sheet music reader. …

Member Avatar for hari_cseiitb
0
129
Member Avatar for rculley1970

I am using Visual C++ 6.0 and am getting, "error C2447: missing function header (old-style formal list?)" The code is: #include <stdafx.h> { int main (); printf("Fuck off Asshole.\n You suck. \n Bit Me Dickhead\n"); return 0 } I cannot figure out what is going wrong.

Member Avatar for iamthwee
0
108
Member Avatar for k_en

why i got this error??? Is my java installation wrong? Exception in thread "main" java.lang.NoSuchMethodError:main press any key to continue.............................

Member Avatar for deeppython
0
296
Member Avatar for Geek-Master

Does anyone know of a college in Georgia that offers a complete online BS in Game Development or Computer Science?

Member Avatar for Geek-Master
0
88
Member Avatar for zenoen

here is my problem main.c:17: error: parse error before '{' token main.c:27: error: parse error before string constant [CODE]#include <stdio.h> #include <c.h> #include <math.h> #include <ctype.h> #include <time.h> #include <stdlib.h> #include <string.h> #define kmll 200 #define Kzll 0 int myint,any,go; int main (int argc, const char * argv[]) { (myint, …

Member Avatar for zenoen
0
171
Member Avatar for wigster84

If i have a set of numbers: [B]48098, 50933, 3128, 323, 42, 5[/B]..etc how can i convert them into integers? I have an example of a code ([I]see below[/I]) that will convert one number, not the whole set. So, im having trouble trying to convert a set of numbers seperated …

Member Avatar for Lerner
0
111
Member Avatar for MonkeyCode

Hello DaniWeb, . I was hoping someone could help me with a portability issue. . I've created a jar in JBuilder Foundation 2005. Said jar executes successfully on computers Alpha and Beta, but not Cimarron. When I double-click on the icon on Cimarron, a small black window flashes up and …

Member Avatar for MonkeyCode
0
106
Member Avatar for sam1

hi I was wondering if i build my instant messenger using jabber protocol how different would it be from simply building it with pure java? thanks

Member Avatar for sam1
0
115
Member Avatar for lakshmisoni

I have a problem in conveting binary to decimal and decimal to binary conversions and i have the due date today

Member Avatar for Dani
0
121
Member Avatar for nike123

Am not too sure what this code does can someone help me please? I know it starts a session but what all that xtra validation? // start the session session_start(); if (!get_magic_quotes_gpc()) { if (isset($_POST)) { foreach ($_POST as $key => $value) { $_POST[$key] = trim(addslashes($value)); } }

Member Avatar for nike123
0
152
Member Avatar for wigster84

I have encountered a couple of problems: a. I need to convert a string of numbers seperated by commas into integers. I have had help before today and know how to convert one string (thread was posted today). But I dont know how to do a simpler version of it …

Member Avatar for wigster84
0
325
Member Avatar for ilikerps

Hello. I am trying to convert my chat client from a C++ program that runs in DOS into one that runs in a Windows Dialog. I am using Visual C++. However, I am already getting a strange error: [CODE]#include <string>[/CODE] That links without error, but when I try to use …

Member Avatar for ilikerps
0
188
Member Avatar for LiBOC

Hi guys, Most of the codes for my Java applet is done. But I couldn't figure out how do we actually convert a hand written maths formula into java programming's syntex. Any advice and guides on this? Or what keywords u use to search the internet to find such things? …

Member Avatar for server_crash
0
267
Member Avatar for NosKills

I have somewhat of a weird problem which probably is caused by my compiler, but when I include <fstream> some of it's members cannot be found back in the std namespace. When i use <fstream.h> these methods are availabe. The methods are ios::nocreate and ios::noreplace, anyone who has had the …

Member Avatar for NosKills
0
332
Member Avatar for Cap

I'm having a problem with getting info from a county government site that uses a Java applet. I'd appreciate any help in solving this information retrieval issue, as the people I talk to at the county don't seem to be very technically literate, although I'm probably not either. To verify …

Member Avatar for jwenting
0
151
Member Avatar for SelArom

hi! I'm messing with the new Visual Studio 2005, and I'm totally loving it, but there is something that is driving me nuts. In 2003, if I was working on a form, and double clicked a control it would create a handler and shoot me to the code view. I …

Member Avatar for SelArom
0
128
Member Avatar for waldis

Could anyone look at this and tell me if I got it right? I had to rewrite the following code without GOTOs: [CODE]Y: A B if a GOTO X C if b GOTO Y X: D[/CODE] Here is my solution (I added an additional flag to get it done): [CODE]i=TRUE …

Member Avatar for waldis
0
107
Member Avatar for winbatch

Is there a way in C++ to deal with this? (a way to force that a boolean is strictly a boolean and cannot be converted to another numerical type?) line 42: Error: Overloading ambiguity between "MultiLog::writeLog(const long&)" and "MultiLog::writeLog(const bool&)"

Member Avatar for winbatch
0
1K
Member Avatar for davalend
Member Avatar for vegaseat

Does anybody know the limit of nested for loops in C or C++? If there is a limit, what is the reason?

Member Avatar for Narue
0
212
Member Avatar for Subterraneus

A script to edit log files, it can remove the username, UID, a specefic string, remove logs and remove the netinfo backup, it's not working. [CODE]#!/bin/bash remove_logs() { find -f /var/log -f /Library/Logs -f /Users/*/Library/Logs \! -iname "*.gz" \! -name ".DS_Store" | while read file ; do sed -e "s/${USER_ID}//g" …

0
116
Member Avatar for JoBe

Hello ladies and gents, I was trying to write a small example of a pointer to a two dimensional array like this after looking up how to write the syntax at Narue's Et.Conf. world like this: [code] #include <iostream> #include <iomanip> void array(short (*myArray)[4][4]); using namespace std; int main() { …

Member Avatar for Narue
0
137
Member Avatar for fmardani

Hi, I have made the necessary changes in the web.config so that I can get to the security Tab for the ASP.NET configuration. The new error when trying to go to the security Tab is: The following message may help in diagnosing the problem: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. …

Member Avatar for f1 fan
0
120
Member Avatar for abacusdotcom

Hi All, I have problem in manipulation data grid. The datagrid contains dynamic number of columns, and there is possibilty of the datagrid to be longer than the browser's viewport. Users/clients will need to scroll horizontally, This can make user to loss track of the other part of the datagrid. …

Member Avatar for f1 fan
0
461
Member Avatar for maczu.pikczu

Hi I have this little app in java that looks like that : [IMG]http://img399.imageshack.us/img399/2046/wardrobe6cd.jpg[/IMG] Its a JFrame a ScrollPane inside and a JTable in it. I'd like to have an image displayed uder the table but I have no clue how to do this (I'm a begginer whit java) the …

Member Avatar for maczu.pikczu
0
172
Member Avatar for daidaiboyboy

Hi all... I have a query here... Is it possible to open another software application in runtime? My situation here is that I have some .dat files which has the data points for plotting a 2-D graph. I have heard about Tecplot as a great graphics renderer especially for simulations …

Member Avatar for f1 fan
0
286

The End.