199,114 Archived Topics
Remove Filter ![]() | |
Hi i'm attempting here to let a user select the id of a record he/she wishes to modify, find that record and allow the user to modify the record. this is as far as i got, after i locate the record and try to display it i get gibbrish as … | |
when I click on any button on my page it start refresh whole page and reload it why ? can any help in this............ | |
Hi all, I want to approve records in my page. For that i have created a search where data retrieves based on account_number. Now i want to approve records. For that i have created a page called [B]approve_page.php[/B]. But it seems to be applied for all the data. I just … | |
I'm making a program that calculate wages, but I'm having problems in seeking the rates in the file, an example of one table.[URL="http://3.bp.blogspot.com/_xrZFmlhX0Ts/SYofqkmc1bI/AAAAAAAAO-Y/XfgESqYqZms/s400/tabela+2.JPG"]http://3.bp.blogspot.com/_xrZFmlhX0Ts/SYofqkmc1bI/AAAAAAAAO-Y/XfgESqYqZms/s400/tabela+2.JPG[/URL] the function receiving the salary and number of dependent, will seek in the file for the correct rate that this person as to pay. I thought of … | |
This is how I want my XML file to look: [code] <root> <data> <track src="123456"> <desc id="1" mt="audio/mp3" ra="24" dr="221" nv="10005761">Madonna - La Isla Bonita</desc> <clipdata>PD94bWwgdmVyc2lvbj0iMS4wIiBlb</clipdata> </track> </data> <completed/> </root> [/code] And this some part of my code: [code] AttributesImpl atts = new AttributesImpl(); AttributesImpl atts2 = new AttributesImpl(); AttributesImpl … | |
I only wanted to print the value in the string variable fname but somehow am not able to use the jsp tags effectively. [CODE] <%@page language="java" import="java.util.*" %> <% Cookie[] c= request.getCookies(); if(c==null) { response.sendRedirect("index.jsp"); } else { for (int i=0; i<c.length; i++) { if(c[i].getName().equals("Cuname")) { try{ Connection con=null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); … | |
Hi Guys, I am try to make a logistic company website. Now the client wants to add "Tracking Parcels" option through tracking numbers. How can I add this thing to my website. I know nothing about this. Do I have to buy services from another website or do what? Kindly … | |
Hi, I'm not able to toggle a ui class in my page. Basically here is my code: in the jquery document.ready I subscribe to the event $("#bBuscar").hover(changeButtonBackColor, normalizeButtonBackColor); then the other two funtions are like this: function changeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } function normalizeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } the button … | |
in my access database the column "foods" has multiline text..but when i view it in datagridview in my c# form it only has single line text,,, the width and height in datagridview is not the same as in my access database... my access database looks like this [U]|primary key|[/U][U]|foods|[/U][U]|servings|[/U] 00000001 … | |
Can anyone show me a sample program that can turn on a computer automatically on scheduled time..please show me so that i have an idea what it look like.. thnx ^_^ | |
I am having problems getting my cookies to work on my site where I am using a combination of session_start, setcookie and include. I believe I have followed all of the rules by declaring session_start() as the first statement in every page on the site, however, I am also using … | |
[code]StrSQLQ1 = "SELECT " & _ "CustomerCharges.JobOrderID, CustomerCharges.ClientID, CustomerCharges.ActivityDate, CustomerCharges.TaskName, CustomerCharges.Charges, CustomerCharges.LineSeqID, CustomerCharges.IIDNo,CustomerCharges.consignee CustomerCharges.marking, CustomerCharges.rate, CustomerCharges.m3, CustomerCharges.tonn,CustomerCharges.labor, CustomerCharges.storg, CustomerCharges.overtm, " & _ "JobOrderHeader.JobType, JobOrderHeader.CustomerName, JobOrderHeader.LedgerNo, " & _ "JobOrderLine.LorryOutDt, JobOrderLine.FL, JobOrderLine.VesselIn, JobOrderLine.ContainerTruckNo, JobOrderLine.ContainerSz " & _ "From " & _ " { oj (WMS.dbo.JobOrderLine JobOrderLine INNER JOIN WMS.dbo.CustomerCharges CustomerCharges ON … | |
Can someone help me please. I am using a Scanner Class and want to count characters entered in the textfield. Unfortunately, backspace and any key (Ctr,Alt,Capslock) for that matter is counted as a character and that increments the counter by 1. Here is the code [code] String ab="^[A-Za-z0-9]+$"; public void … | |
I'm trying to write a function that counts characters in a <textarea>. My current problem is to trigger an alert in my function so I can know I'm on the right track. What do I need to add to my JS to get the alert to work?[CODE]<!doctype html> <html> <head> … | |
Hi Coders, I was just trying out a simple singleton class. I have wriiten the below code. Now My que is : How do I instantiate the class from main function. PLS HELP :) [CODE] class MOV{ private:static MOV* inst; MOV(){cout<<"Hellooooooo\n"<<endl;} public:static MOV* get_it(){ if(!inst){ MOV *p=new MOV; cout<<"1st instance … | |
Please Help, im trying to run the emulator on my WINDOWS VISTA I really dont know why it doest woork!, It just stays at this huge black screen which I know isnt normal, it should be smaller.. I have the ANDROID SDK 3.1 and have ECLIPSE HELIOS and I think … | |
Hi, I am working on login form.When i redirect a page its showing an error given below. Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\job\login.php:49) in C:\xampp\htdocs\job\login.php on line 50 need help. Thanks [CODE]<?php //Start session session_start(); $host="localhost"; // Host name $username="root"; // Mysql … | |
The code in the first Code Block is the source code. After the source code is running. The code will be changed (See the 2nd Code Block). I want the class(i.e. 'even' and 'odd') of <tr> tag is only displayed in the 'table1'. However, currently a nest table (i.e. 'table2') … | |
i m using combo box in vb.net 2008 bt i m using the property as i can type in combobox this is done ... bt on running it ..when i m entering the wrong word in combo it will save the data .or sometimes gives error nd i want that … | |
[CODE]import javax.swing.*; import javax.swing.JButton; import java.awt.*; import java.awt.event.*; public class CreateTabbedPane extends JFrame implements ActionListener { JButton b1; JTextField txt1; public CreateTabbedPane() { JFrame frame = new JFrame("Tabbed Pane Frame"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JTabbedPane tab = new JTabbedPane(); tab.addTab("Jay",new abc()); tab.addTab("RD",ram a); } class abc extends JPanel { public abc() { txt1=new … | |
i makinh MCQs question as my mini project in windows form application i m facing few problem plzz solve that 1. to count the score of total correct question and show at the last in windows form 2. when i selct any option(radiobutton) then next question appears with same number … | |
Not sure what this error means "NameError: global name 'sessionid' is not defined" Any help would be greatly appreciated. Below is the code [CODE]import sys from socket import * import re import os from time import sleep print ("[*] BY THE POWER OF GRAYSKULL - I HAVE THE ROOTZ0R!\r\n" "[*] … | |
Hi can someone help in in understanding the following code esp the "?".I cant understand how the output 9:10:5 as obtained. Thank You. The code is as followed: [CODE]#include <iostream> using namespace std; int main() { short hour =9, minute =10, second =5; cout << (hour <10 ? "0":"" )<<hour<<":" … | |
Hey :D , take a look [url]http://www.dalilack.com/marketList.php[/url] click edit on the orange button EX : [url]http://www.dalilack.com/marketFormUpdate.php?Id=11[/url] the id of that user is 11, you can use 'hoho33' as a user name & 'shityshit' as a pass now you notice there's info for each member , and in order when that … | |
I want a database that should fetch images from a URL.How can I do that? | |
Ok This is my first post on this forum, and would really appreciate some help on an assignment... I have a 2d array and I need to add up all the numbers within the rows and the columns of the array. I'm really not to familiar with arrays or for … ![]() | |
Hey there DaniWeb! I have a bit of a problem! I am in need of a way to get the size of a remote file, without download the file itself (so that i can show download status in a status bar) is this even possible? Thank you a lot, Weliaz … | |
I need to parse a csv file, whose encoding format is in utf-16 format. Actually the csv file contains the list of directories to the file. for reading i used following code BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(str))); But the output i got is not in the correct format … | |
Hi, I have a problem adding the values of an array into a mysql database. The thing is I have two loops and if I add the INSERT in one of the then the other one gives the wrong value. But if I echo inside each loop it gives the … | |
Hi friends , How to post a picture with url link in the forums . please help me . if we click that picture means it will goes to my target url . how to create this link ? . pls help me | |
Could someone please explain how DWordSwapAsm works without a return statement? I've ran the program with breakpoints and [ICODE]i[/ICODE] gets changed even though there's no return value in that function.. how does this work? NOTE: I don't want help with the assembly code, just the function itself. [CODE]template <typename T> … | |
Hi All, If someone can help me with this I would be eternally grateful here. I have created a form on one page with php validation. Once cleared through the validation I have Sessioned the inputted data to catch them on the "insert data page" on the "insert data page" … | |
please anyone help me i take example from sphinx4-1.0beta6 but when i run it in netbeans this error appear run: Exception in thread "main" Property exception component:'dictionary' property:'fillerPath' - Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict edu.cmu.sphinx.util.props.InternalConfigurationException: Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict at edu.cmu.sphinx.util.props.ConfigurationManagerUtils.getResource(ConfigurationManagerUtils.java:483) at edu.cmu.sphinx.linguist.dictionary.FastDictionary.newProperties(FastDictionary.java:149) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.linguist.language.ngram.SimpleNGramModel.newProperties(SimpleNGramModel.java:97) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) … | |
Following is my error free code, it has no syntactical error but when I run it it executes the else part, which means my databse has not been updated.What is the problem? <html> <body> <?php $connect=mysql_connect("localhost","root","ila"); $query="create database if it not exists demo"; $db=mysql_select_db("demo",$connect); $query= "create table jlt(id int not … | |
I wrote a program that solves graphing programs. I am still very new to c++ and mt program is very very rough around the edges but my main problem is when the function returns the value to the main function it outputs random numbers in stead of the correct value. … | |
hi! I want to start writing a project that recognizes speech and voice. first I want to know,have you ever seen a project like this,written in java or any other languages? if no I know it is not a simple project that it can be found by requesting in a … | |
why is it that when i pop a dictionary in variable b, variable a does the same? And When i print variable a, the value is [{'b':2}]. How can i retain the value of variable a? [CODE] a=[{'a':1,},{'b':2,}] b = a b.pop(0)[/CODE] | |
Hi all, am using eclipse IDE.I want to connect mysql database with jsp/servlet for that i want to add mysql j/ connector. I added properties -> Java build path-> Add External jar file but still it calls the exception Driver not found "com.mysql.jdbc.Driver". Am not filmier with Eclipse any one … | |
Hi, I am using [CODE]ereg [/CODE] for validations of field and I want to allow some fields that are optional but ereg does not allow me to validate space or empty field.My code for validation is [CODE]while(list($var,$val)=each($_POST)){ if(!ereg($var,$admin_data)){ if(ereg($reki[$var],$val)) {$class="good";}//this condition is checking the values of all the fields but … | |
Hey guys, I'm new to this forum so nice to meet you all :D I'm really bugged by a weird bug that prevents my dialog from showing up, however the buttons show up twice, one overlapping the other. I saw other threads that discusses about this but I'm afraid I … | |
Hi, Recently I started working on a project (it's called 'fd') that needs to retrieve the current processes running. It is written in C using the WinAPI. I am running Windows XP SP3 and am using MinGW compiler with Code::Blocks. After much searching I found the PSAPI to provide the … | |
i would like to write a function if that user id who do a post equal the same user id who logged in then he can after a while edit again his own post , then if its match go to the update page to make the edit ; [url]http://www.dalilack.com/marketFormUpdate.php?Id=11[/url] … | |
The value of address is not insert in database varchar2 pno field. tried from.tostring() but not inserted but its prints through system out perfect as email adress. any idea or suggesstion how to insert it into database.. [CODE] import java.io.*; import java.util.Properties; import javax.mail.*; import java.sql.*; public static void insertm(int … | |
Hi, I'm not getting any response for the following ajax request. I'm getting the following error when i try to run request_get_xml.html im mozilla firefox: XML Parsing Error: not well-formed Location: moz-nullprincipal:{d4e6a0fb-93c0-4ef4-82cf-7ccbd5c1e02e} Line Number 4, Column 2: -<CATALOG> -^ does anyone know on where i'm making a mistake. thank you. … | |
Dear All, I am having a problem with reports in a web application with C#. The reportviewers are old style (the application is old, was written with the framework 2.0) and I actually had to hack the reports to make them work. Now, the reports work fine except for two … | |
What is the easy way to learn GUI Python, i mean where to choose pyGTK, pyQT , TkInter or what? Thanks | |
I feel like a total muppet for not being able to do what is likely a stupidly easy task. I have downloaded the MySQLdb.zip, unzipped it to my desktop and am trying to get it to work with my python 2.7 (its compliant). Can anyone give me a step by … | |
hi, I need a query to get the start date and end date of a month when given the month name. For eg., When given month='august' it must display 01-08-2011 to 31-08-2011 Thanks. | |
Hello, I'm using php code to retrieving an array from database and place the result into checkboxes but after the last checkbox input there is text input (hidden by default) and the last check box name is 'other'. I want to make the text in visible if 'other' is checked … | |
Hi experts., Can anybody know how to select and upload multiple files using javascript [ with php too ]..? I dont want to use silverlight or flash..! I just need to do it in simple way.. Please help me..! Thanks., |
The End.