64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for JJHT7439

Alright, I admit that I'm struggling a bit with Java but for the project that I'm trying to do I need to create a bunch of bank accounts and then calculate the interest and return the names of the account holders and their balance and interest, as well as the …

Member Avatar for JJHT7439
0
3K
Member Avatar for dschuett

I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. …

Member Avatar for dschuett
0
403
Member Avatar for youvi

Hello, Please provide me the query to join 3 tables using INNER JOIN... Thanks

Member Avatar for diafol
0
90
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
0
2K
Member Avatar for plasticfood

[CODE]if(count == 4){ qFinal.enqueue(q.peek()); if(count3 == 0){ System.out.println(qFinal); break; } else{ sort(qFinal); } } [/CODE] this code is inside a while loop, and with the break statement, it should break out of the loop right? instead i think the program also executes the sort(qFinal) method b/c after it prints qFinal …

Member Avatar for masijade
0
193
Member Avatar for bahed121

Hi For my interface i don't want to use the typical rectangle buttons instead i want to use buttons of different shapes can any one help me in this regard

Member Avatar for bahed121
0
136
Member Avatar for jpknoob

Hi, I decided to try and upload images by storing their path in a database, but have run into an error when displaying the images. The form works and the folder is populated whenever I run the script. I have tried a lot of solutions from similar threads, but to …

Member Avatar for jpknoob
0
111
Member Avatar for bahed121

hey can any one tell me how to create text effects in c#.... e.g. flame text

Member Avatar for bahed121
1
157
Member Avatar for gulbano

Hey all, Is there any way to check the time of insertion of a record. Means if i inserted a record in table on 03/21/2011 14:05:45 00:00 then is there any way to get this time after-wards

Member Avatar for debasisdas
0
117
Member Avatar for abelLazm

Hi, I have a table on two different database servers on server-1 it contains almost 2090 records and on server-2 it is empty i want to copy all the records from server-1 to server-2 both the database servers are identical but on different location and have no relation with each …

Member Avatar for abelLazm
0
133
Member Avatar for twigan1015

