199,113 Archived Topics
Remove Filter ![]() | |
I wish to insert an [B]swf[/B] files in ASP.Net, how can I do it? What is the code in ASP.Net? | |
what i am trying to accomplish is to have two elements lets say SEND and RECEIVE. when i click the element SEND i want the RECEIVE element to receive the effect. currently my script only effects the element itself: [CODE=javascript]var animElements = document.getElementById("send").getElementsByTagName("p"); for(var i=0; i<animElements.length; i++) { animElements[i].onclick = … | |
I'm not sure how far I have left to go with my coding, but after I enter my play then I want the computer to play, it just repeats its play over and over until I control c to get out. [code] #include <iostream> using namespace std; // Leave the … | |
I wrote a simple bubble game... but it look long and complicated... so any idea to short it down? i heard about class.. but i dunno how to use it.. so is my program can use class? or any idea to short it down? #include <iostream> #include <ctime> using namespace … | |
i am new to PHP. instead i learned the basic from w3schools and tizag. i'd created a registration form-like page using php tags, however when i uploaded to a php-based web hosting, i cant see anything..it juz show done in the browser status with blank page. Anyone kind enuf to … | |
What is wrong with this function? [code]// /////// // void GetData(int(IDs)[], float(Scores)[][4], int &i) { //GIVEN: One blank ARRAY, one blank 2D ARRAY, & a index variable. //TASK: Function retrieves data from open stream into multiple functions. Stores ID into one structure and all of the student's test grades into … | |
i have been trying to find a way to do it, but i can't seem to think of one. i need to do this: [CODE=javascript]var animElements = document.getElementById("resizercontainer").getElementsByTagName("p") for(var i=0; i<animElements.length; i++) { animElements[i].onmouseover = widthChange; animElements[i].onmouseout = widthRestore; } function widthChange() { if (!this.currentWidth) this.currentWidth = 150; doWidthChangeMem(this,this.currentWidth,170,10,10,0.333); } … | |
Hi everyone. I'm new to the forums, as well a C programming as well, so bare with me for any noob mistakes. I have a homework assignment I am working on now, and am just completely stumped. The assignment calls for the following The user is to input 10 words. … | |
I am working on an application to help ease some of the command line stuff for ruby on rails while i learn it. I have the app starting and stopping apache as well as MySql. What i am having trouble with is starting mongrel. I would like to start this … | |
wxPython.org seems to be unreachable! Anyone else having this problem? thanks - andrew | |
Hi, I am doing my final year project in visual studio 2005, and I am using a datagridview to populate all record from a given table. Well I wanted to know if there is a some kind of way that when the user clicks on a specific record from the … | |
I am unfamiliar with this syntax and am having trouble finding info about it... void MyTextCtrl::OnChar(wxKeyEvent& event) { if ( isalpha( event.KeyCode() ) ) { // key code is within legal range. we call event.Skip() so the // event can be processed either in the base wxWidgets class // or … | |
I'm writing a program to input a file called customers and output it as bills, but I'm not sure how to use ifstream. I've searched for quite a while and haven't really found anything useful. I'm probably doing it wrong though. Still new at this. [code] #include <iostream> #include <iomanip> … | |
[CODE]var s = document.getElementById('field[12]'); var cust_cc_exp_month = s.options[s.selectedIndex].value; // This displays the correct Value -- which is "0" for item #0 = "Please select..." alert("Month: " + cust_cc_exp_month.toString()); if (cust_cc_exp_month == "0") { // This code never executes! } Here is the HTML portion: <select id="field[12]" name="field[12]"> <option value="0">MONTH</option> <option … | |
I'm trying to write a program with a has-a relationship but the initialization isn't working. The error I'm getting is: [QUOTE] h:\oop labs\license retry\license2.0\license2.0\licenses.cpp(15) : error C2275: 'Date' : illegal use of this type as an expression[/QUOTE] [CODE=cplusplus]Licenses::Licenses(int id, string name, string ad, Date, Date) :issue_date(Date), expiry_date(Date) // error occurs … | |
Hi, Basically I am quite new to php but am currently connecting to a database and am trying to send data from one web page to another using the information selected in a hyperlink. The first web page contains a table populated will all options within the database e.g. if … | |
[code=c] int median (int numbers[], int length) { int i=0; printf("Please enter up to 10 integers.\n"); printf("Enter any letter to terminate input before 10 entries.\n"); for(i=0; i<10; i++) { scanf("%d", &numbers[i]); if(numbers[i]='ch') break; } } void sort(int numbers[], int length) { } void swap (int* n1, int* n2) { int … | |
Hello, There's probably a very simple solution to this but i'm having some trouble figuring it out. How do i enter X numbers into an array without using "enter" after each input ? I'd like to separate them with spaces. For example: int array[5]; when i'd enter numbers into it, … | |
I'd like to create a desktop widget for a PHP application. Any suggestions / insights on how to go about with it. | |
Can anyone please point me in the direction of a tutorial on parsing a binary file and extracting data. I want to search for file headers in Hex and export the files. Thanks | |
i have 1 question if new member (girl) open thread and 3 member reply hwo thread between 3 member come first??? | |
hi i want to print some retrieved data base content in the body(for email) please tell me how to do tat......... $body1 = "Your Resume Titled" $restitle "which was posted on " $day"; i want to know how will the syntax for sent be wen there is BCC and CC … | |
can somebody tell me about how can pass value from page to other page rathen than query string and cookies any other process .plz put some coading | |
Hi guys, ok so I'm trying to figure this thing with functions out and I've been sitting here for seriously 6 hours with half of it done. I am so confused, please help! The program is to track the amount and price of raffle tickets sold, and then add to … | |
[B]Hi! I make nws CMS for self. I added search function too. But I have problem. I save data with html at DB Sample: [ICODE]<font color=red>Some text</font>[/ICODE] When I search for string "some" I get this row. But when I search for string "font" , I also get this row … | |
Last week I had to make a dice rolling program that uses a one demensional array that stores and displays the number of times each sum of two dice appear. I completed this code with little effort. But this week we have to modify the code so that instead of … | |
Hello all: I was developed a simple descending timer , the problem was while it's execute and after I entered the value in the textbox ,, this message appear: (((Ontimer(): cross thread operation not valid "textbox1" accessed from the thread other than the thread was crated on ))) on timer … | |
Everything compiles, but after I input I just get an infinite loop. Is there something I can do differently to make it not loop? [code] #include <iostream> #include <iomanip> #include <string> using namespace std; // Program Description // This program will calculate test results for // a set of test … | |
[QUOTE]char str[] = "SACRED"; strcpy( &str[2], &str[3]);[/QUOTE] what the single & do ?? is it a typo of && ?? and what bout the other elements ?? won't the str[3] be repeater teice i.e SARRED ? | |
package jetman; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.*; //import java.util.Arrays.sort(); public class scoreList { String filePath = "Score.txt"; private ArrayList<Score> scoreArrayList = new ArrayList<Score>(); /** Creates a new instance of scoreList */ public scoreList() { FileWriter writer = null; try { writer = new FileWriter("Scores.txt"); } catch (IOException … | |
I'm making a fantasy game :D and after googled awhile I found some really cool model resource places (I bought some models here and there too they're all very nice) and wanna share them with you. Well, here they're: [url]http://3drt.com[/url] [img]http://www.3drt.com/3dm/characters/warrior/warrior_01.jpg[/img] [img]http://www.3drt.com/3dm/characters/amazon/amazon_10.jpg[/img] The price's kinda high but they have a … | |
[code=sql] CREATE TABLE users ( user_id int(10) unsigned NOT NULL auto_increment, username varchar(20) NOT NULL default '', password varchar(20) NOT NULL default '', PRIMARY KEY (user_id) ) TYPE=MyISAM; [/code] [COLOR="Red"][U]Questions:[/U][/COLOR] 1. What is the purpose of MyISAM? 2. What happen if I created the above table without MyISAM. | |
retrieving a dynamic dropdownlist value in an asp table | |
Howdy, I'm looking for an ASP programmer to produce 5 contact forms and associated form parser. We're more php kinda people, so we figure it would be easier to seek help. pm me and i'll give you the spec if it sounds like your bag. (please forgive me if this … | |
Can someone help me undestand each line of code. I used emu8086 for this program.. Any help will be appreciated! Title Fibonacci series ; Fibonacci series ; ; Write a program that generates the first 15 integers ; of the Fibonacci series {1,2,3,5,8,...}. Beginning with ; the third element, each … | |
I am trying to add child nodes to a Treeview list, I have the parent node and this is the code I have to add the child node: [CODE] parentNode = New TreeNode() parentNode.Text = Me.headerSelect.Text.ToString parentNode.Nodes.Add(Me.fieldName.Text.ToString) [/CODE] It doesn't do anything - no errors, no adding, nothing.. Also if … | |
Is there anything or keawords in PHP from which I can break or continue from a LOOP in PHP?? in C for(i=0;i<=100;i++){ statement1....; statement2....; if(condition1) break; else continue; statement3....; statement4....; statement5....; } I need something like this in PHP.. Can anybody Help me? | |
I need this translated in MIPS can anyone help me out? [CODE]#include <stdio.h> int n; int row[8], s = 0; bool safe(int x, int y) { int i; for (i = 1; i <= y; i++) if (row[y - i] == x || row[y - i] == x - i … | |
Hi all I have a table in which I save a record each time when a user checks in and checks out the office through a time in/ time out device(this device takes thumb impression of user, thus inserts record) table definition is as follows: checkInOutID (PK,int,not null) employeeID (FK, … | |
Hello to everybody. I am simulating a tree without a recursion, that is I have an array of leaf nodes and I want to go one level deeper. I wrote the following code: [CODE] #include <iostream> using namespace std; int main() { int* row; int root_row[1]; int row_size = 1; … | |
Hi experts this is an urgent question. how do you import and export database online? I have 2 equal database. I uploaded my FrontEnd(OPAC) and Database online. I have also a same database in my BackEnd(VB6) located in my computer. My problem is how do i update both database in … | |
Hi i have written following java application in java and now i wnt to convert it into java applet,so an anybody help me out,plz.thanx in advance. import java.awt.*; import java.io.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import java.text.*; import javax.swing.event.*; import javax.swing.undo.*; import javax.swing.text.*; import javax.swing.KeyStroke.*; public class mynote extends … | |
hi all... anyone know how to count files when it selected on dialog box.i use common dialog, but i didn't find any function to count selected files (multiselect properties is true). any help will be appreciated. thanks. | |
hey...can anyone show me what am doin wrong here?? cant get this program to loop till the user enters a character other than "y"....it prompts the first time and its a succes. prompts the second time but does not wait for response.... [CODE]#include <stdio.h> #include <string.h> #define LEN 20 main() … | |
Hi, I have been struggling to design a form, so that the form can be escalated from person A to person B, then person B to person C and so forth automatically. The person A only needs to click at a button (exp: confirmed?), then the form will be sent … | |
Hello everyone, can anyone tell me where i can find sample codes of basic vb programming of making a database..a sample program where it shows me how to add update search delete and all those stuff..or does anyone have that program here or show me anything? please cause i have … | |
Hi i want to bind a drop down list on the other drop down list selected index change event. i m using the following code--- ddlid.Attributes.Add("onchange","javascript:callfunction(this);") function is written in a seperate js file. this works in IE but not in Mozilla... plz give me the solution so that it … | |
This Header function is from VB. I am trying to do the same with C# using HttpWebRequest and having trouble. Can anyone help to show me what i am doing wrong? Here is a VB function which is sent using winsock. [CODE]Function Header(Question As String, Answer As String) As String … |
The End.