199,114 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
Hi I need an example of how threads are coded and implemented in Dev-C++, any help would be greatly appreciated. :) | |
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] … | |
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 | |
![]() | 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 … |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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. | |
[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 … | |
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 … | |
| |
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)? | |
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... … | |
need help on adding a photo to a form and connect it to a database.thanx | |
Hello, can someone tell me how I can use the atexit() function with class members? | |
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 … | |
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 … | |
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 … | |
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 * … | |
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 … | |
> 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 … | |
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 … | |
Hi, I would like to write High perfomance server using C#. It would be desirable to hear offers and advices on this subject | |
i want to create a program about record keeping system.. please do help me!! thanks everyone.. by the way I'm using VB.NET (^^) | |
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; } | |
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 … | |
hi .......... how can i simulate the barcodes without a barcode reader. | |
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 … | |
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 … | |
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 … | |
Hi, Can we inherit windows controls in a form? If yes, how to do that? Thanks. Shilp | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.. | |
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 | |
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. … | |
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 | |
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 … | |
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! | |
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 … | |
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. … | |
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 … | |
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: … |
The End.