199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ohgosh

Hi there, i got a question on asp recordset.. i got a page whereby i will display records from a particular table. first i will go & do a select sql command to retrieve records from database, then i check if the recordset is eof and bof then i will …

Member Avatar for wardenz
0
261
Member Avatar for muthumari

hi i am new to PHP. Currently i am using IIS for PHP .But i want Apache serevr to run PHP.is it possible? is there any servers available to work with PHP? Pls reply.. Thanks

Member Avatar for JD.ua
0
191
Member Avatar for aarya

this is the code below it output the text randamly. i am getting the output . but my problem is i have used print_r to get output so i got result as [CODE]<Array ( [0] => gello [1] => bello [2] => nello [3] => jello [4] => uello [5] …

Member Avatar for aarya
0
168
Member Avatar for hsharma65
Member Avatar for StrikeFreedom

I'm trying to make a script to return the next 5 days for example today is 2006-04-24 and it would create variables with the values of 2006-04-25, 2006-04-26, 2006-04-27, 2006-04-28, 2006-04-29. I thought and using getdate function and add +1~5 to day value but I realized it would bug after …

Member Avatar for leelee
0
163
Member Avatar for forrest

what I use is SQL SERVER 2000,the system is WINXP SP-2 I set the classpath:C:\Borland\JBuilder2005\jdk1.4\lib;.;C:\Program Files\Tomcat 5.0\common\lib;.; I use the JDBC-ODBC to connect the database,the original code is package hospital.db; import java.sql.*; import hospital.db.*; public abstract class DBConnection { private static Connection conn = null; public static Connection getConnection() { …

Member Avatar for ponloges
0
298
Member Avatar for nabil1983

Ok i got this thing to compile now perfectly no errors, when i run it the menu comes up. The problem is when i use the option in the menu it gives me an exception error?? ne one know where i went wrong on this one.... what i did was …

Member Avatar for DeepZ
0
122
Member Avatar for nabil1983

Hello Everytime i compile this i keep getting an error on non-static method can not bu passed to static method, i understand that. But how can i get around this, without making the non-static method static , because it has variable relating to otha methods ... i also keep getting …

Member Avatar for DeepZ
0
225
Member Avatar for purplegerbil

Hi, I have a toolbar on an MDI form, this works fine. I am trying to add a Buttonmenu to one of the buttons on the toolbar to add extra options. This is the problem, I cannot get it to work. Any ideas? pG

Member Avatar for purplegerbil
0
168
Member Avatar for TERRORISTsam

hi probably a noob qustion but this is my first attempt at shell scripting. im trying to open a file in a new window that the user types the name of during the run time of the script. i have tryed several different ways of doing this including. read >> …

Member Avatar for masijade
0
95
Member Avatar for swapnamishra

How can we execute the commands on one file in a such a way that the results will get saved in another file? Do we have any such built in method which we can use?

Member Avatar for pythonguy
0
122
Member Avatar for pythonguy

I am using automnation desk to run my python scripts. It supports interpreter ver 2.2 I have some script common for almost all other script files of my application. this common script is saved as CommonCalls.py and is on python search path. I am using some ref. to a file …

Member Avatar for pythonguy
0
139
Member Avatar for amarie

For the descending sort, it only moves the highest number to the correct spot and leaves the other numbers in ascending order. Can anyone tell me what I am doing wrong? [code]#include<iostream.h> #include<cmath> void sortit(int x[], int n) { int temp,i,j; for ( i=0;i<n;i++ ) for ( j=i;j<n;j++ ) if …

Member Avatar for Ancient Dragon
0
175
Member Avatar for Dark_Omen

Okay I am new to PHP, well getting it to run. The programming part is fine, it is very similar to python, ruby, etc... so no trouble there. So here is my problem. I made a class, and all it has is a function that writes test to the browser …

Member Avatar for tgreer
0
317
Member Avatar for janeane_tho12n

can anyone help me w/ this one? code: [CODE] dim msg as boolean msg = msgbox ("Save this one?", vbyesno) if msg = true then 'code goes here else 'code goes here end if [/CODE] when i run this one my code jumps to [U]else[/U] though i choose yes to …

Member Avatar for janeane_tho12n
0
634
Member Avatar for crippz

hi i've just started learning PHP. i have downloaded phptriad 4.1 so that i can use php without uploading it to server. For my feedback html file, i put: <html> <head> <title>TAEKWONDO WEBSITE - Membership Form</title> </head> <body> <font face="arial" size="4"> <p align="center"><big>Membership Form</big></p> Please Fill In Your Details And …

Member Avatar for Banderson
0
127
Member Avatar for Sonic_2006

GUys am having a hard time deciding majors. Iam interested in both Computer Science and Applied math but cant decide . by the way heres the applied math program at my school so check it out to see if it is good --> [url]http://w3.fiu.edu/math/html/urmath.htm[/url] I just want to know if …

Member Avatar for Sonic_2006
0
200
Member Avatar for iamthwee

Ok, I've been looking through some of the older threads and noticed some bad things regarding vectors. So what's the deal. Are they worth using in java or should I avoid them like the plague? And if I should, what should I be using instead? The same questions applies to …

Member Avatar for aniseed
0
249
Member Avatar for tyczj

im trying to make a blackjack game using stacks and lists and i am having a problem with my lists, its not being created and i dont know y? the list is a list of cards for the players and the stack is the deck of cards. [CODE]#include <stack> #include …

Member Avatar for tyczj
0
172
Member Avatar for Acidburn

Hello guys i keep getting a [quote] Unhandled exception at 0x7c177ac0 (mfc71d.dll) in LSMUtility.exe: 0xC0000005: Access violation reading location 0xcdcdcdbd. [/quote] However according to MSDN the code is right: [code] void CTemp::OnDelete() { // TODO: Add your control notification handler code here CLSMUtilityDlg *main_dlg = (CLSMUtilityDlg *) GetParent(); if(pos != …

Member Avatar for Acidburn
0
561
Member Avatar for Texpert

Hi, can someone help me to code this ? I have a dynamic datagrid and I want to insert only one column from selected [checkbox] rows in the datagrid into a SQL-Server table. I've a working code where I call Add_to_DB function within the loop of Datagrid items, which works, …

0
295
Member Avatar for Avner .H.

hello everybody, I've started to learn pyGTK and glade for a program i'm doing, and i've run into some problems: 1. Is there no way to change the size of a specific text when using glade? for example, a window title, a label text etc. 2. In the Gnome widgets, …

Member Avatar for JoeM
0
180
Member Avatar for schmintan

i want to begin to write apps for a PDA. it would give me an incentive to learn C. i have expirience in C# and visual basic, but i want to get to know C. would i be better to write programs for a windows based pda, or for a …

Member Avatar for Salem
0
177
Member Avatar for jlouang

can someone help me i can't seem to find my temperature problem [CODE] /**************************** * functions *****************************/ float c2F(float); float f2C(float); /**************************** * gloabal variables *****************************/ int main () { float inTemp; float newTemp; char inCode; cout << "please enter the code (a 'C' of 'F'): "; cin >> inCode; …

Member Avatar for jlouang
0
112
Member Avatar for Lomas

hi everybody, this is the small c++ program for selection sort using functions. [CODE] #include <iostream> using namespace std; void selectionSort(int numbers[], int array_size); int main () { int number[4]= {20, 10, 40, 30}; selectionSort(number,4); for (int i=0;i<4;i++){ cout<<number[i]<<endl; } system("Pause"); return 0; } void selectionSort(int numbers[], int array_size) { …

Member Avatar for Lerner
0
161
Member Avatar for jack11b

hi im having problems with a doubly linked list. im trying to initialise three names into the list and print them straight off using the list and pointers but cant figure out how. heres what i have already if it could be modified i would greatly appreciate. also please keep …

Member Avatar for Bench
0
177
Member Avatar for Dani

I'm confused between LEFT JOIN and INNER JOIN - the differences and when it's appropriate to use one over the other. I tried to wrap my mind around it but it seems to me that INNER JOIN statements can always be rewritten as LEFT JOINs?

Member Avatar for campkev
0
192
Member Avatar for sravankolla

[COLOR="Red"] Hi all :) In the login page created in ASP.Net I want the passwords to be encrypted at the time of User Registration .... My aim is that the DBA even don't know the password that had entered by the User.... (It shud be in Encrypted Form while placing …

Member Avatar for tgreer
0
149
Member Avatar for abee

hi all ,... iam making a simple disk editor , and i need a methode that convert from ascii to Hex representation thank u all

Member Avatar for abee
0
191
Member Avatar for Smooth_411_2000

How do i use a preset password on my visual basic program that will check first the username and and then the password and make sure that if username is this then the password should be that...

Member Avatar for Sinha's
0
109
Member Avatar for Mishac

can any one help me with the code for the pop & push methods in the class that implement a Stack with two Queues

Member Avatar for aniseed
0
115
Member Avatar for SiliconSpec

My friend has challenged me to create a simple c++ program. I have had the last 3 weeks to work on it, half way through I have realised I am doing it wrong. The program is: Entering 10 random numbers into an array( the easy part ), then printing the …

Member Avatar for ghadahelal
0
307
Member Avatar for Zxenobia0

I need help working on my Java project. Any amount is welcome. The project needs to prompt the user for a file input (txt), file output, and five words to search through the input file. Each input needs to be equipped with try and catch code to prevent crashing. The …

Member Avatar for Phaelax
0
150
Member Avatar for Phaelax

After a form is completed its submitted to another page to process the form. Once that's done, it forwards back to where visitor was. I want to display a message to the visitor first before moving to the next page, so how can I delay the page forwarding?

Member Avatar for paradox814
0
214
Member Avatar for Stoney

Ok so I have a program to read three exam scores from 6 students. I have to make the program average the 3 exam scores for each student and then have an average for each invidual exam. Then have a total average for every score there. Blah I can't get …

Member Avatar for Stoney
0
208
Member Avatar for totalnewb++

I have to create a 20 x 20 array (turtle program), I am sure you guys get these alot.. I have been working on this for way too long and I am not getting it.. I have read the chapter again and still am lost.. here is the code I …

Member Avatar for dwks
0
146
Member Avatar for mperkins07

Can you help me wlth the following work?: This sample program shows how to print the current month, now using the "Calendar" object (instead of the Date object which has been deprecated, meaning it has been slated for removal from the language). [code]// Program prints the current month import java.util.Calendar; …

Member Avatar for Phaelax
0
152
Member Avatar for G.Host

Hello to all of you. My name is Greg. I am currently running Mac OS X ( my homeschooling computer). Anyways, I'm having trouble downloading Python to my Mac. Every python file I've downloaded and decompressed with StuffIt Expander, just seems to be nothing but files that I don't know …

Member Avatar for G.Host
0
158
Member Avatar for steve65

Hi all! I have been having the hardest time trying to get memory to release from an application I am developing. I know I could have written the code below without the classes but I wanted to makes sure that I understood how to pass references and not values in …

Member Avatar for alc6379
0
170
Member Avatar for sunny82

Hi, I am getting 3 similar types of errors.its saying illegal start of expression in public void makedeposit<int deposit>,public void makewithdraw<int withdraw> and public void showbalance<int a, int balance>{} plz help. here is my code--- [code]public class bank { bank b; public class output{ public output outputobject=new output(); } public …

Member Avatar for sunny82
0
197
Member Avatar for JoeM

Hello!! I'm really new to python and pygtk and Glade, I'm sorry I'm still on the dark side using Windows 2000 :-( What I'm trying to do is a simple Testing Program Simulator, that means that I will press a button and then I'm supposed to show a cross or …

Member Avatar for vegaseat
0
305
Member Avatar for nabil1983

hello. Im having problems trying to get my jframe gui to work correctly i got the window all done fine but when i tell it to display somethis in the code , it comes up with errors when compiled. Can someone please tell me where im going wrong .. apreciate …

Member Avatar for DeepZ
0
187
Member Avatar for K.Duncan

I'm working on a fairly basic program and can not seem to get it to work. I've checked my spelling and all that; the only thing I can think of is my main isn't able to find my class file. Here's the error message: ComplexDemo.java:10: cannot find symbol symbol : …

Member Avatar for DeepZ
0
168
Member Avatar for monisola
Member Avatar for I, Brian

Hi there - I need to redirect a site built in .php to a site built in .asp Trouble is, that's simply going to create lots of 404's which aren't going to help anyone. I'd like to be able to provide 404 headers and redirect to a specific page. How …

Member Avatar for I, Brian
0
151
Member Avatar for Kanryue

The part in bold is the part I need help with. I'm using VB 2003 and That line is VB6 code. The Right and Left functions don't apply to VB2003 and I need to know what I can replace that with to get the same result. Here I'm trying to …

Member Avatar for waynespangler
0
126
Member Avatar for janito2008

May 2, 2006 Hi! I am trying to write a program that uses a structure to store the following weather data for a particular month: Total Rainfall High Temperature Low Temperature Average Temperature The program should have an array of 12 structures to hold weather data for an entire year. …

Member Avatar for Bench
0
509
Member Avatar for musicmancanora4

Sorry for posting again guys but i have fixed up teh string copies to copy the data into each struct variable. But still when i traverse through the linked list it does not print out anything after it reads the file. For some reason it may not be copying at …

Member Avatar for Lerner
0
167
Member Avatar for derangedone

For my C++ programming course, the prof wants us to do an order queuing program, however he hasn't taught queues and stacks yet. Is there a way I could use arrays (with dynamic memory allocation) to act as a queue? This is the code I have so far, but I …

Member Avatar for Lerner
0
207
Member Avatar for damiokuneye

Hi guys, i want to create a database application to reside on a cd. My challenge is what application should I use to develop the front end. The client wil prefer if it is auto-run and not requiring installation which I'm not sure is possible. Someone said the options are …

Member Avatar for damiokuneye
0
526

The End.