199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mkalinic

I am having some trouble moving labels up and down. I've gotten them to move left and right but cannot seem to get them to move up and down. Also I wanted to control a picture box by arrow keys. I'm not totally sure along which code I need to …

Member Avatar for mkalinic
0
2K
Member Avatar for geek_till_itMHZ

I am Trying to write a Java Program that animates 4 arcs to make it look like a moving fan. As of now I have the arcs drawn and Im trying to make buttons for my slow, med, fast and off settings Im getting the following errors: DrawArcs.java:6: cannot find …

Member Avatar for geek_till_itMHZ
0
96
Member Avatar for phohammer

I am attempting to create a GUI for a console C++ program in Visual C++. Apparently, it is like learning the language all over. Here is my problem: I am attempting to write the contents of a textbox to a file, but I get the error "error C2228: left of …

Member Avatar for phohammer
0
414
Member Avatar for Heinz Stapff

[B]NEED INPUT VALUES TO MATCH ARGS ARRAY OR THROW AN ALERT[/B] This is what I have but I want the alert to refrence the var args= or throw the alert. [code] function qtymultiply(qty){ var fs=qty.parentNode.parentNode; var subtotal=document.getElementById('subtotal'); var args=[1,2,4,6,8,10,20]; [COLOR=darkorange]//array I need to match foreach element[/COLOR] var multiply=0.0; var price=fs.cells[4].innerHTML; …

Member Avatar for Heinz Stapff
0
113
Member Avatar for csinquirer

For example, I have the following tables: animal ----------------------- animal_id | animal_name ----------------------- owners ----------------------- owner_id | owner_name ----------------------- owners_animals -------------------- owner_id | animal_id -------------------- I want to find the animals with no owners so I do the query: [CODE]select animal_name from (select * from animals) as a left join …

Member Avatar for samaru
0
206
Member Avatar for mani_singh

hello all, i am new to c++ and just started learning about 1 week ago. i wrote a (console) program that does simple math, it asks you to enter couple numbers and will output an average. i want to know how to write and if statement where it will say …

Member Avatar for Dave Sinkula
0
85
Member Avatar for timbomo

[CODE]I cant get this to read these numbers correctly 11.95f, SQFT2 = 12.35f, SQFT3 = 13.28f, PI = 3.14159f, when i run it , the answer comes out to be a whole number 11.[/CODE] i also need help on the do while loop i almost got it but i ended …

Member Avatar for WaltP
0
85
Member Avatar for JohnPhilipps

Good afternoon, I have been working on a simple problem for a long time because I am really not sure how to approach it. I need a user to type in a sentence at a command prompt, after that I trim the String and place it into an array to …

Member Avatar for JohnPhilipps
0
189
Member Avatar for endsamsara

Hi, well, I have an ArrayList with this values ACU ACU ACU ACU ACY ACY AER AER AER AGC I need to get the number of items of each Word, so for ACU we will get 4, ACY we will get 2, AER we will get 3, AGC we will …

Member Avatar for Ezzaral
0
279
Member Avatar for gregarion

Hey guys, i am having a problem in my query statement. I am using Mysql in Netbeans and c++. Really Hope for some help. I posted it here as i read up a bit on it and it seems the solution is based on c++. What i am trying to …

Member Avatar for Fbody
0
2K
Member Avatar for Rumblefish1976

I've been tinkereing around with PHP and I've come unstuck. I started out with an index page used to login, this linked to a login page for validation against allowed users, which in turn brought up a Voting Form and finally a page to display the results. In all 5 …

Member Avatar for Rumblefish1976
0
141
Member Avatar for aditya55

Hello, I am working on project in which i want a treeview should have multiple child that ie There is one parent and that parent should have multiple child and all this through coding using Primary key and Forieng key so any body who know ot plz send me the …

Member Avatar for rajeshgadlinge
0
125
Member Avatar for timbomo

i keep getting 4 errors on here and i cant figure out what they are I followed the syntax i believe [CODE] } if (( tot_mon <= 0.0f && orig_mon <= 0.0f)) cout << "You need more cash, you dont have enough\n" << endl; else if (tot_mon <= 0); cout …

Member Avatar for Lerner
0
118
Member Avatar for jdpjtp910

I have a program for school. The program is an inventory program. It will start by writing blank records to a file. The user then should have a case drive menu. The user will select an option for what action they desire. Actions are add new record, change record, and …

Member Avatar for dusktreader
0
2K
Member Avatar for TheGhost

i want to make an Object Test to control many threads. Test.cpp [code] class Test{ public: Test(); void exampleThread(void*); }; Test::Test(){ _beginthread(exampleThread, 0, 0); } void Test::exampleThread(void* ptr){ ... } [/code] i get the error [quote] argument of type `void (Test:: )(void*)' does not match `void (*) (void*)' [/quote] what …

Member Avatar for nezachem
0
74
Member Avatar for yakovm

