199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TheWhite

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 = …

Member Avatar for BestJewSinceJC
0
98
Member Avatar for javafrustrated

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 …

Member Avatar for BestJewSinceJC
0
160
Member Avatar for sanavada

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: …

Member Avatar for LizR
0
422
Member Avatar for jamshid

Hi All Do you know what is this algorithm is? Can i find some code examples written in this algorithm? Thanks

Member Avatar for Rashakil Fol
0
112
Member Avatar for manoj_582033

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

Member Avatar for manoj_582033
0
156
Member Avatar for americaneagl

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 …

Member Avatar for BestJewSinceJC
0
105
Member Avatar for desiguru

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 • …

Member Avatar for desiguru
0
83
Member Avatar for dseto200

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] …

Member Avatar for mn_kthompson
0
332
Member Avatar for suley04

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 …

Member Avatar for Ancient Dragon
0
470
Member Avatar for scizj

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<<")"; …

Member Avatar for scizj
0
120
Member Avatar for PomonaGrange

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 …

Member Avatar for PomonaGrange
0
305
Member Avatar for Terry McKenna

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 …

Member Avatar for Terry McKenna
0
103
Member Avatar for john8098

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 …

Member Avatar for blickberry
0
242
Member Avatar for squarkman

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 …

Member Avatar for serkan sendur
0
111
Member Avatar for mini programmer

[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 …

Member Avatar for mini programmer
0
151
Member Avatar for k59smooth

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 …

Member Avatar for StuXYZ
0
150
Member Avatar for Lukezzz

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 …

Member Avatar for Lukezzz
0
133
Member Avatar for Dinomike1000

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 …

Member Avatar for Dinomike1000
0
104
Member Avatar for blackbox2342

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 …

Member Avatar for blackbox2342
0
117
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
100
Member Avatar for roadToNowhere

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 …

Member Avatar for Antenka
0
101
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
125
Member Avatar for ripper1510

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 …

Member Avatar for ripper1510
0
125
Member Avatar for Ninad16
Member Avatar for ~s.o.s~
0
199
Member Avatar for MaracKoMarac

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

Member Avatar for MaracKoMarac
0
81
Member Avatar for nasims

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 …

Member Avatar for MosaicFuneral
0
80
Member Avatar for beaute

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 …

Member Avatar for cikara21
0
111
Member Avatar for Sebouh

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 …

Member Avatar for Sebouh
0
148
Member Avatar for drjay1627

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 …

Member Avatar for Ezzaral
0
132
Member Avatar for nitinloml

[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 …

Member Avatar for woooee
0
203
Member Avatar for cointosser

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 …

Member Avatar for Murtan
0
120
Member Avatar for drjay1627

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 …

Member Avatar for drjay1627
0
86
Member Avatar for rofio

[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 …

Member Avatar for rofio
0
156
Member Avatar for kischi

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 …

Member Avatar for kischi
0
172
Member Avatar for bushman_222

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?

Member Avatar for bushman_222
0
105
Member Avatar for jbrock31

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 …

Member Avatar for jbrock31
0
152
Member Avatar for scrypt3r

Hello, Does anyone know any code to retrieve the letter of the booted drive

Member Avatar for LizR
0
76
Member Avatar for tkoopmi

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 …

Member Avatar for tkoopmi
0
115
Member Avatar for dreamer14
Member Avatar for dreamer14
0
102
Member Avatar for sonotobvious

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 …

Member Avatar for LizR
0
123
Member Avatar for designingamy

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 …

Member Avatar for sikka_varun
0
336
Member Avatar for michael123

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 …

Member Avatar for Miss84
0
141
Member Avatar for dinilkarun

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

Member Avatar for QVeen72
0
278
Member Avatar for sweeya

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] …

Member Avatar for grumpier
0
193
Member Avatar for pedramphp

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 …

Member Avatar for nikesh.yadav
0
139
Member Avatar for sweeya

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)' …

Member Avatar for ArkM
0
127
Member Avatar for ryan311

how to convert the file format of access .mdb to .dll system? can anyone know?

Member Avatar for boblarson
0
62
Member Avatar for queenc

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 …

Member Avatar for queenc
0
100
Member Avatar for Neo7

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 …

Member Avatar for Neo7
0
1K
Member Avatar for Manutebecker

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 …

Member Avatar for Manutebecker
0
105

The End.