199,114 Archived Topics
Remove Filter ![]() | |
I don’t know if this is really possible, the program can not use a mouse or anything that requires the use of the tab key (this would be considered a use of the mouse), is there a way to still add input into textboxes and hit buttons, kinda like the … | |
I have the following error on line 71 and I'm not sure whats wrong with that statment any explanation would be greatly appreciated. C:\Users\peter\Desktop\CSC 111\welch_lab4\welch_lab4.java:71: cannot find symbol symbol : method equalsIgnorCase(java.lang.String) location: class java.lang.String while (!(response.equalsIgnorCase(FLAG))) ^ 1 error Tool completed with exit code 1 This is the details … | |
Hi im try to install vb6 but it give me this error Error Launching C:\....\acmboot.exe can some one help me ? | |
People. As i have my course of Object Oriented Programming, thus my Final project is to make a game in c++ using allegro. Please provide me basic knowledge because i have no idea of using allegro and game development. i would also be needing some good and easy game ideas … | |
Hi Everyone, I am developing a desktop based inventory application using C#.NET. To make the interface more professional I am taking some concepts from other software. Therefore I have downloaded some trial version software from internet. The problem is I would like to develop a MDI Parent Form whose content … | |
I feel guilty about posting again but I need help again and I have tried other sources of help e.g google and asking someone who is familiar with vb.net but still can't find the solution to it. It must be another simple fix but I cant find any reference to … | |
Good afternoon all! As an exercise to help keep my coding up to date, and to try new things, I figured I'd make a 2D topdown RPG. A basic dungeoncrawler. Now, I've come across a great deal of tutorials for console RPG's that do the same thing, but none of … | |
Hey i wanted to know if there's a program that shows u a pattern on how they got the number if i give them 3 examples? for Ex: 1) 35777903801230601 (Encrypted) = 46071642 (Decrypted) 2) 35777903248036801 (Encrypted) = 43975216 (Decrypted) 3) 35777903508068601 (Encrypted) = 91756761 (Decrypted) | |
[CODE] Private Sub AddIngoing_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadprodin() End Sub Private Sub loadprodin() Dim i As Integer objCon = New SqlConnection(conStr) Try objCon.Open() obj = objCon.CreateCommand() str = "Select * from product ORDER BY p_code" obj.CommandText = str sda.SelectCommand = obj sda.Fill(ds, "product") dt … | |
i want to create a program that will have an arraycalled array1[] of 30 sets of 3 one digit numbers i.e 804, 450,430 etc) i will have 13 vector containersor arrays defined with a series of 3 one digit numbers. i want the program to find any series of numbers … | |
Hi, I want to build new Gui program for calculator. I did it in c# using MS visual c# 20100 express. Now I want to do it in java. I used jGRASP till now. Does jGRASP has any feature like visual studio to add buttons or something like that? or … | |
I am just about to finish my last C++ program and for the life of me cannot figure it out. My problem is everytime I try to run this my command prompt returns with "Write file cannot be opened". I have looked many times throughout my program and cannot figure … | |
char* p=(char*)malloc(10); in the above state ment,has the memory been initialised??...what is the difference between allocatingg it and initialising it?? thanks in avdance... | |
I am quite sure I am gonna feel real dumb when I found where I am screwing up but I am ALMOST done with a fraction calculator (part of a complete algebraic calculator I am making) and am stuck when trying to reduce my fraction because when I hit the … | |
Hello everyone. I want to change the background color of the button when I click it. the problem now is the only the last button works, but not the way I want to.(It changes color I click other buttons.) here is my button code. [CODE] for (int i=0; i<(5; i++) … | |
Suppose you want to develop a program to play lottery. The program randomly generates a Lottery of a two-digit number, prompts the user to enter a two-digit number, and determines whether the user wins according to the following rule: If the user matches the lottery in exact order , the … | |
I have a c++ program that uses the rand function and the srand function. It worked fine when I compiled it on my windows machine, but I got errors when trying to compile it on ubuntu linux. After I included cstdlib the program worked fine on the linux too. 1. … | |
I'm having an issue with a Hanoi Tower problem. I'm passing an index variable and a vector to the recursive function. The disc numbers are being displayed correctly, but the peg numbers are not. The output is only the moves not the disc numbers on each peg. Output should be … | |
hye...i need some guideline for my project...actually, i want to develop one program for my faculty but i didnt know and confuse what language and platform should i use...This is a situation for my program / software that i want to develop.. 1. Most of student in my faculty didnt … | |
I want to be able to determine if there are less than 9 values of 'S' but it always returns a count larger than it should be. The array is board[7][7]. Edit: The cout for sheepCount is for debugging purposes. [CODE] int sheepCount; sheepCount = 0; for (int i = … | |
Hi. I am trying to display a JFrame containing a JLabel with an image, and I can't get the image to display. The text appears fine. I've done this before with no problem, so I have no idea what is wrong. I've tried everything I can think of to fix … | |
[CODE] I am a novice programmer and need help..... #include <stdio.h> int main (void) } int n1=2; int n2=0; n2= (++n1) + (++n1); printf("Result= %d",n2); return 0; } Result= 8 How is this possible?? Similarly, #include <stdio.h> int main (void) } int n1=2; int n2=0; n2= (++n1) + (++n1) + … | |
Hello, I am retrieving code from a database and my resulting array is as below. [CODE]Array ( [0] => Array ( [0] => False [1] => True ) [1] => Array ( [0] => True [1] => False ) [2] => Array ( [0] => False [1] => True ) … | |
hi friends i want a delay of 100 milliseconds in my program as their is delay function in dos.h likewise i want to know [B]is there any function in c++ for delay of some milliseconds im using ubuntu.[/B] | |
So this is probably going to seem like an obviously simple question. I'm working on a basic project involving linked lists. I have a single link linked-list, within this linked list I have a pointer to an dynamically allocated Object I'd like to be printed, currently I keep getting rubbish … | |
I was planning on writing code that would get stock data from the exchange and store it for use and analysis later. I'm new to programming and Python so I don't really know where to get started. Are there functions, modules, or techniques I should be aware of? So far … | |
Please help me!! What is wrong with my code?? [CODE]<div id="pictureFrameDogodki"> <div id="pictureMainDogodki1" style="display:none;"> <img src="images/snowparty.jpg" alt="pa"/> </div> <div id="pictureMainDogodki2" style="display:block;"> <img src="images/pokerturnir_zanet.jpg" alt="po" /> </div> <div id="pictureMainDogodki3" style="display:none;"> <img src="images/molella.jpg" alt="mo" /> </div> <div id="pictureMainDogodki4" style="display:none;"> <img src="images/Inna.jpg" alt="in" /> </div> <div id="pictureMainDogodki5" style="display:none;"> <img src="images/demosntracije.jpg" alt="d"/> </div> </div> … | |
Hi, sorry my title isn't very explanatory. What I need to do is to access a variable from a main function, in another function without using a parameter to do so. Based on the nature of the problem you might see why I would do this. (if there is a … | |
[CODE] #include <iostream> #include <cstring> using namespace std; class CD { public : void getCDdetails(CD *); void printCDD(CD *) const; int putCount() const { return count; } private : static int count; char Title[60]; char Artist[60]; char Type; int Tracks; }; int CD :: count=0; void CD :: getCDdetails(CD * … | |
Hello Community, I am trying to figure a simple way approximate cost of context switching for a given OS/hardware combination under different loads. For example on my 2 GHz dual core MAC OSX, running single instance clocks at 0.5 usec where as three instance at 1.3 usec. Below is sample, … | |
hello I wrote code for a scramble word game and I am trying to set focus everytimge I click on check button..I've got it so it will set focus when I start game, but whenever I put put setFocus() on the onclick of the button it will not work... is … | |
please i need your help. i need to output the result below in this format $array = array('45', '92' , '91','94', '90', '12', '104', '105', '93'); [CODE]$checkfresult = mysql_query("SELECT name, state FROM users"); $users = array(); while($thecount = mysql_fetch_assoc($checkfresult)){ $users[] = $thecount; }; $array = array('45', '92' , '91','94', '90', … | |
Hi to all! I'm glab to be here and...I'm here because I need some help! ^^; Hope someone can give me an hand... I'm trying to study java using some books for beginners...and I gest stucked in an excercise... I've this: [CODE]class LogicalOpTable { public static void main(String args[]) { … | |
I am having a problem where the colsum[column] is just displaying junk data on the output, and I cannot seem to figure out why, if I put an output statement in the Computesums function for it outputs fine(just not the right place, this is fine, I was doing that for … | |
I have a form that takes a zipcode as input and displays a google map on the same page using ajax. If I submit the form using a submit button, it works fine. However, I would like to auto submit the form after 5 characters are entered. This code works … | |
Dear All, I have a code as below. First I call the readFile in here I can read the value into the name variable which I have declared as string. The problem now as I run the loop I want to put each of the name into an array of … | |
Hi all, I was asked to write a shell program in c in unix....basically what i would like to include are the use of dup2 to implement redirection ( < or >) and the use of dup2() and the pipe() system call to implement the '|' symbol on the command … | |
I am using joomla 1.5.22 version.whenever i try to save any changes in global configuration in joomla's backend it redirects me backend's home page without saving the changes also when i try to add a contact it redirects me contact manager without adding contact what the problem?please help. | |
I never uploaded a file before and I'm finding some problems regarding uploading a file in a directory which have some security. I searched on the internet and I found out that I need to make use of [I][B][U]chmod[/U][/B][/I] php function however I have been fighting against my computer for … | |
I AM A NEWBIE TO VB.NET. RECENTLY I HAVE STARTED PROGRAMING AN APPLICATION CALLED "OFFICE-MANAGER". THIS IS A PROGRAM WHICH DEALS WITH ACCESS 2003 DATABASE. I HAVE A VARIETY OF OPTIONS LIKE FILE MANAGER, MAIL MANAGER, ETC. I AM STILL AT THE STARTING LEVEL. BASIC USER INTERFACE IS READY AND … | |
Hi! I'm getting this error that says that I need another '}'... The problem is that I have all of the needed ones The error report is: "Syntax error, insert "}" to complete ClassBody" | |
I return 30 tables or so from sql in a stored procedure. In the stored procedure I select these tables via... [CODE]select * from myTable1 select * from myTable2 select * from myTable3[/CODE] etc. These tables lose their sql table name when returned in a dataset and have default names … | |
the code is below. the system said me that the insert into sql syntax error any solutions? [CODE] Dim dbProvider As String Dim dbSource As String Dim constr As New OleDb.OleDbConnection Dim sql As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter form load code: dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" … | |
I have got myself in a bit of a mess creating a dynamic form and not knowing how to get at the resulting data. I am creating a dynamic form from a mysql database, in order to allow the user to edit and re-store their data. Database is quite simple: … | |
I have several questions regarding OS programming. 1 - How do they write Operating systems? 2 - Do you know what compilers is used to do that (or library)? 3 - Do they have to burn it to a CD and reboot the computer every time they test it? 4 … | |
This is problem of optimization. I want to create bipartite graph with weighted edge.. So i have created program. Please tell me how can i add weight to each of its edges and then from this i can calculate min. objective function. Please reply. [CODE]import java.io.*; class bip { BufferedReader … | |
[CODE] Str Str:: operator+(const Str & append) const { unsigned i,j; for(i=0,j=0 ; i<append.used; i++ ,j++) temp[i]=append.data[j]; for(j=0 ; i<used; i++, j++) temp[i]=data[j]; temp[i]='\0'; } [/CODE] used and append.used are the length of strigs. and data is pointer to array. Hi I am trying to concatenate two strings in the … | |
Hi, I have a checkbox where if a user clicks it, the address fields gets removed and if he clicks it again, it should add those address fields back. I can get it to remove it successfully but when I try to add those fields back, I get [object Object] … | |
OK, i made a listView and a ComboBox now i want that when ever i choose an item from the comboBox the listView will show only the items that there's subItem have the same text of the ComboBoxItem this is what i made so far, but i succeeded to do … | |
Hi,I put many tiny forms on one of my pages, all have the same action to return to this page when submitted <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> but how can I know which one was submitted? I used this line all this time when I had only 1 form … |
The End.