Hello, I need to render the mesh.It is given by set of its surfaces each surface is presented by its vertexes(x,y,z) The camera and light source has to be placed at the same place. I use this code: [CODE=c++]//Projection glMatrixMode(GL_PROJECTION); glLoadIdentity(); GLdouble diam = m_allModels.getDiam(); GLdouble left = m_allModels.getCenter()[0] - …

Member Avatar for mrnutty
0
207
Member Avatar for onaclov2000

I've been given an assignment in class to take some code and work on improving the optimization, we can either write new code or use old code. For some reason I can't think of anything that would be a good example of code that can use multiple optimization techniques, I.E. …

Member Avatar for onaclov2000
0
92
Member Avatar for Ana_Developer

I want to call a javasript function once a checkbox is checked and then enable a button in the function. How can I assign the javascript function to the check box event? Thanks!

Member Avatar for apegram
0
128
Member Avatar for carylle

can i use ismdicontainer and .showdialog for my form at the same time? i have a main menu that when i open a new form it pops inside of it. but i want to use .showdialog so that only the form open are the ones being used and the forms …

Member Avatar for jamesonh20
0
139
Member Avatar for jaxy

Hi, I was wondering how do i go about generating unique random numbers? ie i want to generate numbers between 0-9 randomly. I dont want to repeat the numbers.Then that no: should display on the buttons.ie there are 9 buttons. first randomly generated number should display on the first button …

Member Avatar for neelkris
0
2K
Member Avatar for paulernest

Hi I was wondering if there is a standard way to set a time out for ajax callbacks. The problem seems such an obvious one I know that it will have been solved several times. I'm using the google maps and google local api's and I want to wrap my …

Member Avatar for paulernest
0
93
Member Avatar for zodiacfive

