199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for supersuper

Hi there, I'm working on a small task to practice my (non-existing) java skills. I'm trying to write a program that reads a text file and replaces every character with a .wav file containing a musical note. A friend gave me some help, and with his help I made class …

Member Avatar for supersuper
0
105
Member Avatar for axiom70m

Hi, I got a problem which I can't solve and I will be most thankful if you can help me out. Ik got a gridview showing data from an XML file and before that data I've created checkboxes in the gridview. The user can select which if an image should …

0
77
Member Avatar for joseph2010

Hai.. Different type of service in asp.net? what is web service and remote service. if any explain to me.

Member Avatar for dnanetwork
0
69
Member Avatar for somilbansal

I am tryin to embed youtube in my webpage. I am a starter so i might be doing something wrong here. can any please help me on this. I have included the swobject. [code=html]<html> <script type="text/javascript" src="swfobject.js"></script> <div id="ytapiplayer"> You need Flash player 8+ and JavaScript enabled to view this …

Member Avatar for peter_budo
0
89
Member Avatar for thecoolguy

hi, Please can any one help me out with providing me the code to create a windows application in which if a select a folder and a type of file for example if i select .txt file it should copy all the .txt files present in that folder to the …

Member Avatar for thecoolguy
0
84
Member Avatar for Cactusmania

Hi guys, I have two richtextboxes that contain text. I want to go through each line and if a difference is found, it highlights that line on both textboxes and it would be good to highlight the difference itself too. I have attached some code I have written. Note some …

Member Avatar for Cactusmania
0
186
Member Avatar for Cap'nKirk

Looking on the web there are many, many people trying to sort out how to overcome the INT rounding in programming and now I am one of the many. Having said that there are lots of seemingly good looking answers to the problem, I have not found one that works …

Member Avatar for Cap'nKirk
0
117
Member Avatar for silentbob671123

8:16 pm on Apr 28, 2010 (utc 0) I currently have a website that I am using SPRY Accordion on for the navigation. anu-d dot c o m When I try to add another javascript element the SPRY Accordion stops working and the javascript element I am adding does not …

Member Avatar for fxm
0
121
Member Avatar for bahnini

hello there u said if any body need help u can help them so plz i need ur help with this i did a program in java gui (temperature converter) and i just need the program to print the result in a text file so plz plz plz help me …

Member Avatar for bahnini
0
128
Member Avatar for tones1986

Hey all - I have created an ArrayList as follows: [code]ArrayList<Object> arList = new ArrayList<Object>();[/code] The arraylist contains the following - every time it will have the same data ... either filled or considered ""; String - transaction type String - name String - ssn String - address int - …

Member Avatar for JamesCherrill
0
354
Member Avatar for fredted40x

