199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bharathisankhya

Hi All, Iam using RSF, I need to clear a form after user clicks on submit button using onLoad function in Javascript. Can anyone give me the solution. immediate help is appreciated

Member Avatar for Dean_Grobler
0
82
Member Avatar for emhmk1

Hi Everyone. I'm having a hard time getting my head around the concept of this and kind of need it spelling out for me. as things stand the user uploads a video and then my script converts it without the user being able to do anything, however this, i know, …

Member Avatar for emhmk1
0
174
Member Avatar for taumang

this program does not read display smallest and largest values in order [ICODE]#include<iostream> using namespace std; int main() { int sum; int product; double average; int x,y,z; int largest; int smallest; cout<<" Enter Three Integers of your Choice "<<endl; cout<<" *********************************** "<<endl; cin>> x >> y >> z; cout<<endl; smallest …

Member Avatar for gl7
0
3K
Member Avatar for kchyn

Hi, I'm programming something for a micro-controller and I need a compiler that can turn c++ into .bin Anybody have any idea where to get one?

Member Avatar for ziggystarman
0
366
Member Avatar for kipslem

Hello, Could someone please help me with this problem? I have developed a small application that calls up several powerpoint slideshows that are saved as .pps. The user interface screen has a textbox, when the user enters the file name of the powerpoint it is called up, but it opens …

Member Avatar for kipslem
0
293
Member Avatar for kao

Firstly, apologies for the lack of commenting, it will be commented when the program works properly (lol), I'm creating a program which creates a test harness for 3 subjects, employees. This will display their name, ID and payrate per hour, it will then calculates the total amount in 37.5hours. Again, …

Member Avatar for rubberman
0
78
Member Avatar for P00dle

g'mornin peeps. I'm going for an interview tomorrow at a company that uses the ZEND framework. As such, I have been reading up on it, as well as MVC among other things. The question I'm asking is about the ZEND controller action. Could someone please point me to an example …

Member Avatar for P00dle
0
198
Member Avatar for SMITA6076

[B]For the error and my question, skip to the bottom. I just posted all of the code in case it's needed.[/B] [CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and …

Member Avatar for SMITA6076
0
254
Member Avatar for Butum

Hello again guys, I've created a bubblesort function to sort a string in chronological order, it is as follows: [CODE]void playerSort(int player, double ppg[]) { int i,j; char a[999][15]; char temp[15]; /* Converting LF into String */ for(i=0;i<player;i++) { sprintf(a[i],"%.2f",ppg[i]); } /* Sorting Array */ for(i=1;i<player;i++) for(j=0;j<player-i;j++) { if(strcmp(a[j+1],a[j])<0) { …

Member Avatar for yashsaxena
0
114
Member Avatar for floatingDivs

Hey guys, I'm interested in PHP and was wanting to get better. I figure there is at least a handful of active members who are college students and wouldn't mind learning more PHP. My offer is to create our own, unique, open-sourced educational CMS similar to Blackboard or Angel. It …

Member Avatar for jogesh_p
0
155
Member Avatar for Mkmd13

