199,124 Archived Topics
Remove Filter ![]() | |
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 | |
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, … | |
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 … | |
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? | |
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 … | |
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, … | |
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 … | |
[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 … | |
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) { … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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) { … | |
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 … | |
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; … | |
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 … | |
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 … | |
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. … | |
anyone can tell me how to use and reset hashset and intersect? hope someone can help me..thank you so much. | |
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? … | |
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 … | |
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() … |
The End.