199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aran87

hello ive used disabled="true" but this disables text from been inserted into a database i need a function which does'nt allow data to be entered into a textbox but still passes information to next page or a database what could i use?? thanks

Member Avatar for phper
0
76
Member Avatar for natd

I am having trouble reversing the words in a sentence. For example "a line of text" should be printed "text of line a". So far I can only print the last word, it is probably obvious but at the minute i just can't see how to do it. Any help …

Member Avatar for natd
0
812
Member Avatar for CodeBoy101

Hi I need an example of how threads are coded and implemented in Dev-C++, any help would be greatly appreciated. :)

Member Avatar for CodeBoy101
0
189
Member Avatar for Black Magic

Hey, I was just mucking around when using rand() and noticed every time it comes out as a output of 41? [CODE=C++]#include <iostream> using namespace std; int main() { unsigned int randomNumber; unsigned int guess; unsigned int guesses; randomNumber = rand(); cout << randomNumber << endl; system("PAUSE > nul"); }[/CODE] …

Member Avatar for Narue
0
138
Member Avatar for woseng

I am trying to create an alert in Vb.6 code that tells the user to make purchase since he has riched limit of the product

Member Avatar for steve585
0
68
Member Avatar for bschmitt78

Hello, I need to provide 2 overloaded constructors, each one displaying a date in a different format. Below is my class implementations, header file and main() function code snippets. The code is followed by the compilation error I get. I have tried a number of things, mainly changing the order …

Member Avatar for Ancient Dragon
0
198
Member Avatar for ar31an

Write a program that determines the day number (1 to 366) in a year for a date that is provided as input in the format dd-mm-yyyy. As an example, 01-01-2000 is day 1. 31-12-2001 is day 365. 31-12-2000 is day 366 because 2000 is the leap year. A year is …

Member Avatar for hammerhead
0
107
Member Avatar for demroth

I am currently working on a project in which I need real-world datasets to use with the Bellman-Ford algorithm. I would like directed or undirected graphs related to routing to use but havent been able to find any. Does anyone know where I could find such materials?

0
63
Member Avatar for jayverene