Hey I am almost done with my hangman game for java but Im having a tough time in getting the last bit of it. I have included ALOT of comments for you guys to help me out with it. [CODE]import java.io.*; import java.util.*; import javax.swing.*; public class Hangman { public …

Member Avatar for VernonDozier
0
183
Member Avatar for deepas

hi i need a dot net application that would run in active directory. application copies the new exe file from server, rename existing file & paste the copied file in client pc. how can it be done? thanks

Member Avatar for deepas
0
171
Member Avatar for lxXTaCoXxl

Okay so I've been running into trouble, I've figured out the majority of it. However, I can't seem to figure out how to save the location of a button. I could do it my way but my way is really ghetto and not recommended. The way I would do it …

Member Avatar for abelLazm
0
215
Member Avatar for jimJohnson

I was working on this program a year ago and wanted to check something on it but I have some errors on it and was wanting to know if someone very knowledgeable and take a look at this and offer me and advice to make it run. I get some …

Member Avatar for mike_2000_17
0
150
Member Avatar for DaveTran

I would like to allow only certain keys to be valid for my TextBox control. I have set it up as follows and it works fine. [CODE] private void TextBox_MapInputMin_KeyDown(object sender, KeyEventArgs e) { if (!IsFloatingPointTextBoxValid(e, textBox_MapInputMin)) { // 'Handled' property stops key from being entered into the control e.Handled …

Member Avatar for abelLazm
0
158
Member Avatar for manugm_1987

Can anyone please help me in finding out whether the below code causes memory leak or not. If it doesnt cause leak wat modification i can do to make it leak. Thank You Here is the code in FORM1 [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using …

Member Avatar for Momerath
0
189
Member Avatar for vishy1618

I recently went and compiled my Tkinter application into a standalone app using py2exe. It seems to work when python is installed on the computer but when it is not installed, it shows the error - 'This application is not configured properly. Reinstalling the application may help', I read elsewhere …

Member Avatar for tinchopique
0
448
Member Avatar for Slyvr

I have my code set up so I can 1)select what image and 2)the coordinates of the mouse click where the image is going to be placed. What it currently does it place the right image in the right coordiantes but if I click again somewhere else, it replaces the …

Member Avatar for Slyvr
0
126
Member Avatar for sackymatt

Hi all, i have a table "Contracts", with fields CompanyNumber, MaturityDate and other fields. i have a form in vb.net, with a textbox that should check if the entered company number exist in my db, if it does it should check whether the maturity date is bigger or less than …

Member Avatar for prvnkmr194
0
376
Member Avatar for Kuroshi

I have been trying to make my program load the images while using web start with no success. The following code is inside an extended JButton class. Image is a string containing the address of the desired image ("0.jpg", for example), I know that this would only work if the …

Member Avatar for Kuroshi
0
143
Member Avatar for MasterGberry

Made a small project to help compare two files that I am testing...but for some reason the line I highlighted isn't working as its supposed to. I originally had [CODE]c1 != c2[/CODE] and then changed it to [CODE]!strcmp(c1, c2)[/CODE] Maybe its a dumb logic bug, but would appreciate some help …

Member Avatar for WaltP
0
113
Member Avatar for Mizki

How to write the recursion code in calculating the sum of the array elements at odd value? I understand the factorial example using recursion, but I am having a really big trouble when writing the recursion codes to perform anything else on my own :/ Please help with this task …

Member Avatar for Mizki
0
3K
Member Avatar for Lardmeister

I am having a problem setting the initial value in the new Tkinter tix module. Can anyone help me out? [code]# explore the tix.ComboBox() # the Tix (Tk Interface Extension) module comes with the # Python27 and Python31+ installation try: import Tix as tix # Python27 except ImportError: import tkinter.tix …

Member Avatar for Lardmeister
0
1K
Member Avatar for jarograv

I have a code designed to show the different spaces a knight can move to in a standard chess game. It needs to be a function created that outputs the possible spaces in tuples. I can't figure out how to make the output in tuples and I would appreciate it …

Member Avatar for TrustyTony
0
1K
Member Avatar for mark103

Hi guys, I am new on this forum and I would like you to help me out regarding to the actual errors that I have got. I am using managed c++ as I have switched over from vb.net, however I need your help because I couldn't figure out the solutions …

Member Avatar for sergent
0
255
Member Avatar for yancouto

Hi everyone, I'm trying to create a program that you can use to communicate to other people with the same program. It connects to a Server program that gets your message an send it to everyone. I found 2 problems that I haven't been able to solve. The first one …

Member Avatar for yancouto
0
798
Member Avatar for lxXTaCoXxl

Most web browsers print the web site's title in the form text. So I want to do the same thing on navigation if possible. [code]// Only prints the URL. So please help. string siteName = webBrowser.Url.Host; this.Text = siteName;[/code] Much thanks!

Member Avatar for Momerath
0
103
Member Avatar for freshfitz

Can anyone get this to work? You can download the code here [url]http://www.mattgifford.co.uk/sexy-fi-login-forms/[/url] but i can't get it to read a success from checklogin.cfm index.cfm [CODE]<!--- Name: index.cfm Author: Matt Gifford aka coldfumonkeh Date: 11/08/2010 Purpose: Login form to demonstrate the use of the jQuery UI's shake effect. ---> <!DOCTYPE …

Member Avatar for freshfitz
0
408
Member Avatar for scarlettmoon

Hi ~ I am getting a strange [B]RunTime Error[/B] while debugging my code. Run-Time Check Failure #2 - Stack around the variable 'player' was corrupted. Code is below. Would love some help on this one. Thanks. ps ~ I realize that system("pause") is frowned upon but it is what we …

Member Avatar for scarlettmoon
0
134
Member Avatar for AliRaiz

Implement a class Person with two fields name and age, and a class Car with three fields: (1). the model, (2). a pointer to the owner (aPerson*), (3). a pointer to the driver (also a Person) Write a program that prompts the user to specify people and cars. Store them …

Member Avatar for mike_2000_17
0
521
Member Avatar for brixton d

hey i need a to write a program that when given an interger reduces it to prime factors. the interger is guarenteed to be less than 900

Member Avatar for TrustyTony
0
130
Member Avatar for Bazzaah

Hi I'm building a site that contains access to some mp3 files of people speaking English. I would like a media player that is able to handle a variable that results from a database search. I can use <a href etc> to link to the relevant file but would like …

Member Avatar for Bazzaah
0
108
Member Avatar for daviddoria

I was wondering if I partially specialize a class (which I'm understanding to mean hardcode some of the template parameters?) if I have to implement all functions or if I can just implement some functions. I put together a demo: [url]http://programmingexamples.net/index.php?title=CPP/Templates/PartialClassSpecialization[/url] Where in the main class definition there are two …

Member Avatar for mike_2000_17
0
589
Member Avatar for ashley11

i have a problem about compare arrayList and sortedlist. my arrayList are shown below: 1 2 1 3 1 2 2 3 1 2 3 1 3 2 3 1 2 3 my another sortedeList are shown below: (1): 4 (2): 4 (1 2): 3 (3): 4 (1 3): 3 …

Member Avatar for ashley11
0
123
Member Avatar for benmar

alo guys,, do you have turbo c installer please send me a link where to download i need it, i want to practice c programming language... thanks

Member Avatar for Adak
0
223
Member Avatar for wolfrain63

I am taking a software engineering class this semester. For our semester project we have to create a chess simulation that picks pieces randomly and moves randomly to see if a game can make a infinite amount of moves without either side winning. I have the coding finished and know …

Member Avatar for rubberman
0
97
Member Avatar for Loki55

So I need this to print when vowel you entered instead of just telling you that you wrote a vowel. I'm straight up not sure how your suppose to do that! I went ahead and wrote the code for inputting vowels not sure whats next. [CODE] #include <iostream> using namespace …

Member Avatar for WaltP
0
120
Member Avatar for SMITA6076

I have a [ICODE]JFrame[/ICODE] window to which I am trying to add 3 panels. One panel is for input (text areas and their labels which I already have arranged within the panel), one is for a set of buttons, and one is for output. I want the the input and …

Member Avatar for JamesCherrill
0
395
Member Avatar for Tinee

Hi, I need suggestions on how to count the words, letters, characters on a file . I created a program of it however, when i use the "seekp(0L,ios::beg);", it doesn't go to the beginning. I want to just close and re-open the file but I think there is a better …

Member Avatar for WaltP
0
79
Member Avatar for ispiro

Calling “paint” should be by: [CODE]System.Diagnostics.Process.Start(@"C:\Windows\System32\mspaint.exe");[/CODE] Am I right? What’s the minimum code around it needed to make it work in a windows form application?

Member Avatar for Creelers
0
91
Member Avatar for noamwegner

Does anyone know if i can write a generic javascript function that check the file extension of the uploaded files and if the extension is incorrect erases the value because the user upload's more then one file i want to get the ID from the form something like: [CODE]fileselectedchange(obj) { …

Member Avatar for Luckychap
0
4K
Member Avatar for Sarama2030

just started out on php, kinda having problems configuring the language (php), the database server and the web server on windows 7. what could i not be doing right. I have edited apache's conf file to use php and stuff. One problem is that i have IIS running as the …

Member Avatar for dottomm
0
171
Member Avatar for NvIs

Well I'm working with structures and need some help with a program. Now if the user chooses to deposit more, I need it to add to the last amount entered... But I'm not sure how to go about doing so. [CODE]#include <iostream> using namespace std; struct the { int num; …

Member Avatar for NvIs
0
92
Member Avatar for kieky

Hi, This is my code : [ICODE] Microsoft.Office.Interop.PowerPoint.Application application = new Microsoft.Office.Interop.PowerPoint.Application(); string filePath = Server.MapPath(@"~\\Staf\\TestDoc\\" + strFileName.ToString()); Microsoft.Office.Interop.PowerPoint.Presentation pptPresentation = application.Presentations.Open(filePath, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse); application.Visible = Microsoft.Office.Core.MsoTriState.msoTrue; StringBuilder sb = new StringBuilder(); int page = pptPresentation.Slides.Count; for (int num = 1; num < page + 1; num++) { Microsoft.Office.Interop.PowerPoint.Shapes …

Member Avatar for neter
0
261
Member Avatar for livinFuture

I've been scouring the internet and my textbooks and haven't found any good explanations about how to incorporate hexadecimal numbers into my C++ code. I am currently working on a program that acts as a simulated computer environment to run a simulated machine language in the console a maximum of …

Member Avatar for WaltP
0
451
Member Avatar for debasishgang7

Hi,i want to access the filename of a any file using python.Ex. Suppose a folder contain some files Picture1.jpg,picture2.jpg,mypic.jpg..etx i want to make a program which will print all the file name Picture1.jpg picture2.jpg mypic.jpg of the certain folder.And the folder can have random file name but with .JPG extension. …

Member Avatar for TrustyTony
0
110
Member Avatar for rose2020

anyone can tell me how to use and reset hashset and intersect? hope someone can help me..thank you so much.

Member Avatar for ddanbe
0
85
Member Avatar for techie929

Hi, I have written a small piece of code to display a text box and submit button next to it. The submit button is displayed properly in all browsers except in safari the position of the search box is shifted to left. Is there any way I can fix it? …

Member Avatar for Luckychap
0
103
Member Avatar for masih906

Hi everyone , I'm learning C for couple of months and now I have a project in which I have to make the snake game in text enviroment !! So please someone tell me how can I do that and what I need to learn ?? remember it just has …

Member Avatar for masih906
0
92
Member Avatar for masocha

l am making an jax call and the data is coming back fine inserted into the specific div correctly. However my css is broken after the AJAX call. the h1 are too big some menu items disppear. See code below jQuery('#section').change(function() { jQuery('#loading') .bind('ajaxStart', function() { jQuery(this).show(); }) .bind('ajaxComplete', function() …

Member Avatar for Amr87
0
1,000

The End.