199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for neil82

PHP error debug Error: mysql_num_rows(): supplied argument is not a valid MySQL result resource Error type/ Nr.: Warning - 2 File: /data/www/manager/includes/document.parser.class.inc.php(797) : eval()'d code Line: 58 Here's the code: [code=php]<?php /******************* parameters $details==0 if the person wants just the summary $details==1 if the person wants to see the course …

Member Avatar for R0bb0b
0
131
Member Avatar for Duki

Hey guys, is there something special I need to do to access the RS232 port in Linux from C#?

Member Avatar for LizR
0
80
Member Avatar for octavia

Hi all, As i'm new to VB 6.0, anyone could help me to find out this issue? how to change the color of text which is in textbox? thanks in advance :cool:

Member Avatar for debasisdas
0
166
Member Avatar for saat

I want to the format of Dt Picker with link microsoft access. I write in format property dd/mm/yyyy. and the month is show, but this didn't link access . why?. any body help me to how the format link of Dt Picker with access. This project is important for me....... …

Member Avatar for debasisdas
0
79
Member Avatar for TheNational22

I have a software that use command line arguments to create files. You go to the directory, type posidbfw /alt 1 1, it creates the files. I want to call this from one line. I was using subprocess.Popen, but it doesn't see the arguements, any help?

Member Avatar for sneekula
0
157
Member Avatar for JackDurden

Im trying to find out if something is in this linked list function and if it is to return true and if not return false. How do you find out if ThingType thing is in the list? [CODE]bool Thelist::Search(ThingType thing) const { Node* current; current=listPtr; while(current->thing != listPtr->thing) { } …

Member Avatar for Narue
0
75
Member Avatar for balakrishnan.kb

hi how to convert timestamps to date in oracle, and please give me example sql statements help me thanks bala

Member Avatar for debasisdas
0
111
Member Avatar for TheNational22

Trying to create a zip file with yesterdays date. I think I got everything, but I am getting module has no object attrib error. Any ideas? [code] import os import zipfile import datetime today = datetime.date.today() yesterday = (today + datetime.timedelta(days=-1)) file = zipfile.Zipfile("CT" + yesterday.strftime('%m%d%y') +".zip", "w") files = …

Member Avatar for sneekula
0
129
Member Avatar for nizbit

I need major help. My program will compile but when I run it I get a segmentation fault. I don't know how to run a debugger with multiple files. Could someone please find when this error occurs? My project is due in 2 hours.

Member Avatar for Insomniac119
0
162
Member Avatar for tones1986

Hey All - i am currently working on an assignment for a computer science programming class. I have to find and print all the prime numbers from 2 to N (N being a number read in from file). I have some code but i do can not get my mind …

Member Avatar for skatamatic
0
430
Member Avatar for sonya795

Hello everyone, I need some assistance in finding an error in my Delphi code. (I am new to the Delphi programming). I am using a Delphi application to build an excel spreadsheet. When a part_number is entered for the first time(assuming it exists in db) application always runs , the …

Member Avatar for sonya795
0
211
Member Avatar for preet4fun

here is the assignment . To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number more meaningful, companies might use more than …

Member Avatar for Salem
0
208
Member Avatar for blackryu21

I need an array listing the index number for a list of n elements and when I sort it in descending order, I need that same number to be with the element. Here's the code I have so far: [code] #include <iostream> using namespace std; int Partition(int low,int high,int arr[]); …

Member Avatar for ArkM
0
503
Member Avatar for mtrepanier

Hello. I am Marc Trepanier. I came to this site looking for random generators. I have a unique job and a need for a generator that can cover nationality, clan affiliation, basic combat skills, and various other variables. Is there anyone here willing to help in this? Thank you.

Member Avatar for mtrepanier
0
74
Member Avatar for drsmith

I am using the following refresh script. It works great in IE but not in FF. Does anyone know how I can make this work in FF? Is it a setting in the browser or the actual code? Thanks DS [code] <script> <!-- /* Auto Refresh Page with Time script …

Member Avatar for drsmith
0
161
Member Avatar for Alex Edwards

I had a hard time understanding the concept of memory in a computer, but something my Instructor told me gave me some hope. He mentioned that memory isn't really created upon invocation of "new" in C++, and stated also that memory isn't really removed upon the invocation of "delete." I …

Member Avatar for skatamatic
0
169
Member Avatar for Maverick2608

Code: [<?php Mail(“info@dating-advice-for-women.com”, “This is the message subject”, “This is the message body”); ?>] Error message: "Parse error: syntax error, unexpected '@' in /home/dating8/public_html/newland/messagesent.php on line 2" The server is SMTP email-enabled and the folder on the server has permission to send SMTPmail messages. The hosting company reply: "Please ensure …

Member Avatar for R0bb0b
0
119
Member Avatar for thane33

im sorry but i need help in plotting this graph on python, been doing it for the past 6hrs and i cannot generate the graph, would really really appreciate some help in it. [code=python] n=range(1,201,1) L=0.016 data=[] aetemplist=[] dxlist=[] ot=[] nlist=[] for i in n: etemp = finTempNum(i) ot.append(etemp) dx=L/i …

Member Avatar for sneekula
0
141
Member Avatar for r00ster

Hey guys, this is my first post and I would like to say thank you to all of you guys out there that are doing such a great job with helping out on this forum. Anyway, lets get to the question. Why, in the code below, does the char values …

Member Avatar for ArkM
0
97
Member Avatar for bettina702

Hi everyone, I am trying to make a login form for my site. I am using the About.com code as a template of sorts. You can find that here: [URL="http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm[/URL] I have since changed this code to make it easier for my clients to log in. I want them to …

Member Avatar for bettina702
0
93
Member Avatar for msi_333

Hi all , what i want to do is to resample my large image into smaller resolution image and save it on the server, but the output image is corrupted when i open it in windows image viewer :(:( please help me , here is the code . [CODE=php] // …

Member Avatar for msi_333
0
674
Member Avatar for spinnaret

I need to write a stored procedure to analyse appointments for the last 12 months. I need to get each salesperson (by ID) and for each person carry out a count of the number of appointments and count them by outcome (sale, second meeting , failure etc.) and then display …

Member Avatar for spinnaret
0
90
Member Avatar for pletch99

I'm having trouble validating my form for missing information. Tried many different functions but when submit the form it will reset the form or it will try to send it. I'm lost any help please. Thanks in advance [code=syntax] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" …

Member Avatar for essential
0
347
Member Avatar for windell747

Hi, I'm working on a program that models the trajectory of a baseball with drag. The program compiles okay and links okay. However, during runtime I get a segmentation fault. I remember when I was learning how to program in C several years ago that segmentation faults occur a lot …

Member Avatar for aconstantin
0
255
Member Avatar for laghaterohan

i have taken a masked text box for entering dob however i need to validate it...ie suppose if a user enters a date more than the current date it should give an error. i tried using system.datetime fun however i get error as it is a part of system and …

Member Avatar for laghaterohan
0
1K
Member Avatar for gracc

Hi guys, I've written a couple of program modules ,one main program that imports the other. The problem is when I run the imported module it's fine but on exiting it closes my main program with it. Both modules work ok otherwise, also I can run them individually as well. …

Member Avatar for gracc
0
84
Member Avatar for mruane

I have decided that a text adventure would be better for me to learn from, as a visual game is confusing to me still. So, I was reading Chris O'leary's post about his text adventure game, Advent House, and got many ideas from there. I want to perfect his battle …

Member Avatar for Gribouillis
0
189
Member Avatar for clueless101

[quote]Can anyone help pinpoint why my script won't work? Objective: user enters starting & ending miles along with gallons used to calculate mpg. Onchange events for first 3 input boxes call the calcMPG function. Thx in advance! [/quote] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for clueless101
0
101
Member Avatar for Simplicity

Hi guys, I'm new to this forum and this is my first post :cheesy: I need help in modifying a "Snake game" program.. What I need to do is **modify the program so that when it starts (i.e. the AVR microcontroller is reset) it displays a message giving the name …

Member Avatar for waxx
0
241
Member Avatar for mangel.murti

hi all new to tomcat.. i installed tomcat on c:/tomcat 5.0.28 and c:\j2sdk1.4.1_07. i run my hello world servlet ,did all stuff making diretories,web.xml for running a servlet .it execute on my system. i search for this in google,but i don't understand !!!! but if my servlets are using or …

Member Avatar for stephen84s
0
158
Member Avatar for liquoriser21

Hi everyone! How do I make a textBox control to validate a tel nr field? For instance When the user enters 0127748222, It should be displayed as (012) 774-8222 in the textbox. I need this to be done this way since this is the way i'll be storing the fields …

Member Avatar for liquoriser21
0
192
Member Avatar for Clockowl

Is it possible to read a whole file at once with text files, or can I only use fgets and is that the most data I can fetch at any time? (fread() doesn't work on text files, I've experienced and then been told ;-)). Thanks in advance, PS: And suppose …

Member Avatar for WaltP
0
450
Member Avatar for emilio

i have a problem with a simple program. my program has a label. i tryed to add event handlers for both mouse down event and mouse double click event. it seems that when these two handlers are defined, only the mouse down event is responding. the double click event simply …

Member Avatar for Renukavani
0
134
Member Avatar for NinjaLink

I can get everything to run perfectly, it is just when I print out the final grade, it will just give me a blank for it. Maybe I'm doing something wrong in my finalgrade function, but i don't know....I need help! [CODE=Cplusplus] #include <iostream> #include <iomanip> using namespace std; const …

Member Avatar for NinjaLink
0
166
Member Avatar for MadAxel

I have 2 tables: [B][U]IDM_IDEA_USERS[/U] USER_ID PASSWORD SAP_ID[/B] [B][U]IDM_IDEA_AUTHORIZED_USERS[/U] SAP_ID[/B] I need to retrieve information from table [B]IDM_IDEA_USERS [/B]column name [B]USER_ID [/B]and [B]PASSWORD[/B]. I also need to verify that only [B]SAP_ID[/B] from [B]IDM_IDEA_USERS [/B]table is the same as [B]SAP_ID [/B]from [B]IDM_IDEA_AUTHORIZED_USERS[/B]. Only the users from [B]IDM_IDEA_AUTHORIZED_USERS[/B] can login. This are …

Member Avatar for MadAxel
0
77
Member Avatar for Diamonddrake

I have written a text editor that sorts lines, I plan to use it with some large files. say about a million lines, ranging between 10 and 75 MB. I am currently testing my app using about a 50mb file with about 900,000 lines. the program adds all the lines …

Member Avatar for LizR
0
363
Member Avatar for Sharkiness

Hi, I want to create a message box that will pop up when someone clicks the close button. Basically just to confirm that they want to exit the database with yess, no buttons. Can anyone give me the code. Cheers

Member Avatar for selvaganapathy
0
83
Member Avatar for rrreeefff

I am trying to write a recursive function that compute a to the n. here is as far as I have gotten as far as code [code=c] #include "stdafx.h" #include "stdio.h" int power (int n); // function prototype// main() { float a; int n; printf("\n enter values of a an …

Member Avatar for rrreeefff
0
155
Member Avatar for Gerbilkit

I am mostly done working on the homework assignment for my class, it requires that I complete an employee directory system that takes a user input value and compare it to 3 values employeeName, employeeID, and phoneNumber. The system must work in such a way that if the search is …

Member Avatar for Gerbilkit
0
128
Member Avatar for Clipper34

Hey guys, Well i've been wondering something. How would you go about doing something like say if 'a' or 'A' is pressed do something for example move a file. Thanks, Clipper34.

Member Avatar for Duoas
0
127
Member Avatar for monkey_king

I wan't use the multimap on my own templated class. The following is a working example with a builtin type. [CODE=c++] int dat[5] = {0,6,3,7,3}; typedef std::multimap< int, int > asso; asso dict; for (int i=0;i<5;i++){ dict.insert(make_pair(dat[i],i)); } asso::iterator pos; for(pos=dict.begin(); pos!=dict.end() ;pos++) cout << pos->first <<" next "<< pos->second …

Member Avatar for monkey_king
0
188
Member Avatar for BINDERJ2

Write a program that asks for the name of a pole vaulter and the dates and vault height (in meters) of the athlete's three best vaults. It should then report in order of the hieght (best first), the date on which each vault was made and its height. Input Validation: …

Member Avatar for Ancient Dragon
0
304
Member Avatar for Zeraskurinos

I use winsock a lot in my programs and it is very good but I can't achieve a connection when one of the users is behind an adsl router. What should I do in order to make the connection? I tryied port forwarding but the problem remains. The applications I …

Member Avatar for Zeraskurinos
0
64
Member Avatar for TheNational22

Wrote this script to send a zip file that gets created every day and sent to a FTP server. In line 16, getting a windows 183 error cannot create file that already exists. I am using os.rename, and it works if I run it stand alone. Any ideas? [code=python] import …

Member Avatar for woooee
0
91
Member Avatar for qwerty_ytrewq

consider my input file has the following data date type of transaction amount 1 w 100 2 d 230 3 d 550 4 w 430 5 d 1100 6 d 400 so i need to sort the amount in ascending order.So when i sort the amount,the corresponding date and transaction …

Member Avatar for Ezzaral
0
127
Member Avatar for onemanclapping

hi, I'm a Computer Engineering student from Portugal in the 2Âșterm. Last class' job was for us to use class and sub-class systems, creating a info system for vehicle types. I thought I was finished, but when I did the main file, the compiler shouted loads of errors that didn't …

Member Avatar for onemanclapping
0
189
Member Avatar for gangsta1903

hello,I would like to create a class for basic file operations-just reading and writing a line.There seems no error in my program but it doesn't output anything.I think there is a problem with the functions for reading and writing.Please help... [code=C++] #ifndef HANDLER_H_ #define HANDLER_H_ #include <iostream> #include <fstream> #include …

Member Avatar for gangsta1903
0
141
Member Avatar for tb808kid

This problem has been driving me crazy, I just can't seem to find anything in the Python docs. I've been working on a script, It connects to a remote server and downloads multiple RAR files as a "job", it then extracts them to the correct place. It works, but I …

Member Avatar for tb808kid
0
131
Member Avatar for jees

Hi, I am a webdesigner and don know much about php coz, my main stream is html and css. I used to use asp feedback forms for my websites. But my new website server is unix based. I think asp feedback forms are not supported in unix. Please tell me …

Member Avatar for R0bb0b
0
90
Member Avatar for Hacker_517

I have a problem with bulding a program to store a family record, this record consits of : name, birthday, married? and number of child. What is the best way to store this record??? Could you give me some example about some task on this structure : Input name and …

Member Avatar for Clockowl
0
109

The End.