199,114 Archived Topics
Remove Filter ![]() | |
Hi everybody, What should I do in order to add an [COLOR="red"]onkeyup="foo();"[/COLOR] to an input box but without writing the [COLOR="red"]onkeyup="foo();"[/COLOR] inside the input field declaration? Usually you do: [CODE]<input type="text" name="hello" value="" class="input-tags" onkeyup="foo();"/>[/CODE] But I want to do something like this: [CODE]<script type="text/javascript"> document.getElementsByName("hello").item(0).addEventListener('keyup',foo(),true); </script>[/CODE] and leave the … | |
Hello, I need to generate graphs(nodes&links) on a web page in python. Please, could anyone suggest libraries/modules which could be used for it? I know about web graphics in Perl, but don't know about python. | |
Hey guys, I know there is LOTS on the web with regards to learning resources and tutorials on javascript but I was wondering if you nice people could point me in the direction of a few websites that teach you the 'right' way of doing things? I'm a total noob … | |
![]() | I've been searching the net for a strait answer on how to do this. My website is based on an affiliate platform. PHP image upload. Examples: My site: [url]www.mysite.com[/url] There Site: [url]www.mysite.com/userId.php[/url] My members have the exact web page I have except, they have there own Unique URL. All I … |
I have these code below for the button : [CODE] import java.awt.*; import java.applet.*; import java.awt.event.*; public class Coba extends Applet { Button button1; public void init() { Font font = new Font("TimesRoman",Font.BOLD,16); setFont(font); button1 = new Button("Level Easy"); resize(250,250); LevelEasy lvleasy = new LevelEasy(); button1.addActionListener(lvleasy); //button1.addActionListener(this); add("Left",button1); } private … | |
I am doing a cash registry program and I want to use a multidimensional array. May someone give me a sample code for it. The sample code must be as simple as possible just for my reference. Reply will be appreciated very much. | |
hi i hav problem with ms acess conectivty and Jsp plz help thanks in advance | |
Hey Guys, I have a Vista Home Premium SP 1. I installed Visual Studio 2005 n it was working fine until today. When i tried to open VS 2005 it gave the following dialog box: "One or more components missing. Please reinstall the application" First of all i repaired the … | |
Hi all, I have installed tomcat 5.5 , now i want to run a simple servlet programme, on web browser, how do i deploy my folder into tomcat 5.5.....i am giving [url]http://localhost:8080[/url]. its giving page cannot be displayed......... please help me out. | |
hi, i am going to create a pagination in php in basis of retrieving the data from the database. i tried to combine two different query result in same pagination but i don't get the desired result. here is my code:- [CODE] <?php include 'mysql-connect.php'; $qs=$_REQUEST["qs"]; $d=$qs; $a=$d; if (isset($_GET['a'])) … | |
Hi, I am using Crystal Report 8.5 to prepare my Report and I want to convert the figures under currency to be converted automatically while printing the report. e.g If I enter 234 in my field kk than under text field hh it should be automatically written as two hundred … | |
[code]' Add template and surname to database. Returns added template ID. Public Function AddTemplate(ByRef template As TTemplate) As Long Dim da As New OleDbDataAdapter("select * from Biodata", connection) Dim txtsurname As System.Windows.Forms.TextBox txtsurname = New System.Windows.Forms.TextBox() ' Create SQL command containing ? parameter for BLOB. da.InsertCommand = New OleDbCommand("INSERT INTO … | |
Hey, I was wondering how (if it's even possible) to create my own compiler directives. Any help? | |
[B]I have a combo box to select different types of data in the database, the listview will be filled with data according to its category based on the combo box. The problem is, when i click on that first index of the combo box, it fills the listview with the … | |
i'm try to send many picture using socket programming in VB 2005 from client to server. but, after i run the program, only the first picture that reach destination server. and there is an error saying that my socket are no longer connected after the first picture are sent. client … | |
Hi all, I need help regarding following problem. I'm getting HTTP get responses from a program(Kannel) periodically. The HTTP is in the following format. "http://localhost/sms.php?A=10&B=abc" I want to know whether is it possible to get the values of A & B using a Java program (not JSP) as soon as … | |
I am trying to setup a tomcat server in eclipse galileo java ee to test a servlet. I have web tools installed also. I created a server but when I go to my web browser and go to [url]http://localhost:8080[/url] I get an http status 404 error. My server is started … | |
I want to update my database( using a file from my root folder ) every hour even when my web page /form is not opened in the browser.... Please help Thank u | |
Hey All I'm having a tad of trouble with a couple of WCF services I've built, and it's with LINQ. Having written the service, which uses LINQ to SQL classes, I am now trying to test it. Now the Service builds perfectly, but Whenever I try to use any of … | |
i created a custom installer as a custom action for my setup project in order to install some cab files to pocket pc using active sync. the custom installer class library project gives an error but i dont know how to debug it. do you have any ideas? | |
How to make a constraint to check if the entered time is in valid form? | |
[QUOTE]Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this … | |
I have created a custom error page for 404.13, which is what occurs when a user attempts to upload a file larger than a size set in the config files under maxAllowedContentLength. I want my .aspx file to say something like: Maximum allowed file size=________KB Trouble is, I can't figure … | |
This is probably quite obvious but i am new to .net if i create a form and then have a sumbit button that is something like [CODE] public void SubmitButton_Click(object sender, EventArgs e) { String name; Int ref_no; ref_no = this.REF.Text; name = "this.NAME.Text; return name, ref_no; }[/CODE] Then that … | |
My web application developed on O.S. ====Windows XP Professional IIS ------- IIS 5.1 Dot.net framwork 2.0 AjaxControlToolkit----ASPAJAXExtSetup.msi Database – Access2003 But when I access that application and do some of task on web page like add,modify or delete, below given error occured. Please do the needful if you have any … | |
I have a cardlayout of pictures but i want to know if i can produce some special effects like they have in MS Powerpoint where the picuture slides can fade in/out or swirl into or out of the panel or display text words one at a time, etc. Is it … | |
Hello, I'm learning Ruby, and i want to know how to compress files using Ruby. Thanks, Nathan Paulino Campos | |
Hello, I'm learning C++ and i was trying to use the [i]zlib[/i], but i'm getting some errors when trying to compile my little project. Here is the code: [code=cplusplus]#include <string> #include <stdexcept> #include <iostream> #include <iomanip> #include <sstream> #include <zlib.h> using namespace std; std::string compress_string(const std::string& str, int compressionlevel = … | |
Hi friends My question Is not a programming question but it's related to. It's 2 days that when I run my project(Press F5 or choosing from Debug) the Visual Studio will be closed completely. what's wrong?what's my problem? plz.guide me. thx. | |
Is it possible to compile a single .cpp (not a project) in visual studio 2008? Also will using visual studio cause problems executing code on a unix system? I am making my first c++ "hello world" program and I am attempting to use visual studios. Am I going to have … | |
Hi.. i have 4 combolist (combobox). for action i want just one submit button. how to make it on action | |
Hello - I'm just looking for some feedback and some discussion from other DB pros about the viability of a DB design I came up with. The goal is to create the DB back end to an application feature that keeps track of company name history in the event of … | |
I need to return the size of a doubly linked list and I am having trouble thinking of the logic to go about doing this. template <class T> int List<T>::size() const Returns the current size of the list; i.e., the number of data items currently stored in the list. Since … | |
Dear Community Members! I have written a program in plain C to carry out some mathematical calculations. Now I am trying to identify bottlenecks using a profiler (IDE: Open Watcom 1.8). I find that a very large portion (60-79%) of the running time is used by ntdll.dll. The core program … | |
i have a problem of geting a square root in c++ using (cmath) | |
The Script below generates a sudoku (9 by 9) table and displays the table on screen. what I am trying to do is to get a string of numbers entered into the text field labeled "enter values" on the page below the table, into each cell box of the sudoku … | |
I am trying again(!) to learn enough Python to be able to process a bunch of files, and have run into something I don't understand right at the beginning. I am using Python 2.5 IDLE on a WindowsXP machine, and going through examples given in a Python tutorial. My understanding … | |
This is error messages. Server Error in '/trialwebsite' Application. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that … | |
I am doing a fuction where I want to check that a String contains only Letters between: "A-Z" and Numbers between: "0-9" and "_" Instead of checking all one by one. Is there any approach to check against all at the same time ? [code] String ThisString= TextBox1.Text.Trim().ToLower(); for (int … | |
Ok, I have been busting tail trying to get this simple project done. Lesson learned is do not take a break from course work during the summer, my lack of fundamentals at this moment is tear me apart. I am determined to finish this project ahead of time to finish … | |
Hello everyone.. My question is how to display data from my database. So when I open my index.jsp file, the data already display on it, it doesnt have any form. Is servlet can do it, or just do it in index.jsp file. I prefer with servlet, but I don't know … | |
Hey, I would like to call a few functions from a static method, but it seems I can't. More specifically, I would like to start or stop a timer from a static hook, called when you click your left mouse button. Here is the code [code] //When you click... public … | |
How to set the default value of an attribute to the value of another attribute in another table using Visual Database Tools? | |
I need to write few class which are to be used to validate the data. I know some validations which we will use generally. if anybody knows more please help me by providing the list of some more validations. The validations which I know are as follows: String: length isAlpha … | |
Hey, Im having a problem with this programm. It is supoused to have a vetor (pila) that would store all the elements on the try block. When it gets to the "666" element (at the end of the try b lock) it is suppouset to throw an exception (pilallenaexception) but … | |
Task: Write a function called DisplayEmployeeRec() that takes EmployeeRec as a parameter and displays the value using the following format: NAME: ID: PAYRATE: HOURS WORKED: GROSS PAY: This is what I have so far: [code=cplusplus]#include <iostream> #include <iomanip> #include <string> using namespace std; struct EmployeeRec { string name; string empId; … | |
my application uses a static vector which is defined as a member variable of a class. When i try to close my application then it dumps a core . On analyzing the core ,it is pointing to the static vector initialization. I am running my application in red hat 5.3 … | |
Hi Im writing a script where im using the date command in this format. [Datestart=`date '+%m/%d/%Y':'%H:%M:%S'`] Is their a way to force the date variable above to go back 5minutes?? I know their is a way in perl but i prefer writing this script in ksh | |
hi, is there anyway to display a .jpg (or other type) images in Tkinter with Python 3.1? From what I read here in the forum, for Python 2.6 I could use the PIL package. But the PIL packages doesnt support Pyton 3.1 yet (from what I read on the PIL … | |
hi all:) i got confused in this point:( i have questions that i don't understand it well knowing that i have searched a lot but i don't know i didn't understand it yet 1-when it is really impossible to work in a program without a delegate (please give a simple … |
The End.