I need to make a string for a description textbox so later it can be added into a listbox and I dont know how to do this and this is all I got, which isnt much [CODE] Dim desripition As String Private Sub textbox2_TextChanged(ByVal sender As System.Object, ByVal e As …

Member Avatar for codeorder
0
123
Member Avatar for bahed121

I have a combobox which contains the different values from database. However, if the user types another name into the combobox, it is accepted. I want to allow only the names already associated with the control. But there is no readonly property form a combobox in VS 2010

Member Avatar for bahed121
0
85
Member Avatar for ashley11

i have a problem to sum up the value. for example: in my richtextbox1: 0.94 0.83 1.67 0.50 0.67 1.25 0.98 now i wan to total up the value. if the value is less than 1 , then total is 5. if the value is greater than 1, then total …

Member Avatar for ashley11
0
119
Member Avatar for bahed121

Hi I want to create a c# program where i have to check processes which are currently running and close a particular of them can any one help me Thanks.

Member Avatar for bahed121
0
141
Member Avatar for ashley11

i have a problem to do calculation part. i need to do 3 calculation part. Now my problem is , my answer for conf and lift loop many times. may i know how to correct it? below are my coding: [CODE] string b = txtTotalItems.Text; double e = Double.Parse(b); double …

Member Avatar for Saikalyankumar
0
149
Member Avatar for mas51

I have put together a program using a class AbstractSort that can be used to analyze the number of comparisons performed by a sorting algorithm. Anyway, I built the programs( I have 2 here) and the first one counts the passes but does not order the array created and the …

Member Avatar for mas51
0
409
Member Avatar for computerbear

Requirements are listed throughout. I have tried with and without the converter. prefix. Please help. [CODE] namespace Assignment_4b_Moon_money { //program that contains a method that calculates the conversion of any amount of money into the fewest bills; it calculates //the number of 20s, 10s, 5s, and 1s needed. This assignment …

Member Avatar for computerbear
0
196
Member Avatar for HASHMI007

[CODE]//how can make this program by composite class.plz conver this program using composition...............................! #include<iostream.h> #include<stdlib.h> class point { friend class circle; private : int x,y; point (int xx,int yy )//:(int x(xx),int y(yy)){} }; class circle{ float r; point p1,p2; public : circle (){r=0;} circle (int a,int b,int c,int d){ p1.x=a;p2.x=b;p1.y=c;p2.y=d; …

Member Avatar for HASHMI007
-4
90
Member Avatar for chad33

My homework assignment is to do the following steps below. I am able to write steps 1,2,3, and 5. I am stuck on how to go about writing code for step 4. Can I include this step into one of my for loops or do I need to write another …

Member Avatar for Slyvr
0
317
Member Avatar for erza26

Hello...i'm new here...juz want to ask some help from anybody..i've done search coding..the problem is, how i want to print it in pdf form...or can i use this coding <input type="button" value="Print Vendor Detail" onClick="window.print()" /> to print the details...hope someone can help me...thanks...:$

Member Avatar for erza26
0
76
Member Avatar for thecoolman5

hey, I use DEV-C++ and I want to know how to display text in a new windows project. this code that i used from an example doesnt work. [CODE]#include <windows.h> #include<iostream> #include<string.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into …

Member Avatar for thecoolman5
0
300
Member Avatar for Ninjaboi

In a nutshell: How can I statically link .dll files into my programs executable? I know it's possible, just have never done it before. I know there is also some issues that arise in doing so ( as well as bloating the executable's size ) but I'm still game for …

Member Avatar for Ninjaboi
0
2K
Member Avatar for toferdagofer

i wrote some code to take an array and run it through a function to reverse the elements of the array and then return a pointer to the new array. For some reason im not getting the results i want. It has to do with my reverseArray function. Specifically in …

Member Avatar for toferdagofer
0
107
Member Avatar for plasticfood

i am getting an error in this. basically it sorts a queue in abc order. [CODE]public class Queue2{ public static void main(String [] args){ LinkedQueue q = new LinkedQueue(); q.enqueue("d"); q.enqueue("v"); q.enqueue("b"); q.enqueue("a"); q.enqueue("d"); System.out.println(q); System.out.println("----------------"); sort(q); } public static void sort(LinkedQueue q){ LinkedQueue qFinal = new LinkedQueue(); int count …

0
76
Member Avatar for stow19

hey all, I've been trying to shuffle a deck of cards but my shuffle results in the deck duplicating cards. i've used the the knuth shuffle and I had no luck i've found: [CODE] var cards = Enumerable.Range(0, 51); var shuffledcards = cards.OrderBy(a => Guid.NewGuid());[/CODE] but I don't know how …

Member Avatar for stow19
0
124
Member Avatar for Morten Brendefu

I did an experiment regarding sorting of 256.000 random "names" using TListBox component. A friend of mine say that TListBox is faster than my code at sorting, so I wanted to test this out of curiosity. Method of testing. When I have created 256 thousand random textstrings, each 6 characters, …

Member Avatar for TrustyTony
0
2K
Member Avatar for luislupe

I'm trying to build my first template function, but it generates a compile error when lines 21 and 22 are not commented. What I'm trying to do is to have a template function that can return multiset<int>, multiset<double> or multiset<string> depending on the attribute I want to extracto from the …

Member Avatar for mike_2000_17
0
329
Member Avatar for Chubbymouse

Hi there, I have some code on a page to extract info from a database (like a back end system) and I just wondered if there was anyway I could do a shortcut around the code to avoid doing multiple SELECT statements. e.g [CODE]<?php $result = mysql_query("SELECT * FROM quackedup …

Member Avatar for gokhanfil
0
164
Member Avatar for twigan1015

I know im suppose to show code, but im stuck on how to make an integer, I kinda feel bad wasting a thread for a simple answer, but I cant figure it out, what im trying to do it make an integer values in the range of 10 to 1000. …

Member Avatar for twigan1015
0
108
Member Avatar for Wrai

I'm having issues with basically moving the snowman itself. I know I have to repaint image in a different position, but I tried and failed. The snowman always end up having a line of color and shape following it as an aftereffect. Can anyone help me out on how to …

Member Avatar for Wrai
0
1K
Member Avatar for arezz09

i hve create 1 listview and all data from accessdatabase (using oledbconnection) in database hve 4 column, so in listview 4 column.. can i view only 2 column in listview, example only column 1 & 2 only in listview.. i using this code [CODE] ListView.Items.Clear() While (myDR.Read()) With ListView.Items.Add(myDR("column1")) .SubItems.Add(myDR("column2")) …

Member Avatar for debasisdas
0
136
Member Avatar for Suzie999

Sorry for noob question. If a condition is tested with or, and the first condition is met, are the further conditions tested? For example, is "b" even tested in the following code?... [CODE]bool a = true; bool b = false; bool c = false; if (a || b) { c …

Member Avatar for Suzie999
0
143
Member Avatar for >>> isaac = []

First I have to say, Eclipse works wonderfully except for this minor problem. I've tired looking for help on this for about a week and so far the only soluctions relate to content assist not working at all. None refer to content assist missing some major functions, libraries, classes. Some …

Member Avatar for >>> isaac = []
0
1K
Member Avatar for stan_l

I have a generic script in another language which I use to query an ASA5500 firewall. Because of thousands of possibilities in even the 'show' commands, I write small .cmd files which are macro-executed from the main script. A .cmd file looks something like outfile("config.dat") showline("terminal pager 50000",0) makebuff(2000000) showline("show …

Member Avatar for TrustyTony
0
299
Member Avatar for MeandJava

Hello everybody, I am working on a school project now and I want to have a blinking LED. The piece of hardware we use is not familiar because it is designed by school. I have the methods to put on the led and to put off, but can't get it …

Member Avatar for MeandJava
0
150
Member Avatar for Formby

I have an array set up to receive the names of forms when they open. The form name is sent as a Form not a String therefore when I run my code I cannot check for whether the field is empty in the normal way (ie. array(1) = "") as …

Member Avatar for Formby
0
140
Member Avatar for arshi9464

I was reading a bit about the JDBC, i've made a lot of programs related to JDBC, but i've never been able to understand the concept of Class.forName(). Please explain it fully, i know the basics, as what are the strings passed, what is done and all. I wanna know …

Member Avatar for arshi9464
0
97
Member Avatar for melisko

Hy guys i was creating small page , with mobile phones . And i need little push . The problem is this : On main page i have small drop down menu which contain some values . And i want to take the value and display the appropriate stuff inside …

0
78
Member Avatar for yosi501r

Hello everybody, I try to find out how to download any file from a URL that doesn't specify. For example: [url]http://translate.google.com/translate_tts?q=Daniweb[/url] ^^This URL directs to an .mp3 file, which is the spoken text by Google Translate. I have this code already, but it helps only when I use URL with …

Member Avatar for yosi501r
0
454
Member Avatar for Javam

Hey, I am having a problem figuring this out. I didn't use file I/O before this so be gentle at me :P. Here is my problem: I am writing to a file, an object Book. The constructor looks as follows: [CODE]public Book(float bookId, String bkName, String bkAuthor, int year, String …

Member Avatar for Javam
0
168
Member Avatar for ThatGuy2244

I was wondering how I could display more than 256 colors with the VGA color palette. correct me if I'm wrong, but the reason that you can't display more than 256 colors at once is because each byte in video memory corresponds to one pixel on the screen. But because …

Member Avatar for ThatGuy2244
0
317
Member Avatar for shack99

Hey everyone, I have an Xml file in which I want to compare elements; [CODE] <Students> <Student id = "a"> <Name>*** </Name> <Age>17 </Age> </Student> </Students> <Students> <Student id = "b"> <Name>*** </Name> <Age>17</Age> </Student> </Students>[/CODE] if student "a" is of the same age as "b" I want to display …

Member Avatar for shack99
0
701
Member Avatar for Ravenn

hi:) i'm writing a windows form program that controls 4 stepper motors, using visual studio express 2010, c++ i'm using a for loop that has to cycle for up to 1200 times. it works well enough but it's kinda slow and, when it's connected to my hardware and given more …

Member Avatar for jonsca
0
254
Member Avatar for Thigina

Hi, im a student doing a project on attendance system.... i have problem where the text entered (username)from formA jTextField1 need to pass to FormB in order to the combo box in FormB shows(subject,course,time) that correspond to the username was entered in Forma....i have try it....but got error... Here is …

Member Avatar for Thigina
0
141
Member Avatar for xxreenaxx1

I am trying to read from a file and insert this to a database. But the error message is giving me trouble [QUOTE] Notice: Undefined offset: 1 in C:\xampp\htdocs\test\try2.php on line 15. This is the error message. On line 15 is: $userName = $tmp[1];[/QUOTE] my code is [CODE] <?php mysql_connect("localhost", …

Member Avatar for xxreenaxx1
0
111
Member Avatar for 54uydf

Hey, I want to add tabs to my php page, but I don't know JS.. I found many ready tabber scripts but I'm having 2 problems- the text on the tab's title is set somewhere in the JS and I can't find it, it makes them Tab 1, Tab 2, …

Member Avatar for 54uydf
0
106
Member Avatar for shazzy99

[COLOR="Green"]Trying to take input from user, put it in array and do the sorting[/COLOR] The code is: [CODE] #include <stdio.h> #include <conio.h> #include <stdlib.h> class Sort { static int array[5]; static int index; static int i; public: void insert(int num) { array[index] = num; index++; } int sortarr(const void *x, …

Member Avatar for Narue
0
186
Member Avatar for msqueen082

Hello Today I am trying to put an error message showing that the client has no stock..I think I have to use the clientidlist to show if the client id does not show up in the clientidList than show error message stating the client has no stock..but I am not …

Member Avatar for HookDevil
0
111
Member Avatar for globberbob

Hey there, working on a program thats going to have a bunch of functions, but for now I am stuck on something that will be reused throughout the program alot: passing a string pointer to a function. It may seem redundant or arbitrary that I am passing it as a …

Member Avatar for globberbob
0
7K
Member Avatar for Eyo

The End.