199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am trying to let my users upload videos on my website by using a Form, but when I try to upload a video it times out. How can I write a php script to make this work? -OR- Do I need to change the PHP.ini file to make … | |
kindly tell me is this statement is right? i want to use isset statemnt with or condition... if( isset($_GET['P_Price']) || isset($_GET['P_Category'])) ........... Regards.. Farhad | |
Hello all! Okay, I have made a very small stand alone application used basically as a program launcher for a very specific purpose. The application will be run off of a thumb drive, and used several times a day, and on several different machines, for about a month. No internet … | |
Hello everyone. I've been programming on a co-op RPG for quite some time now, but my networking side has seen some troubles. I'm using the lower level serverSocket-Socket way. Everything runs flawless within my own network, however connection over the internet is where the trouble is. I understand this is … | |
Hai all, AM trying to connect java with database .I created class called data manager with several methods like setdburl(), getdnurl() ,etc.. i called the set functions inside another class and assign values. in set method i assigned LOCAL VARIABLE. when i call get url method it shows null value.. … | |
How to keep look and feel of java program as classic windows style , even the style of the windows change to windows xp look, or aero look? I mean permenantly keeping classic look? Has any one has any idea? Thank you............... for any advice , help... :) | |
[code] class List(): def __init__(self,values=0): self.numb=values self.linker=self def add(self,values): self=self.linker self.numb=values self.linker=List() def show(self): while self!=self.linker: print self.numb self=self.linker [/code] In main call i want some thing like this [code] list1=List() list1.add(43) #i want to add numbers to liked list node like this list1.add(22) list1.add(938) list1.show()#Then retrieve it from the … | |
need help on this; I want to have the textbox4 to have the sum of columns based on their employee Id. I have this code but kept getting error. strsql = "SELECT emp_id, COUNT(acdcalls) FROM CMS WHERE emp_id= '" & TextBox1.Text & "'" oledbcon.Open() Dim cmd As New OleDbCommand(strsql, oledbcon) … | |
Hi to all i have done validation on my HTML page but the problem is that when i press the submit button it show the alert message that name field is not specified but when i OK that message then data enter into the data base without specifying the name … | |
hello I am looking for a code where i can put a photo in mysql data basic so when the dj name comes up on the home page there photo comes on to if this can be done? | |
hello .. m trying to get/fetch the database value into dropdown box as a selected value in the dropdown box using PHP script and mysql - phpmyadmin database .. but m having problems in it .. here is my script which i m using .. try.php <body> <?php $conn = … | |
please some one help me,i have created this code for searching from database but the problem is i am getting an output without even searching,i am no php expert,so please guys help me. [ICODE]<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>" onSubmit="return validateThis(this)"> <!-- Sending Search Keyword to "search_handler.php" --> <p> <label … | |
some commands working properly(notepad ,control(control panel))... but how to execute commands "dir" like that my code is ... [CODE] public class test1{ public static void main(String args[])throws Exception{ Runtime r= Runtime.getRuntime(); Process p1=r.exec("notepad");//working fine Process p2=r.exec("control");//working fine Process p3=r.exec("test1.java");//cannot run Process p4=r.exec("dir");// cannot run } } o/p: F:\studies\java\test>java test1 Exception … | |
[code=text]SET CLASSPATH_JARS=../../lib/log4j/log4j-1.2.14.jar SET BUILD_CLASS_DIR_IMPLEMENTATION=BUILD_LOCAL\implementation\build\classes SET RUN_CLASSPATH=%BUILD_CLASS_DIR_IMPLEMENTATION%;%CLASSPATH_JARS% SET CLASS_TO_RUN=chepsoft.micro.javadoc.workerapplication.WorkerApplication SET ARGUMENTS=Worker implementation by WorkerImpl ECHO CLASSPATH_JARS=%CLASSPATH_JARS% ECHO BUILD_CLASS_DIR_IMPLEMENTATION=%BUILD_CLASS_DIR_IMPLEMENTATION% ECHO RUN_CLASSPATH=%RUN_CLASSPATH% ECHO CLASS_TO_RUN=%CLASS_TO_RUN% java -classpath %RUN_CLASSPATH% %CLASS_TO_RUN% %ARGUMENTS% %1String name = "Bethuel", %2String workerType = "Monthly Employee", %3double salary = 22000d,[/code] if i want to pass the above variables from run.bat file … | |
i want to design a module to count each assets on a table so i can generate an aggregated data report of for each item. this is where i got stuck:Help! [CODE] Private Sub countAssets() Dim mydb As Database, MysetAssets As Recordset, MysetSoftware As Recordset Set mydb = DBEngine.Workspaces(0).Databases(0) '............................................................................ … | |
i have receive a link last 4 days ago,and i want to see it again then when i go to the list of messge, the links disappear,,i just want to know it why | |
Hi, I am writing a program in C# where user uploads a .rtf file with some predefined bookmarks. Is it possible to insert text at the specified bookmarks through code and allow user to download the updated .rtf file? Thanks. | |
Hi, I made a program that lists all possible anagrams of a word.Now I'd like to include anagrams of subsets of letters in the word.I have the code for making the subsets also now.But i do not want merge them as a single code.So I'd like to know if there … | |
Hi there... A little mental blockage ='-( The scenario: 1. A thief has a bag that cannot be larger than 5m^3. 2. He is a superman, and he can carry ANY amount. 3. He finds piles of valuable powders. He plans to steal them... naughty naughty. 4. Each pile is … | |
Good day every one please I need help in coding this small easy program it just three text boxes and one button to save them this is my code [ICODE] Imports System.Data Imports System.Data.SqlClient Public Class Form1 Dim cmd As SqlCommand Dim con As SqlConnection Private Sub Button1_Click(ByVal sender As … | |
Instance variable does mean you will get new value with every new object created of particular class rite? I tried it myself eg: [CODE]class simpleinstcheck { static int i; void incr() { System.out.println(i++); } public static void main(String args[]) { simpleinstcheck sc= new simpleinstcheck(); sc.incr(); simpleinstcheck sc1= new simpleinstcheck(); sc1.incr(); … | |
hi every body, i have very confusion with interpretor in jva, why we use it | |
Hi, I am new to ASP.Net. I would like to know if there is a way by which I can Call a Serverside script through a Javascript. Or else is there a way to Postback a page through a javascript function. Thanks in advance Thanks, NaveenChander | |
Hi, I can't figure out how to write this query, I'm sure it's something silly, but I just can't figure it out!! I have a table with student's grades in different classes they took, example- studId, classId, yearClassTaken, grade 1, 11, 2008, 90 1, 12, 2008, 78 [B]1, 13, 2007, … | |
First time poster here... My VB.NET program compacts and repairs my DB, but somewhere in the process unsets the database password. No problem, just reset it through VB, right? Ummm... not sure how to go about that task. So I either need to know how to compact it without losing … | |
hi there guys I need help how do I make my check box a single click one? I have to double click my checkbox in order to select a particular item but I want to just click once. Any ideas how? | |
gudpm! i just want to if how to put a template in php,,i already have my template and when i used it, I inserted it outside..i named it index,when i play it,,local host "restricted access" | |
designing an inventory system and i want to generate crystal reports from sql queries. Actually want to generate monthly and yearly reports from the daily sales reports i have populated. someone please help me. | |
Hi, How to restrict user to copy and paste datagridview data to word or anywhere. How i can do this. Thanks in Advance........................ | |
Hi We have two identical web servers in a farm and I need them to be able to share Session variables as I do not know which machine the user will be using at any given time i.e. if a user where to log in to a site on server1 … | |
Guys need help.. I have button that adds element in array and displays the item that is added in array in the listview, And also i have button that deletes it but it's not working. Here's the code: [CODE]Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click … | |
hi, i am creatnig an windows desktop application. and in the main form i have a menu stript. what i want to do is attached one user control to eacn menu stript. each user control has a different design. how can i do this??? any tutorial | |
so here is my code -- whenever i try to compile it says SYNTAX error [CODE] #include <stdio.h> long FindMaximum(long* numbers, int count) { long max = numbers[0]; int i; for(i = 0; i< count; i++) { if (numbers[i] > max) { max = numbers[i]; } } return max; } … | |
I am doing several choice box in JFrame.But i have some problems.Can anyone help me. 1)Currently doing a loop to add no1 until 50 into choice box.But it doesn't work. [CODE]int [] number = new int[50]; for(int i=0;i<50;i++) { number[i] = i; for(int i = 0;i<50;i++) { c1.add(number[i]); }[/CODE] 2)I … | |
Can somebody please show me what the rest of this code should look like. I have about 90% of it so far. I have the GUI, but need help with the rest. Here is the Link to my code and the question to the problem is below. I thought it … | |
Hi, I am receiving the following error when i run my code on localhost: [CODE] Error creating database: Can't create database 'library_db'; database exists Warning: mysql_query() [function.mysql-query]: Access denied for user ''@'localhost' (using password: NO) in C:\Program Files\EasyPHP-5.3.6.0\www\databaseEx.php on line 45 Warning: mysql_query() [function.mysql-query]: A link to the server could … | |
help me guys .. i want to know how to select the end of the data in my table.. | |
Hello, i am developing a bidding system that will be used across a network. Could someone please help me on the network code to interconnect the server and the clients from each end and also the code for sending the data across the network | |
hi all, i have written a code in php for inserting and deleting multiple records using check boxes."test" is the database name. "emp" is the table name which contains the following records in my database. empno empname desig 1111 raju pilot 1112 ram chef 1113 ramu doctor 1114 paul engineer … | |
Hi All, I have a section of my site that allows users to upload and download files. For security issues, We use a com object to take the file as a binary stream and store it on our network off of the web server (under a different randomly generated file … | |
Hey DaniWeb :) So Im working on this C++ Project and I'm getting this wierd LINKER issue. So basically this is the scenario 1. non-static member (int) frame in Main.cpp 2. static get/set functions for frame in Main.h 3. I try to access the frame integer variable via the get … | |
Hello, I want to upload a file into the database. While uploading I'm extracting the file name and extension. The problem now is if I have a file name which is separated by '_', it is giving me and exception "illegal characters in path " [CODE] string text = File.ReadAllText("C:\\Users\\xxxx\\Desktop\\9_file.bak", … | |
Hi, i am compiling the code in HP itenium server and i am getting an error. "Filename.cpp", line 129: error #2308: more than one instance of overloaded function "std::basic_string<_CharT, _Traits, _Allocator>::assign [with _CharT=char, _Traits=std::char_traits<char>, _Allocator=std::allocator<char>]" matches the argument list: function "std::basic_string<_CharT, _Traits, _Allocator>::assign(const std::basic_string<_CharT, _Traits, _Allocator> &) [with _CharT=char, _Traits=std::char_traits<char>, … | |
I've been scouring the internet for a solution, and I've found one, but it confounds me a little. I have Visual Studio 2005 integrated with Crystal Reports. I work for a school board, and I'm building a report card for SummerSchool Students. One feature I'm adding is a signature file, … | |
Hi to all i have done validation on single fields but i have to apply validation on 3 text field that at least one of thre is filled .i make a code but that logic doesnot work .. html code [CODE]<html> <head> <script type="text/javascript" src="jstest.js"></script> </head> <img src="idtech_logo.jpg" alt="logo" width="1500" … | |
hi all i have been inserting records in to database using php using the below program which is saved as "insert.php". but it is displaying the following error [B]Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\insert1.php on line 18 [/B] dont no what went wrong. can u tell me how … | |
I have 10 tuples in my table.And now I create another field of serial number.For all tuples, the field of serial number contain null values. So, is there any way to numbering all the tuples from 1 to 10 at once. Any answer could be appreciated...... | |
I've been programming a web crawler for a while, I'm almost done, it works perfectly but when it crawls vbulletin forums i get weird urls example: forum/index.php?phpsessid=oed7fqnm9ikhqq9jvbt23lo8e4 index.php/topic,5583.0.html?phpsessid=93f6a28f192c8cc8b035688cf8b5e06d obviously this is being causes by php session IDs what can I do to stop this? I tried using cookies with HTTP::Cookies … | |
Hi all I have a form which selects files from the disk. But everytime a file gets selected the form gets closed. What should i do for the form 's selection window to remain so that the user can select multiple files everytime even without having to run the program … |
The End.