Hi, Im trying to use a listBox to search some objects, it then adds the object to the listbox if it meets the condition. So far i have this. [CODE]foreach (Order ord in Form1.cutomerArray) { Order searchCust = (Order)Form1.cutomerArray[i]; if (searchCust.FirstName.ToLower() == txtFirstName.Text.ToLower())//if match is found { lstbSearch.Items.Add(searchCust);//add object to …

Member Avatar for fredted40x
0
134
Member Avatar for soumya_mjmder

Hi..i am new with xml and xsl. I have the input xml as: <?xml version="1.0" ?> <Employee> <EmployeeDetails EmployeeName="JohnnyWalker" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> -------------------------------------------- I want the output xml as: <Employee> <EmployeeDetails JohnnyWalker="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> i need to do this using xsl.....can anybody …

Member Avatar for fpmurphy
0
2K
Member Avatar for blazted

I have a combobox that is populated by a SQL querry. Problem is the first item of the comboBox where normally the comboBox.text go is blank. You have to drop down the menu item for the items to appear. I want to comboBox to populated with the first item in …

Member Avatar for kvprajapati
0
113
Member Avatar for Teachme

Hello all, I have a problem binding a combobox in a windows form, what i'm trying to do is the following: I need to bind the combobox to a column (ex: customerID) in a dataset. this column is a foreign key. howerver, I want the datasource of the combobox to …

Member Avatar for Teachme
0
189
Member Avatar for Stivdion

This program is suppose to read a line of text and find out if its a palindrome or not(a palindrome is a line of text that has the same sequence of letters both forward and backward. but so far its only reading one line. and its not getting it right …

Member Avatar for Stivdion
0
83
Member Avatar for Lee21

guyz,can you help me in importing an excel file?first the program should be able to browse for an excel file and then,the values in an excel file will be imported to the datagrid and save all the data in the database.. I needed it for my project! hope you help …

Member Avatar for Lee21
0
124
Member Avatar for raymondhsu09

Hi everyone, This is the error i am getting when i try to do SqlCommand.ExecuteNonQuery(). My application runs on multiple threads and constantly opens, executes and close connection. This error i am getting after running the application for some time. Error: System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results …

Member Avatar for raymondhsu09
0
515
Member Avatar for rkp728

Using visual studio 2008 I created a small vc++ project and ran it using the exe created. The problem is the exe runs fine on my PC. But when I tried to run the exe on an another PC it gave the error "The application has failed to start because …

Member Avatar for rkp728
0
152
Member Avatar for Encrypted

Yesterday I setup a message/note script for a "view project" page. It seemed to work fine. Today I went to test it out a bit more and on random occasions I get stuck in a confirm loop. Screenshot: [url]http://rawrgv.com/images/screenlnl.png[/url] I tried unsetting the form submit variable, but that doesn't seem …

Member Avatar for Encrypted
0
100
Member Avatar for localp

[CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>JavaScript Window Open Example</title> </head> <body> <SCRIPT language="JavaScript1.2"> function openwindow() { location('http://www.google.com','_self'); } </SCRIPT> <P> <input type="button" value="Replace Me!" onClick=" window.location = 'http://www.google.com/' ; "> <A href="javascript: openwindow()" >LINK 1</A> </P> <P>Back to the article:<br> <a href="http://google.lk" target="_self">LINK 2</a> </P> …

Member Avatar for Agent Cosmic
0
193
Member Avatar for tarheelfan_08

Hey guys, I am working on creating a dynamic queue and I am having some problems. I got my code wrote to set up the actual code but I am unsure how to put my information in and print it. I need to enter the following information in my queue …

Member Avatar for tarheelfan_08
0
183
Member Avatar for jemz

hello can you help me, i make exe file on my project but the problem is that when i separate the exe file in my folder where my project is stored. it will not run..but i want only my exe file and put it to my flashdrive without the folder …

Member Avatar for jemz
0
228
Member Avatar for ecrockers

Hi all, I need your help.I have a textbox and combox with button functioning completely as search option which is working fine. when i go to the next page and come back to the previous I want to retain the search condition which i selected previously.What I am doing now …

Member Avatar for ecrockers
0
106
Member Avatar for Darkicon

I'm writing a program that gathers a list of files within a directory and optionally, every file within the subdirectories (10 levels deep) of the directory then exports it as a text file. I have no idea how to do this so I just attempted to code it myself. It …

Member Avatar for Darkicon
0
104
Member Avatar for realnsleo

Hi guys, i read an article from <http://www.scratchprojects.com/2006/02/sample_article_tic_tac_toe_p01.php> and got this really cool approach for development of Tic Tac Toe (am sure u all know it) in VB. However i am using sharp develop 2.2.1 to edit anf compile my code and it's working fine. I combined all the code …

Member Avatar for kvprajapati
0
209
Member Avatar for toocoded

Hi everyone, I really need to figure out how to manipulate the Multiview control with a dropdown list control. Also, what is the C# equivalent to this VB Code [CODE] MultiView1.ActiveViewIndex = RadioButtonList1.SelectedValue[/CODE]The following does not work... [CODE] MultiView1.ActiveViewIndex = RadioButtonList1.SelectedValue; [/CODE] Anyone please help, i'm coding with C# and …

Member Avatar for kvprajapati
0
171
Member Avatar for davronrshkent

Hi guys i need help in algarithm code. thanks Remove All Occurrences For this problem please start with the code provided in file list_reversal.cpp. Add a new function to this code. The function should take two parameters: a list head and an integer. The function should remove all elements of …

Member Avatar for VernonDozier
0
92
Member Avatar for ravi1986

This is a blackjack program using array. It works in Devc++ but doesn't work in visual C++.I think I am missing some kind of header files could anyone help me out? my email is .... thanks [code] #include <iostream> #include <ctime> #include<iomanip> #include <string> using namespace std; void deal(int,int&,int& ,int[][2],int&,int[][2] …

Member Avatar for Lerner
0
2K
Member Avatar for flyingcurry

Beginner in Java. I am trying to find the highest value and lowest value of an array. The highest value works perfectly fine, while the lowest value keeps on giving me 0, even though 0 is not part of the array. Below is the code. Thanks. [CODE] mxm = n …

Member Avatar for moutanna
0
99
Member Avatar for dwayned

Hi Guys, I am currently creating an application to track timekeeping (a clock in/out system) and I am trying to work out the best way to do this. I have a Main Form which contains buttons to ; - Log in - Out for Break - In from Break - …

Member Avatar for dwayned
0
132
Member Avatar for dad45

I have an open source program that I want to use & associate with my New program. Started the new program with FileNewApplication. I then added the unit SerialNGBasic. When compiling I get an error (halts) in procedure TForm1.Button1Click(Sender: TObject); of Unit1/Main form. Any hints? Tks Vern Attached is the …

Member Avatar for dad45
0
170
Member Avatar for flyingcurry

Hi, I'm new to Java. Bumped into an error when doing a program. The code below will basically explain everything. This error [CODE]java.lang.ArrayIndexOutOfBoundsException: 15 at randomintegers.main(randomintegers.java:43)[/CODE]keeps on showing up and the program will not execute further. If anyone can help me soon it would be great! Here is my program …

Member Avatar for flyingcurry
0
98
Member Avatar for SacredFootball

Hey all. I don't have any experience with vectors so I'm looking for a little guidance. I don't want the answer, just a direction to take. I've looked up vectors on cplusplus.com but I couldn't understand exactly how they work in order to code them into my program. Here's my …

Member Avatar for VernonDozier
0
134
Member Avatar for Froger93

Hello again, After my previous post I have tried to convert all my jQuery into JavaScript with success. UNTIL I looked at it in Internet Explorer and again it threw a wobly and is now having a go at my [icode]--.style.display='block'[/icode]'s. It says that it is not a function. So …

Member Avatar for almostbob
0
106
Member Avatar for gymangel812

i'm having a few problem with my phone book program: 1. If the any of the buttons have empty fields, I need to display an error message. How would I do that? Some sort of try/catch statement or if/else statement? 2. I'm a bit clueless as how I would go …

Member Avatar for moutanna
0
130
Member Avatar for Coleman0610

Okay, I"m developing a program for community service for a local company. It is my first point of sale but I'm only seeing one complication. I've chosen php and it will be storefront only. The Reason its php is because they want to allow vendors to view how much they've …

Member Avatar for JRM
0
86
Member Avatar for lmn_k

Hi all. I'm taking a beginner python course and have an assignment to write code using a 'for loop' + 'named variable' + 'branching logic' Trouble is, I have no idea what 'branching logic' is - if anyone has the time to respond, I'd really appreciate it!

Member Avatar for lmn_k
0
105
Member Avatar for smcp

Hey guys, I'm looking to add on to a recent program of mine that uses classes. My next step is to add in a working overloaded equality function in order to compare the gross pay of two Employees within the class. Now, I've read up on this quite a bit …

Member Avatar for mbulow
0
725
Member Avatar for ajay_p5

Hi well I am facing some problem while trying to concatenate contents of several files, present inside a folder. My code gives an error: ./test.sh: line 17: [: =: unary operator expected and in similar lines Attached is the code: [CODE] #!/bin/bash str1="test_concatenated_RAxML_outputs.txt" str2="r_test_concatenated_RAxML_outputs.txt" str3="m_test_concatenated_RAxML_outputs.txt" str4="n_test_concatenated_RAxML_outputs.txt" str5="h_test_concatenated_RAxML_outputs.txt" for line in …

Member Avatar for griswolf
0
205
Member Avatar for jaferic

Hi, i am currently developing a standalone aplication in python, i am very new in this language so i don't know much of it... I need your help, i need to know a way to communicate python and AS3 so i can move the animations with some data that comes …

Member Avatar for jaferic
0
187
Member Avatar for manutd4life

hello everyone, i need to modify these code: [code=c]#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int numOfStars = 0; int count, counter; do { printf("N="); scanf ("%d",&numOfStars); for( ; counter<=numOfStars; counter++) { for( ;numOfStars>0; numOfStars--) { if (numOfStars != 9999) { for (count = 0;count < numOfStars; …

Member Avatar for abhimanipal
0
209
Member Avatar for rootchord

Writing a function to search an array for a value and return the index if found. in finding what the size of the array is for use in the while loop condition i found that here inside the templated function sizeof(data) comes back as 4(it should be 40) but when …

Member Avatar for green_frog
0
515
Member Avatar for slicer

Hi I am trying to compute the modulus of two numbers in assembly code. As I am more fluent in C++ it is hard for me to understand the concept of modulus as all I use is the symbol % to compute. The problem I am doing is computing the …

Member Avatar for slicer
0
12K
Member Avatar for bgx90

Can anyone tell me why setprecision is causing this error at runtime: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted The program ran fine; after I added << setprecision(2) << to a series of output, I received the error when trying to run the program. I have …

Member Avatar for bgx90
0
119
Member Avatar for nats01282

Is it possible to create a piece of code that can learn? like a robot? e.g if it see's a picture of me, the code will learn and understand that the picture is me every time it see's it??

Member Avatar for nats01282
0
106
Member Avatar for PTRMAN1

I'm having a bit of a problem using enum variables. The program below compiles just fine, but the output program at the end is blank. Any hints? [CODE]// Program Reformat reads characters from file DataIn and // writes them to DataOut with the following changes: // all letters are converted …

Member Avatar for PTRMAN1
0
173
Member Avatar for egoche

Please bear with me as I'm new to PHP. Yesterday, I was working on an HTML form and everything was working fine (PHP would process the information and send an email as expected), but when I started this morning nothing happens. A couple weeks ago I installed WAMP using mostly …

Member Avatar for egoche
0
120
Member Avatar for gjames

How do I load an older version of 'xerces-j 1.4.3' and 'xerces-j-docs' into eclipse so I can use the api's? I've looked at the Eclipse doc, and I'm not finding a direct reference to this which makes me think I'm not grasping some important concepts conerning plugins, and features. Below …

Member Avatar for gjames
0
73
Member Avatar for LloydFarrell

hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session …

Member Avatar for qazplm114477
0
7K
Member Avatar for tallygal

Can someone tell me if this is write? Rewrite the following if/else/if structure as nested if elses. [code] if (status == ‘P’ && amount >= 10000) due_flag = true; else if (status == ‘P’) time_remaining - = 1; else if (status == ‘O’) { time_remaining = 0; warning_flag = true; …

Member Avatar for tallygal
0
90

The End.