How can we redirect a page using AJAX on submitting a form with values and inserting them to the DB. I am using Jquery. Please help. :(

Member Avatar for zodiacfive
0
103
Member Avatar for smackdown90

i want to create dynamic table and drop down menu from lists. i have 2 questions: 1. for the drop down menu i can run over the list and write the tag <option> inside the loop? it will create the menu with the number of items in the list? there …

Member Avatar for peter_budo
0
253
Member Avatar for ElegantElephant

I have the following file called config.php. These are configuration options for a client management system. I need these settings to be editable via the system admin panel. How would I go about storing these values in a database? Would it make sense to have a table called "config" with …

Member Avatar for ElegantElephant
0
103
Member Avatar for tjsail

Is it possible to read a file as lines are written to it but not lose your location in the file? As in there is a program that will write lines of text to a file until it reaches 2.4MB. I want to read this file as these lines of …

Member Avatar for tjsail
0
136
Member Avatar for adhi

[COLOR=#000000]hi[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]i am a student. i am using vb6 to get an agv running. using mscomm to speak to a main micro which then addresses motor boards. at present i am just testing 2 motors to see if the program will work. in my foward command button the …

Member Avatar for MikeStump
0
159
Member Avatar for sfreema4

I am having issues with outputting a string correctly that is coming from a 4K read buffer. Here is the code I have currently: read_4K.c (cannot be modified) [code=c] int read_4K(char *b) { return read(0, b, 4096); } [/code] reader.c [code=c] static char Buffer[4096]; static int Bend = 0; static …

Member Avatar for tmoorez06
0
209
Member Avatar for houlahan

when i run the server and the client i get the following errors: Client: [CODE]Exception in thread "main" java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) at Client.main(Client.java:29) Java Result: 1[/CODE] not really a error but it should receive the patients name?: [CODE]waiting for connection... Message Recieved:null waiting for connection...[/CODE] so …

Member Avatar for houlahan
0
130
Member Avatar for ballistic

hi all this is my first post here. i have a small question and though i believe its a very simple one, however i cudnt figure it out until now. i have written a vb 6 code to get data from rs232 port using mscomm control. i am getting the …

Member Avatar for MikeStump
0
192
Member Avatar for dawsonz

I'm trying to create a login system that checks the username and passsword from an sql database. I've created a local server named coffee that has a table named 'users' - I have created fields for username & password. I'm using ASP.NET web application and I want to connect to …

Member Avatar for dawsonz
0
128
Member Avatar for SCBWV

A friend asked me to write a program that dials a telephone number and checks for the presence of a 1000 Hz tone. Any suggestions?

Member Avatar for MikeStump
0
104
Member Avatar for scratchwiz

Hey all..am quite new to Java and I have encountered a problem with my program. I am getting the error message "cannot find symbol constructor". I have tried to figure it out but I have failed. I have read around that adding an empty constructor would help but this is …

Member Avatar for verruckt24
0
732
Member Avatar for poorann

How to create a community portal using php frontend and java in the backend

Member Avatar for poorann
0
71
Member Avatar for ezeuba

Hello all, I am not new to php but what I want to try is new to me. i am designing a website (elbonfx.com)that I want to include a kind of newsletter system into. Now I have a form where visitors can insert their details and it gets sent to …

Member Avatar for saiprem
0
441
Member Avatar for timbomo

ok how will i keep track of the items i bought? i have not the slightest clue on that. i dont even know where to start. can someone point me in the right direction? [CODE]#include<iostream> using namespace std; int main() { char symb; int item_purch, numb_item_purch, quit,; double mug = …

Member Avatar for Lerner
0
169
Member Avatar for salamjamal10

Okay this is my assignment question: Write a program that accept the format [I][B]last name, first name [/B][/I]and print out [I][B]first name, last name[/B][/I] Thats what I did: [code] import java.util.Scanner; public class Name { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter your name"); String …

Member Avatar for salamjamal10
0
117
Member Avatar for MARKAND911

How to get timer_tick event in Asp.net. i am making one web server control. i want to add timer control in its property. please give some examples of property which uses timer control in it.

Member Avatar for kdcorp87
0
490
Member Avatar for abhay1234

hello again i wrote a class but not able to see the output in visual studio [code] Public Class Class1 Public Shared Sub Main() Console.WriteLine(Min(10.1, 10)) Console.WriteLine(Min("last", "first")) Console.WriteLine(Min(#1/1/2000#, #3/4/2000#)) Console.ReadLine() End Sub Overloads Shared Function Min(ByVal dblA As Double, ByVal dblB As Double) As Double Min = IIf(dblA < …

Member Avatar for abhay1234
0
88
Member Avatar for glenc70

how do i create a new instance of a class at runtime? ok say i have a window open and every time i click inside the windows it puts a small image ( which is defined in the class ) at the location of the mouse pointer. But how can …

Member Avatar for Narue
0
98
Member Avatar for walter clark

Is there anyone out there that finds Visual C++ (ver8) Debugger broken? Specifically with regard to variables out of scope. I have asked here about specific problems and none of the proposed solutions work. The debugger works on the easiest of things, but half the time, things that are obviously …

Member Avatar for walter clark
0
102
Member Avatar for peck3277

Hey guys I hope someone can help here, I imagine this is something small and simple but I can't figure it out I have the following code: [CODE] if (isset($_POST['Flavours']) && isset($_POST['Sizes']) && isset($_POST['Product_Name'])){ $flav = explode('-',$_POST['Flavours']); $flavours = $flav[0]; $sizes = $_POST['Sizes']; $product_name = $_POST['Product_Name']; $result = mysql_query('SELECT Products_ID …

Member Avatar for harshbavaliya
0
102
Member Avatar for yin1031

Hi there I want to use c++ to draw a path The path is based on two variables, x and y and x and y will change automatically every second So I think the flow should be like this: t=0, (x,y)=(0,0) ->draw a point on the graph t=1, (x,y)=(2,2)->draw another …

Member Avatar for yin1031
0
104
Member Avatar for tibebu.s

hi, how can i change single cell text color in my datagridview by using button i try datagridculomnselectionmode and other options for the now i can only change the all cell. pls tell me what i can do guys.

Member Avatar for tibebu.s
0
97
Member Avatar for tulipputih

Hi, I have to do this query: select all from a table, say lesson where 'the variable inserted' is equal to any column in table students and students. verified= yes. Can anyone help me on this. I have programmed as the following, however it just displays all column without doing …

Member Avatar for tulipputih
0
81
Member Avatar for phpuser

Hi,I want to upload image file using Ajax.means i want after browse file it will be put in my folder and i can see path just below browse button.and i want only ajax code for this no php or any other code which refresh file for image upload. anyone can …

Member Avatar for phpuser
0
98
Member Avatar for nimmyliji

Hi, How can i pass an xml file from python to flex 3..? Any one can help me...... with example code

Member Avatar for JasonHippy
0
485
Member Avatar for jimFan

Dear all, Forgive me for posting two threads for the same problem. I was not showing my problem clearly enough in the previous one. Thank Narue for answering that anyway. Now I do it again here: [CODE] #include <iostream> #include <string> using namespace std; int main(void) { string inputStr; while …

Member Avatar for Fbody
0
1K
Member Avatar for deetlej1

Hi There, I need assistance with the assert function. The question is convert a date to Julian date and then check which one is the smallest and subtract to show the different days. That is all done. The part I have no idea is how to use the assert function …

Member Avatar for deetlej1
0
161
Member Avatar for arsenal_fan

Hi, I got this code for computing permutations of a string from the programming interviews exposed book. I am unable to think as to how recursion works in this case. Now, if the input string is "hat", then I have understood the sequence of recursive calls that lead to the …

Member Avatar for Ancient Dragon
0
136
Member Avatar for jayaj

i m using netbeans for java program for jdbc connection. i m getting classnotfound exception , i have also downloaded jdbc driver for ms sql server 2005 but driver doesnot contians msbase.jar mssqlserver.jar and msutil.jar files Plz reply asap.

Member Avatar for peter_budo
0
135

The End.