199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pradeepptp

Hi guys, i m new for ths java progrmming.Please me the diff between array and arraylist. Both are dynamically allocated values.any added mechansims in the arraylist. Please let me asap. Regards, Pradeep

Member Avatar for JamesCherrill
0
331
Member Avatar for ganges

hi, what is the query to fetch duplicate (related) records in oracle.

Member Avatar for pritaeas
0
190
Member Avatar for kenneth.goh.754

I'm doing a project that require the user to type in the phonetic sounds for example, "th". then the program will play a wave file that produce th sounds. As there are many different wave files for a phonetic sounds, i decided to group them into separate files, which means …

Member Avatar for speakon
0
633
Member Avatar for israillaky

hi everyone im new in ajax and i currently studing ajax. my problem is $('#current').click(function() { var id = $(this).attr("id"); var sellitem=$('#spid').val(); $.ajax( { type: "POST", url: "updatecurrentsp.php", data:{ 'itemid' : id ,'sellitem' : sellitem }, success: function(data) { $('#sellprice').css("display","block"); //Changes the style of table from display:none to display:block $('#sellprice').html(data); …

Member Avatar for pritaeas
0
120
Member Avatar for HasNor

Dear all, I'm here just for asking your suggestion.. I would like to develop application that display listing but the list item is not in database. It is create in excel and convert to html file. My question here, is it able to me to develop application that allowed user …

Member Avatar for willson1
0
123
Member Avatar for lorrainecarla

Hello. I would like to ask about adding two-digit numbers. There is a part there where it has to be converted to ascii code, my question is why it has to be converted to ascii code? What will its effect? Thank you for your help. I really need this problem …

Member Avatar for resha.mendoza.3
0
7K
Member Avatar for bhagawatshinde

Hi guys, I have save file in rtf from Richtextbox (okay it saves). But when i open this file manually it's asking me to save changes but i am not changed or edit anything. why this happens ? Is SaveFile() doesn't save file properly.

Member Avatar for bhagawatshinde
0
163
Member Avatar for Trak

Hi :) i'm kind of new to this site and everytime I read a thread someone else makes i don't understand what anyone is saying.... :sad: well anyways, please help me python pros. I have been on my very first exercise of "Learn Pyhton the Hard Way" since two weeks …

Member Avatar for brikbrat
0
605
Member Avatar for VenusCrystal

Hi I am getting value from another page by sending it as part of url query. I want to know how to set that value to textbox or any component in current html page. I tried document.getElementById().value. But it is not working. Is there a way in javascript where I …

Member Avatar for VenusCrystal
0
199
Member Avatar for BinodSuman

There are many ways to read properties file in java. Here explained two wayS, using 1. ResourceBundle 2. Properties Class How to use this tutorial 1. Create one directory src and put both below files (MyProp.properties and ReadPropFile.java) 2. MyProp.properties name = Binod Kumar Suman roll = 110 city = …

Member Avatar for softswing
0
500
Member Avatar for thak123

How can i export the values of the text box in html to a csv or a excel .I have created an HTML Form which will be used from a local computer and want the form data to be saved in CSV file. Each time the form is submitted, it …

Member Avatar for thak123
0
120
Member Avatar for armydad1

Hello all, I am trying to design the logic for a program that allows a user to enter 10 numbers, then displays them in the reverse order of their entry. This is in pseudocode. Thanks for your suggestions!

Member Avatar for -VLV-
0
213
Member Avatar for sazbaztaz

Hello, I found a PERL script in my root directory (public_html) and I have no idea who uploaded it and how. I know this itself is a concern to me but what I really need to know is what this script can do in worst case scenario. It was on …

Member Avatar for TerraBlade
0
1K
Member Avatar for helpneeded87

Hello, I was seeking help in why my small program/script is not performing the way I would like. Here is the question. Write a program to calculate the credit card balance after one year if a person only pays the minimum monthly payment required by the credit card company each …

Member Avatar for helpneeded87
0
246
Member Avatar for lrh9

I had been wanting to write an IRC bot with asynchronous IO for a while. My bot responds to pings, but can be extended by defining functions and registering them to get called when the bot receives certain commands. My bot uses the RFC 1459 USER command and parameters, but …

Member Avatar for lrh9
0
263
Member Avatar for rithish

what is determinanat of matrix i have a code i dont understand what is the logic behind

Member Avatar for sepp2k
0
116
Member Avatar for jnbradl

First I am new to C#. I attempting to build a simple windows form where you can send textbox info to an access database on the machine. When viewing online tutorials and book, I notice their is a step, form missing from my Visual Studio 2010 program when I try …

Member Avatar for svfox2000
0
426
Member Avatar for tendaimare

I am usiing the code below to calculate the sum of rows in my datatable with the productcode in the textbox but if the code is not in the datatable I get the error "conversion from dbnull to sting is not valid". How can i trap this error in this …

Member Avatar for Reverend Jim
0
590
Member Avatar for deshazer.jad

My goal is to create a clone of minesweeper. I've created a custon component that extends the JButton class, for each of the minesweeper buttons. I've called this new class SweeperButton. the game board is going to be made in another class by creating a two deminsional array of SweeperButtons, …

0
173
Member Avatar for CarterLangley

Hi guys, OK, here is what I have in mind. I have to be able to edit membership information, so I propose populating a form with the relevant information. But, I would like to populate the form depending on what member is chosen using a select box. Now, the form …

Member Avatar for phorce
0
111
Member Avatar for rfrapp

Hi, I am recieving these two errors when attempting to upload an image file to my server: Warning: move_uploaded_file(images/) [function.move-uploaded-file]: failed to open stream: Is a directory in }[I removed the path, this is not part of the error] on line 13 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php2bBihw' to …

Member Avatar for rfrapp
0
455
Member Avatar for TrustyTony

As in C++ was some question about speed of simple hard disk based lookup, here is a version of unscramble program completely HD based lookup, which gives all possible candidate words for multiword anagram. Program is not sensitive for case of words but does not ignore special characters like ' …

Member Avatar for svfox2000
0
1K
Member Avatar for chriswelborn

This is a script that was supposed to be very basic, just running a command with my scripts arguments attached. I didn't realize that if user 'cj' opens firefox, when user 'root' does '**firefox -new-tab**' it doesn't work. Firefox will just open a new window, and thats exactly what I …

Member Avatar for chriswelborn
0
314
Member Avatar for sean.downes.96

hello, im sure ive asked this question already but cant find the thread. How do i transfer data from 1 form to another but in a datagrid view. Example: I have data that ive entered in Form2. On Form 1 i have a datagridview box. Wen i press Send on …

Member Avatar for sean.downes.96
0
283
Member Avatar for osiron

Hey guys, I created a Student class in a header file and it works just fine. The problem is I'm trying to store the Student objects into a map in main which made the compiler generate a "in file included from ..." error. I'm having trouble fixing this problem as …

Member Avatar for osiron
0
181
Member Avatar for trishtren

Hey, iv been working on a fairly simple part of my program but it throws a null pointer exception. The error i recieve is : Exception in thread "main" java.lang.NullPointerException at FillStyle.<init>(FillStyle.java:12) at compiler.main(Builder.java:43 The code causing the error is : public FillStyle(int type) { if (type >= 0) { …

Member Avatar for trishtren
0
282
Member Avatar for MichaelWClark

I am trying to create a Gridview that allows me to add to a database. I think I have the Gridview formatted correctly and I do not want to use the <emptydatarowstyle>. I have been playing around with different solutions to displaying a header and footer in a gridview with …

Member Avatar for akpaga
0
508
Member Avatar for dlmagers

Alright, I need a program that has both a selection structure and a repetition structure. Would someone please tell me if I am doing this right. My code gives me the correct output but do I have a selection and repetition structure? #include <iostream> using namespace std; int main () …

Member Avatar for MasterHacker110
0
226
Member Avatar for MasterHacker110

In C++ you have this: std::string = "Name"; You can also read file with it, unlike reading the contents into a char[] with a limited amount of memory. So whats is C equivalent of a C++ string?

Member Avatar for MasterHacker110
0
3K
Member Avatar for john.gale.92102

hi I am having a challenge with a Fetch statement being used in a stored procedure. I am declaring a cursor and fetching data into a set of variables. The variable types match the column declarations exactly. There is data in the table from which I am fetching. @@FETCH_STATUS is …

Member Avatar for BitBlt
0
112
Member Avatar for priya.chitroda

Write a computer program using the C Language which reads any base-10 number from the standard input (keyboard) and writes its binary and hexadecimal representation to the standard output (monitor). this is what I have and I am super confused and need help please. and I have to create this …

Member Avatar for WaltP
0
242
Member Avatar for AngelicOne

I can clear the content of the datagridview by clearing the dataset [CODE]ds.Clear();[/CODE] Then reset the datasource [CODE]datagridview.datasource = ds.Tables[0];[/CODE] Now I will do a select statement that has different columns from the current datagridview. What happens is, the column from the previous datasource is still intact. As if the …

Member Avatar for creations1220
0
1K
Member Avatar for titansrealm

ok have a problem in a chat i have made, everything is working but the user list , in my assets file in swf i have the following under a config xml <?xml version="1.0"?><config musicPlayer="true" multipleCamBroadcast="true" webcamToWebcam="true" userHasList="true" userListDefaultOpened="true" autoAcceptPrivateInvitations="false" showTipInChat="true" showTipToViewersInPopUp="true" topicEnabled = "true" > then in the same …

Member Avatar for titansrealm
0
186
Member Avatar for dlmagers

I am trying to figure out how to create a C++ program that has a Subtotal and a Grandtotal. Could someone please help start a program? It has to have a selection and repetition structure in it.

Member Avatar for phorce
0
758
Member Avatar for Ribamar23

I'm using Wordpress with Woocommerce and using Affiliates Woocommerce Light This plugin has a limitation: you can setup only a fixed comission for all products. I need different comissions for each product. I thought creating a custom field for product in product page when inserting a product. Then I will …

Member Avatar for Ribamar23
0
276
Member Avatar for goody11

Hey evryone. For some reason, I can't seem to insert anything into this table that I have in a database It connects just fine and the variables that I'm retrieving are just fine, which leads me to believe that my INSERT statement is incorrect. Any ideas? Here's the code: function …

Member Avatar for goody11
0
251
Member Avatar for vuquanghoang

I have created pages to comping some content and adding it into db. Here they are composing.php <html> <head> <title>Composing news</title> <script type="text/javascript" src="includes/jquery/jquery.min.js" ></script> <script type="text/javascript"> function reset_form() { document.getElementById("title").reset(); } </script> <script type="text/javascript"> $(document).ready(function(e) { // ready method make funtion available after the document has been loaded $("#submit").click(function(){ …

Member Avatar for dpste
0
4K
Member Avatar for vbmanDan

Trying to update the quantity column of a table in a database with the row being selected from a combobox and the quantity being added selected by a textbox. Try connection.Open() Dim command As OleDbCommand = New OleDbCommand("UPDATE Raw_Materials SET Quantity=+('" & Int.parse(TextBox1.Text) & "') WHERE Part number=('" & ComboBox1.SelectedItem …

Member Avatar for gusano79
0
224
Member Avatar for techyworld

hi i have my xml code below: [CODE]<?xml-stylesheet type="text/xsl" href="book.xsl" version="1.0"?> <books xmlns:xsd = "http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation = "book.xsd"> <book id="001"> <isbn>0465044050</isbn> <title>Birth of the Mind</title> <author> <firstname>Gary</firstname> <lastname>Marcus</lastname> </author> <publisher>Basic Books</publisher> <year>2004</year> <price>17.68</price> <picture>0465044050.gif</picture> <description>write your desc.</description> </book> </books> [/CODE] and here my xsl code: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" …

Member Avatar for ckalanam
0
2K
Member Avatar for alexandra.lopez.94043

I've had this error for today and I don't know how to correct it. Would someone please help me? My program would run but it would freeze for sometime Dim welcomemessage As String = "QUANTITY DESCRIPTION TOTAL" & vbCr Dim totalprice As Integer If Checkbox1.Checked = True Then welcomemessage = …

Member Avatar for M.Waqas Aslam
0
119
Member Avatar for mehidy

I am getting data from my order table in a html form, with its id under checkbox, now i want to select some id by checkbox & want to get the total quantity from the mysql table in a new html form/page. I hope, i am able to make u …

Member Avatar for dpste
0
567
Member Avatar for veledrom

Hi, I've started learning Python and want to find out how easy is creating GUI for a software. I used to use VB6 with Visual Studio and it was all about Drag and Drop items on a form. Do we have such thing or we just have to hand code …

Member Avatar for HiHe
0
2K
Member Avatar for 3e0jUn

I have a code for a game. money_file = open ('money.$','r').read() money_file = str(money_file) money = int(money_file) But everytime I run it, it returns an error: Traceback (most recent call last): File "C:\Users\eeo.j\Desktop\CX6 SDK\CX6 Normal\CX6.py", line 86, in <module> money = int(money_file) ValueError: invalid literal for int() with base 10: …

Member Avatar for HiHe
0
156
Member Avatar for da(code)da

Im not seeing it but its not working here is the code: mysql_select_db("my_db", $con); $sql = "CREATE TABLE stream ( waveID int NOT NULL AUTO_INCREMENT, PRIMARY KEY(gameID), userID int, wave varchar(25), waveTime TIMESTAMP DEFAULT NOW() )"; // Execute query if(!mysql_query($sql)) { echo "Couldn't do it"; } else { echo "alright"; …

Member Avatar for da(code)da
0
173
Member Avatar for extjac

Hello, i am working on PHP and jQuery trying to do a post with jquery. It seems to work in FF but IE is giving me several error: The follwing is the code i am using: <script> $(function() { $("#mainForm").submit(function() { dataString = $("#mainForm").serialize(); $.ajax({ type : "POST", url : …

Member Avatar for MarPlo
0
325
Member Avatar for tomer levi

# Heading Here # I have a button when i press it the following event starts that records from the microphone I want the while loop to stop after a certain time so i added a tick event from what i know after stating the tick is should take one …

Member Avatar for tomer levi
0
195
Member Avatar for rrajgor

<?php function fun1($a,$b) { echo $b; } @fun1(123); //want to store 123 in $b without changing position of any argument...... ?>

Member Avatar for veledrom
0
152
Member Avatar for djuran89

I need somting like this [Click Here](http://www.thewordfinder.com/scrabble.php) , but a want to type letters in separate <input> one <input> one letter. My script find just words with 4 letters if i type 'g','o','l','d' he find me just 'gold' but don't find 'old' and if have the same letters. I don't …

Member Avatar for svfox2000
0
246
Member Avatar for pateldeep454

Main.java [CODE] package scrabble; import javax.swing.JOptionPane; import javax.swing.JDialog; public class Main { public static boolean isDoubloon (String word) { int count[] = LetterHist.letterHist (word); for (int i = 0; i < count.length; i++) if (count[i] == 2 || count[i] == 0) continue; else return false; return true; } public static …

Member Avatar for svfox2000
0
343
Member Avatar for olegb

I have a web application that needs the identification or some uniqueness of the machine that is calling it. Based on that "id" of the machine the web application will provide information back relevant to that machine. I can certainly call my website with some unique Query params that will …

Member Avatar for pritaeas
0
256

The End.