199,114 Archived Topics
Remove Filter ![]() | |
This is actually part of a much bigger program, but I cut it down to the problematic area to make it easier to read. [code=java] import javax.swing.JButton; public class test{ static GameButton[] grid; static class GameButton extends JButton{ int value = 0; } public static void main(String[] args){ grid = … | |
The program is intended to read a file with a few lines of strings to determine whether or not they are palindromes. I'm getting an error while compiling - tagged where the error shows up. I'm not sure whether or not it is going to read the lines correctly from … | |
Hi, I have one window application which accesing database continously on different server. After performing operation on some number of records, it alway throws an exception (application and databse on different server) : Exception : A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: … | |
Hi All Do you know what is this algorithm is? Can i find some code examples written in this algorithm? Thanks | |
Hi Friends I am using a datagridview, there are four columns in that, & on fourth cell i have a button field, when i click on that i want to get the text of item(0) of selected row. please help me to solve this | |
For this one I have to do the while and do-while plus the for loop. I have this bank/atm style program so the goal is to put the teller into a loop so that the user can deposit, withdraw, check the balance as long as they need to, and entering … | |
I accidently inserted a lot of my data wrong in mysql. Its something like this 32-Bit versions • Windows Vista • Windows XP • Windows Me • Windows 2000 • Windows 98 • Windows NT 4.0 • Windows 95 • Windows NT 3.5 64-Bit Versions • Windows Vista x64 • … | |
How do I subtract or add in a lists? When I run the program below I get the message print int(pool-strength) TypeError: unsupported operand type(s) for -: 'list' and 'int' [code=python] # Character Development Dungeons and Dragons # pool are the total points that I can use. pool = [30] … | |
First of all, let me just say that, this is the 1st time I have ever programmed in C, so please be gentle :S (although it shouldn't be that bad). With regards to the program, I have been set a scenario to create a sales system where the user enters … | |
I am trying to overload << for a class complex. The code is: INTERFACE: [code=cplusplus] class complex { friend ostream& operator<<(ostream& output, const complex& V); private: double REAL; double IMG; public: complex(); ~complex(); }; [/code] IMPLEMENTATION of <<: [code=cplusplus] ostream& operator<<(ostream& output, const complex& V) { output<<"("<<V.REAL<< "," << V.IMG<<")"; … | |
hey folks, I have a question. I have several mysql tables and I'd like to fetch data from a few of them to create a <select> <option> list. How could this be done. I can get the info from one table, but don't know how to get the data from … | |
I am teaching myself pseudo code and I'd like ask for help to clear up my mind so I can understand the syntax and semantics a bit better. Would appreciate any help. (8 people must decide on one F*!) I am trying understand [B]var int F1=0;[/B] in the sample below … | |
Most of the asp.net shared web hosting didn't support msdtc ( Microsoft Distributed Transaction Coordinator ) , when using Thebeerhouse starter kit , you would encounter error when click submit now ( go paypal section ) & in admin list of user and order also result in error. because this … | |
Happy Hoildays! Does anyone know of an Integreated Development Environment for creating ASPX files AND being able to see the results in a WYSIWYG window? I've tried Visual Basic, Visual Studio etc but it can open the source but never seems to be able to show the resultant developed HTML … | |
[COLOR="Green"]Hi, I am new member in this location. I wanted to quaering about format the date in the computer system . in our class we study C ++ language. and learned this build in function : strtok ( , ) that take the variable in first argument , until see … | |
I was trying to do the practice problems but don't understand what the first beginner or first intermediate problem is asking me to do Write a program which finds the factorial of a number entered by the user. (check for all conditions) (Beginner). Create a simple Palindrome checker program. The … | |
I have the ambition to make a List, Global so it can be reached within other Threads. When compiling the code with the declared list like this the compiler says: [I]syntax error : missing ';' before '<'[/I] Should I declare the List in any other way than this ? (The … | |
Hello, I have recently started learning how to write games in DirectX 9 and I have a few questions. The first is about backwards compatibility. Is it correct to assume that if someone has DirectX 10 installed that they can play DirectX 9 stuff without downloading DirectX 9? Also, I … | |
I'm wanting to start a page on my video game site where users can view games out this week. It'd be cool if they could look ahead to games coming out in the future and maybe even a way of archiving. I guess similar to imdb ( I can't find … | |
I have put about 30 trasparent buttons on a Form wich meens that all these buttons are invisible. When I open this Form, you will see all these trasparent/ invisible buttoncontrols "flicker" in a white color. This flickering process takes about 2 seconds until the Form is 'ready'. What does … | |
Hey guys, would like to thank everyne for help on previous post. the following code is meant to populate a hashmap and hash set respectivly, but when i run my programme its giving me a null pointer in my user interface, could anyone help guide me? [code] package concordanceReader; import … | |
I use ctypes to play AUDIO using bass.dll found here: [url]http://www.un4seen.com/[/url] I have gone so far and tried as they advised me at their forum entry here: [url]http://www.un4seen.com/forum/?topic=9257.0[/url] But I still get errors. Can anyone take code and analyze to point out source of error? Here is the code, pse … | |
I have made a script that gets only friday and puts them in a drop down but now i dont want to upload it into the datbase as a string i need it as timestamp so i can filter and order for current day and such. here is the form … | |
What are static and abstract methods?What are the advantages of using them? | |
I have a simple Tkinter program that has a button and an entry. Now, how do I run code from the entry? For example: Entry -> print 'Hello!' Button -> Run the entry command | |
I want to write a 3D virtual environment in c++ that can display videos on sides of a cube (using openGL is preferable). Also it has multi client and connect to the server that has a database of videos. the program should work online and can be displayed in web … | |
Hello, I'm trying to solve an assignment that I have, but I don't want to get into the details of the assignment and confuse everyone. But, the basic idea is that I have to read a file, containing a list of team names and information about matches, and then I'd … | |
Hi all. I'm having a difficult time working with visual studio 6.0. I have a project which i'm editing, and i need to add a combobox to a form. The problem is i've added items to the combobox throught it's properties, and yet when i run the program, only the … | |
I small maze game and I got a key Listener. I got it to work. The problem I have is that i have a text box in the gui and Key Listener is added on to the that. but I want to set it so that when the window is … | |
[B]delete a list in text file[/B] well i m having a text file which contain time,user name & id, now if i want to modify the time without affecting the id & user name is it possible? or how i delete that list & enter a new list in that … | |
Hi i have a python program project its to make an arithmetic program with difficulty levels -essentially a calculator - that throws out addition, subtraction, multiplication, division and combined math problems at random (depending on which function the user chooses) -also has three difficulty levels, which can be chosen by … | |
I made a maze game. When you click the button, a navigator is created. But before you create a navigator, if you try moving the navigator, there is a null pointer exception. since the navigator can be moved by pressing keys on the keyboard, I want an error message to … | |
[CODE]package corpus; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import java.util.HashMap; import java.util.Map; import java.util.HashSet; import java.util.Set; import java.util.Collection; import java.util.TreeSet; public class FileReader { private static final String[] FILES ={"a_christmas_carol_capter1.txt", "a_christmas_carol_chapter4.txt", "emma_chapter1.txt", "emma_chapter2.txt", "pride_and_prejudice_chapter3.txt",}; private Map<String, Set<String>> corpusCV; public FileReader(String textFile) throws FileNotFoundException { Set<String> texts = new HashSet<String>(); corpusCV … | |
Hi, I am trying to copy som data from an excel document that I have on the server into a table in my ms sql server. I think the problem now is that I am having trouble connecting to the sql server. I'm using sql server 2005. You can see … | |
I'm trying to find a way to embed a external program inside VB6. Can anyone point me to some information where I can lean how to do this? | |
Hello everyone. I have been studying VB on my own in prep for my class next semester. I am trying to update a label on form1 from form2. Below is just a "test" example i created to figure out what im doing wrong. It is not the actual project i … | |
Hello, Does anyone know any code to retrieve the letter of the booted drive | |
I need to open IE from VB.net. I see the two most popular suggestions are: . VB's Shell function (ShellExecute ??) . COM "Microsoft Web Browser Control" reference I can't get the Shell function to work, and the Browser control isn't listed in the COM references that can be added … | |
Is it possible to restrict the file type for a uplaod form? | |
i am trying to generate a method in event handler of combo box. I am trying to read data from the database using array so that when i click on the combo box it will link to the textboxes. I have declared two arrays, one for combo box and another … | |
Hello, I am wanting to take an uploaded picture from one page, put it into a session and carry it to another page. Once I get to that page and the client accepts it, then store it in the database. I'm starting to get confused on how this would work … | |
I am planing to write a php script which can display time schedule bar, based on start/end date, and each project(see attached image, start/end date and project name are saved in database), the length of time bar should be flexible upon start/end date, I have no idea how to implement … | |
IN MS access FORM i have a list box column which is filled with colour names. Once the form is loaded i want to make backcolour of that record same as the one mentioned in that column. Regards, Dinil | |
Hi i am trying to understand manipulators. Can someone explain what is happening here [code=C++] for (int i = 0; i < n; i++) { cout << setiosflags(ios::left) << setw(15) << item[i] << setw(8) << setprecision(0) << code[i] << setiosflags(ios::right) << setw(8) << setprecision(2) << setiosflags(ios::fixed | ios::showpoint) << cost[i] … | |
Dear folk , I have some Data which I want to send it with PHP the thing I need is this : $to="email@test.com"; $CC="email@test.com"; $data = "these Information is going to be attached to an Email I tring to send them by PHP to those addrest ses and also make … | |
Hi, I have given only some part of the code related to my problem. I have problem while compliation. I have the problem in the constructor of the class RMstore. i Get the following compilation error rmremote_server.cpp: In function `int main()': rmremote_server.cpp:196: error: no matching function for call to `RMStore::RMStore(std::string)' … | |
how to convert the file format of access .mdb to .dll system? can anyone know? | |
hi i have an error when i try tio insert special characters ' insert into lydia(id,resume)values('$ids','$i') idis int,resume is a varchar ERROR3:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Degree please do … | |
Hi everybody!! I would like to save a text file in Shift-Jis format but by default the file is always save in UTF-8. I'm using fopen, fput and fclose to create and work with that file, but I don't think that there is any parameter for those functions which can … | |
What I want to do is make a grading system. There is a vector for schools and classes and students, all of these which have their own class, derived from a class called system. [CODE]class System{ School * p; //School Pointer vector<School>sSort; public: //Splash Screen Function void Splash(); }; /*-School … |
The End.