HI I am new to .py and I am having a bit of trouble making the rooms and items do what I want any help will be much appreciated. : ) [code=python] print """ TIBBYS LITTLE ADVENTURE EPISODE ONE Tibby the cat wakes up and is hungry, he decides to …

Member Avatar for jayverene
0
86
Member Avatar for hunkychop

what i want to do is this: [CODE] function foo(param1, param 2){ [INDENT]this.bar=function(){ [INDENT]this.intervalID=setInterval(this.fbar,5000);[/INDENT] } this.fbar=function(){ [INDENT]//(do stuff with the properties of "this" alert(this.intervalID);[/INDENT] } [/INDENT] }[/CODE] but setInterval will not carry over the properties of "this". when this happens: [CODE] var apple=new foo(5,27); apple.bar(); [/CODE] i need apple.fbar(); to …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for Yogesh Sharma

steps i Follow- 1) Go to Control panel-->Admintrative Tools-->Double -click Data sources(ODBC)-->click Add button-->I choose SQL server(last option), Is it right or wrong option for connecting to SQL 2000.Then a new screen appears Create a New dataSource-->in name textbox,we can write anyname--Right or wrong. suppose i enter sonia, & my …

Member Avatar for choudhuryshouvi
0
986
Member Avatar for Kaushalya

Hi all, i'm getting following error messege when i use switch(temp.month) { //work fine with case 8: case 08: amonth=temp.day/30; temp.day%=30; temp.month+=amonth; break; default:break; } error:illegal digit '8' for base '8'. I can't understand why it is.could someone help me out asap.

Member Avatar for vmanes
0
86
Member Avatar for Mark515

[code=cplusplus] #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; static const int password=1705898; int main; { int secondnumber; while(true) cout>>("Enter Password") cin<<(secondnumber) if(password = Enter Password) cout<<"Welcome Lukus"; else cout<<"Password Rejected"; system ("PAUSE") return 0; } [/code] i am getting the error C2447: '{' : missing function header (old-style …

Member Avatar for Ancient Dragon
0
236
Member Avatar for wrichardson530

Hi all. I'm having difficulty making a log-in screen. i am using an adoc contorl called adoClerk, which contains only two fields and ClerkId and Password. The ClerkId is a autonum and password is text. I Have two text boxes that need to be read from this screen txtClerId and …

Member Avatar for choudhuryshouvi
0
212
Member Avatar for emilio
Member Avatar for emilio
0
84
Member Avatar for Nemoticchigga

Does anybody know where I can get some basic source code on the creation and use of threads (I know about threads, just never coded them, and reading up on them, some of the inputs into CreateThread are confusing)?

Member Avatar for Nemoticchigga
0
106
Member Avatar for D boss

hi guys, i am working on applets, below is a bit of coding i am working on, it compiles with out any problem, but when i run it i get an error msg saying: `"Exception thread "main" java.lang.NoSuchMethodError: main"` if any one can advice it will be appreciated a lot... …

Member Avatar for D boss
0
87
Member Avatar for muguus
Member Avatar for Jx_Man
0
80
Member Avatar for Chiciuc_Maxim
Member Avatar for vijayan121
0
984
Member Avatar for Merumi

Hey guys I hope you can help me with this problem, its like a minor problem. ----PROBLEM----- I don't know how to generate the secret code... meaning if the input was: { c.println (generateCipherAlphabet ("COMPUTER SCIENCE)); } Above only outputs "COMPUTERSINQVWXYZABDFGHJKL" which is the cipher alphabet only I want it …

Member Avatar for darkagn
0
124
Member Avatar for cmhampton

I have a data layer class built with the dataset designer that I have added as a reference (compiled dll) in a project. When I run the app locally from Visual Studio, it runs just fine. However when I move it to the hosted server, I get "Type 'H2C2DataLayer.h2c2DataSet.topicsDataTable' is …

Member Avatar for cmhampton
0
133
Member Avatar for Scott Marchione

Hello all, I have a VB Script that creates a phone list for my company, and I have been asked to alphabetize the names listed under the department headings....I am so new to VB that this is the first time I have used it.....ever I've done a great deal of …

Member Avatar for Scott Marchione
0
155
Member Avatar for knewc

Just some challenge code for ya, and some help for me on my independent study of C++ code a program that checks whether a string is a pseudo-palindrome.(a sentance that is spelled the same backwards/forwards. first code the following functions: char * remove_punct(char * str, char * remstr); char * …

Member Avatar for ithelp
0
162
Member Avatar for Black Magic

Hi, I've been reading "C++ In 21 Days", I read functions a while back and decided to write some, i wrote the code and it gave me a error, so i copied and pasted code from the book and still got a error, you must see from my point of …

Member Avatar for Black Magic
0
251
Member Avatar for amhadi

> Write a program that defines a class to keep track of student grades.The information the student class includes are the student’s first name, last name, a six-digit ID number, and a struct marks the struct marks contains five programming assignment scores, a midterm score, a final exam score, and …

Member Avatar for ithelp
0
145
Member Avatar for cyberman111

HELLO i HAVE A SCRIPT THAT TAKES INFORMATION FROM 2 FILES AND PUT IT IN ONE, NOW I NEED TO PUT ALL THE INFORMATION(OUTPUT) INTO A NEW FILE , THIS IS HAS TO BE DONE IN THE ORIGINAL SCRIPT NOT COMMAND LINE, CAN ANYONE TELL ME HOW TO DO THIS …

Member Avatar for ithelp
0
117
Member Avatar for John83

Hi, I would like to write High perfomance server using C#. It would be desirable to hear offers and advices on this subject

Member Avatar for Renegade83
0
113
Member Avatar for tristanmaturan

i want to create a program about record keeping system.. please do help me!! thanks everyone.. by the way I'm using VB.NET (^^)

Member Avatar for jbennet
0
47
Member Avatar for Adrian99420

Hi, I created 2 window form using visual C++, I am trying to display the string typed by user in second window form's textbox. Here is what i wrote, but the code is not working: Form1.h private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { tabPage1->Text=Form2().textBox1->Text; }

Member Avatar for mitrmkar
0
100
Member Avatar for Andy130

Hi everyone. i have a problem that's killing me here. (as everybody else...) this is friggin rediculouse though and i really need to understand what's up. i have a project due tomorow, and i got basically nopthing to turn in because it does not actually run... the problem is i …

Member Avatar for mitrmkar
0
122
Member Avatar for DARKSTAR
Member Avatar for jasimp
0
557
Member Avatar for G-Do

Hi all, I add a pygame implementation of the Game of Life to the Code Snippets section. I was actually kind of surprised that we didn't already have one in there! The program only has about 60 lines of code, but I buttressed that with a lot of comments and …

Member Avatar for nish88
0
117
Member Avatar for Noliving

I basically have the entire program done except for one little problem my maxDepth output is wrong! But the rest of the assignment is after your program gets the correct answers, add static variables calls, depth, and maxDepth to your class and add code to your implementation of Z to …

Member Avatar for Noliving
0
86
Member Avatar for Acidburn

Hey guys, I've got a class defined has the following: [code] class TData(object) : #Overriden constructor def __init__(self, oc, via ): self.oc = oc self.via = via [/code] now in a separate file I'm trying it iterate through that using recursion. [code] def search(critia, searchSpace, value) : print "Calling search …

Member Avatar for Acidburn
0
257
Member Avatar for shilp
Member Avatar for shilp
0
101
Member Avatar for alexhkleung

i want to frd the[COLOR="Green"][B] MainControl[/B][/COLOR] with the derived class [COLOR="Green"][B]food [/B][/COLOR] [B][COLOR="Green"] objects.h (abstract base)[/COLOR][/B] [CODE=C++] #include "maincontrol.h" class objects {...}; [/CODE] [B] [COLOR="Green"]food.h (derived)[/COLOR][/B] [CODE=c++] #include "objects.h" using namespace std; class food: public objects {...}; [/CODE] [COLOR="Green"][B]maincontrol.h[/B][/COLOR] [CODE=c++] class objects; class food; class MainControl { public: friend objects; …

Member Avatar for alexhkleung
0
123
Member Avatar for Trogan

Hi, I have some tables (below), but I'm having trouble entering multiple lines of data. Here are the tables I have created. [QUOTE][B][U]CUSTOMER table[/U][/B] SQL> create table customer 2 (customer_no char(6) not null, 3 name varchar2(30) not null, 4 address varchar2(50) not null, 5 credit_limit number(6,2), 6 constraint customer_customer_no_pk primary …

Member Avatar for jinternalframe
0
145
Member Avatar for Farisnet

Hi... I am a bit new to programming, and I'm trying to learn C++. I was wondering if there was a way to copy the contents of one variable into another... So that, for example: [ICODE] int x=5; int y; (Some fancy code here involving x and y); (y=5 but …

Member Avatar for dougy83
0
20K
Member Avatar for nurulshidanoni

what is the =' : left operand must be l-value means? error C2106: '=' : left operand must be l-value [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for each() using namespace std; // import "std" namespace into global …

Member Avatar for nurulshidanoni
0
437
Member Avatar for sahil_itprof

Can any onbe say me the exact difference between a pointer (*p) and the array p[]???? I mean to ask that when we pass an array to a function by reference, we can have both in the function definition, the * or we can manipulate the array too... But there …

Member Avatar for Aia
0
182
Member Avatar for pancgom

Hi, I have 2 radio buttons which needs to submit a checked value to the database and then retrieve the same when called back in to display...any idea where i can get an example for this.. thanks a lot..

Member Avatar for queenc
0
123
Member Avatar for swapna7999

hi thanks for ur suggessions now i got mysql connection with vb but i need to use the mysql Queries in this application hope i wil get solution thank u very much

Member Avatar for swapna7999
0
843
Member Avatar for 9107you

im new to java help me wit this question (you might think what the hell am i doin) question is: Using a series of methods, output the popular song "My Bonnie Lies Over the Ocean". However, instead of using "Bonnie", allow the users to enter a name of their choice. …

Member Avatar for javaAddict
0
127
Member Avatar for swapna7999

hi there thanks guys now im able to connect to the mysql database and know how to use select statement to access the the data in the database but what to do to view the data retrieved by the select statement

Member Avatar for swapna7999
0
79
Member Avatar for santoo

Hi, I am sorry if I am posting ...at wrong place.I donno where to post this. I have developed a windows service which uses a timer...to run the SQL Server for exactly 30min.If sqlserer service is stopped it starts the service and stops it after 30min and vice versa. I …

Member Avatar for santoo
0
142
Member Avatar for shadwickman

Hi, I'm using wxPython (the latest version) and was wondering how to get rid of the scrollbar on the wx.TextCtrl (multiline) object. I couldn't find anything with Google or the search on the forums. Thanks!

Member Avatar for kushyer
0
139
Member Avatar for shreka

Hello, I have been asked to create a pascal program but I am finding it really difficult because I haven't dealt with text files or binary searches before. The program is supposed to read a Student ID and then the program should display the Student's details. All of the data …

Member Avatar for another guest
0
522
Member Avatar for Jcw69

I have subscribed to a hosting acount that has jsp hosting, they use jsp 2.0 with the tomcat 5.5 server. i am using the netbeans ide to compile my jsp page etc using the tomcat server. my project uses JSF. i am battling to get it working on the site. …

Member Avatar for jwenting
0
91
Member Avatar for genji

hey guys I've been trying to connect this jsp site with MySQL database for a school assignment and I just can't seem to get it to work. It's getting really really frustrating because I have copied my friend's code(which does work on his pc) and for some odd reason it …

Member Avatar for jwenting
0
90
Member Avatar for moltenice

Assignment - [url]http://condor.depaul.edu/~ntomuro/courses/262/assign/hw2.html[/url] [code]Write a class called Loan, which simulates the money you borrow from a financial institution, and a main function (i.e., an application program) which tests the class. You write ONE file, which should be named "myLoan.cpp". 1. Class Loan The class Loan should have the following members: …

Member Avatar for Agni
0
277

The End.