199,114 Archived Topics
Remove Filter ![]() | |
Hi Guys. Is it possible to trap this error in Classic ASP, and redirect to another page instead of displaying this error? [COLOR="Red"] Microsoft OLE DB Provider for SQL Server error '80004005' Transaction (Process ID 104) was deadlocked on lock resources with another process and has been chosen as the … | |
Hello Everyone, I just have few questions about the the job of web developer and I hope that I selected the right place 1- what is the difference between web developer and web coder ? 2- should a web developer study computer science deeply , before starting a career & … | |
Can someone please help me for providing value from asp in to javascript function? I want to use "$('#countdown').countdown({until:$.countdown.UTCDate(+12, 2011, 9 -1, 5), format: 'DHMS', layout: " and where you can see the numbers, i want use value which i have retrieved from database. | |
Please help me on my bloodshed 9.4.4.2 assignment, i need to create a program that will view the name and salary. i already created 1 program but in converting Km to mile and the time of the destination when reach.. here are i need to input and to be an … | |
im creating a simple game and i want it to have continous 10 rounds . but i dont have any idea , im not allowed to use looping .tnx | |
I am a new learner of c. I am trying to code a car game .I have some problems in it . In this,the car is moving separately according to the input .The random cars are generated.I am not able to combine both the functions simultaneously. could any one help … | |
Here is my code: [CODE] #------------------------------------------------------------------------------- # Name: Mocha Rotoscoping Via Blender # Purpose: Make rotoscoping more efficient # # Author: Jeff Owens # # Created: 11/07/2011 # Copyright: (c) jeff.owens 2011 # Licence: Grasshorse #------------------------------------------------------------------------------- #!/usr/bin/env python import sys import os import parser sys.path.append('Z:\_protomotion\Prog\HelperScripts') import GetDir sys.path.append('Z:/Blender_Roto') filename = … ![]() | |
Hi, everyone! I'm kind of in a hurry. I need to know for tomorrow how can I open a file and get the file name. I was using the Common Dialog and with ".Filename" I could be able to get the name. It was easy and it worked!! The point … | |
i am getting some thing in while loop and want to pass that on to my rest of the programme. But i want that loop to be always running. but my code get strucks in the loop and does not move forward... i am not getting how to keep that … | |
Hello DaniWeb :) For very long I've wanted to develop and venture into the Win32 API and make programs like I find on the internet. Show the world my creativity. I made a simple calculator with a GUI and Menu bar from scratch. I was proud but I was shattered … | |
Okay, so basically i need a little helpt with some validation code. I need to see if the user has actually selected an image, if not, $error = 1;. I tried this: [CODE]if($_FILES['image']['name'] == "") { echo 'Error: Select an image!'; $error = 1; }[/CODE] I tried several times to … | |
Hi all I've tried to find out which object is behind the JLabel that caused the MouseEvent. I have a code like this. [CODE]for(int i = 0; i < annetutKäsikortit.size(); i++) { URL _kuva = this.getClass().getResource("/kortit/" + annetutKäsikortit.get(i).haeNumero() + "_pieni.png"); käsikortitJLabel.add(new JLabel(new ImageIcon(_kuva))); käsikortitJLabel.get(i).addMouseListener(hiirenkuuntelija); omatKortit.add(käsikortitJLabel.get(i)); }[/CODE] Sorry about that strange … | |
I have Date in format: 12, August, 2011 and Time : 09:11:02 I am using following for Date [CODE] date("j, F, Y"); [/CODE] and following for time [CODE]strftime("%I:%M:%S")[/CODE] How to create database and insert date & time as it is into MySql ? | |
so I recently wrote a function that sorted using the last value in a tuple. Obviously this couldn't be done simply say sorted(tuples, key=tuples[-1]) because that is not a "legal" call. However I did run across, while trying to figure out how to make things like this work, the utilization … ![]() | |
am getting [COLOR="Red"]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent[/COLOR] while running the following code. please help to fix it.. thanks. <html> <!-- centermain.php is a frame, user redirected to frame if tried to access from url--> <SCRIPT LANGUAGE='javascript'>try { if (top == self) {top.location.href='centermain.php'; } … | |
Hi friends I know how to draw on form etc. But I am not able to find the logic how to draw waform and then make it seems scrolling like in ECG display units it scrolls. Please help with some simple example. | |
Im working on a program and one of the functions writes data to a socket. Everything is working except one part that Im having trouble figuring out. If I create a variable and assign a hex value to it inside the program everything works. (e.g. char variable[] = '\xff\xff\xff\xff\xff'). But … | |
Hi guys i have problems with the codes that i got from a site. this is the code [CODE].model .code main proc mov ah, 02 mov dl, 61h start: sub dl,20h int 21h push dx mov dl, 0AH int 21h pop dx add dl, 20h inc dl cmp dl, 79H … | |
Hello everybody I'm working on MySQL I always have to use the Count function like this: [CODE]$Q = mysql_query("Select count() from tableA",$connection);[/CODE] How can I handle this query? How can I handle the number returned by this query?? Thanks. | |
hi everyone i have 2 textboxes: when i enter a name on first textbox the first letter of what i have entered will appear on second textbox...is it possible for javascript? to make it clear: i will enter a name "COCOMARTIN" on the firstbox and the first letter " C … | |
Hello everyone, I'm thinking of doing a website that does horse race winning prediction based on previous winnings of a horse. Where do i start? and can anyone help me in integrating neural network or by use of probability into a php website how does it work? any tutorials that … | |
I develop a chat (server and client) using [I]Sockets[/I]. It's working on [B]LAN[/B] but when I try to connect the client to the server using my public IP address it says it cannot connect to that address. My address is public - a friend pinged my address successfully. You find … | |
I am currently looking for a way not go get caught using an auto healing scipt for a text based game. Here is the script code. I will not give the website name. [CODE]// ==UserScript== // @name Auto eat script // @namespace // @author Private // @include http://www.xxx.com/game.php // @version … | |
wenn im upload picture the error was in this row ! is the prob. with witdh an height ! ?? [CODE]$h = number_format(($size[1] / $size[0]) * $width, 0, ',', '');[/CODE] | |
i don't know why my firefox browser executing mysql query two times. and this is happening only with firefox. i have tested the code with chrome and opera and its working fine. now i have tested simple php code . this one [CODE]mysql_query("insert into test('1','12345')");[/CODE] just this code and i … | |
Please Download This [url]http://www.mediafire.com/file/xikt4zotccrkrv4/GPA_Arid.jar[/url] I am facing Reset Problem. It Reset but when I Change Credit Hours it restore previous entered Value. Reset Button [CODE]private void Reset(java.awt.event.ActionEvent evt) { _M1.setEditable(false); _M2.setEditable(false); _M3.setEditable(false); _M4.setEditable(false); _M5.setEditable(false); _M6.setEditable(false); _M1.setText(""); _M2.setText(""); _M3.setText(""); _M4.setText(""); _M5.setText(""); _M6.setText(""); _C1.setSelectedIndex(0); _C2.setSelectedIndex(0); _C3.setSelectedIndex(0); _C4.setSelectedIndex(0); _C5.setSelectedIndex(0); _C6.setSelectedIndex(0); Master.setSelectedIndex(0); _C1.requestFocus(); } … | |
Hello, I was wondering about learning C++ not from books but from video tutorials. Anybody have experience in learning from video tutorials? I found a video course like that: [url]http://video-courses-online.com/programming-courses-online/c-course.php[/url] but i'm not sure if it will be any good. Well there are 3 demo lessons, which I pretty liked, … | |
hai , I used LINQ in application. I want to perform batch update. For that i used the code as: [CODE] int[] istudentId = new int[]; int j = 0; for (int i = 0; i < GrdStudent.Rows.Count; i++) { if ((GrdStudent.Rows[i].FindControl("chkSelect") as CheckBox).Checked) { istudentId[j] = ObjStudent.Student_Id; j++; } … ![]() | |
I'm looking for suggestions on the best, and easiest way to install a Windows OS (in this case, XP, Vista and 7) on a hard drive, install my app., test it, make changes and then reinstall my app with a clean copy of the OS? Instead of sitting around going … | |
hi, how do you add days automatically to current date? lets say i created an account in my program, and get its current date, augest 3 2011 for example, how would i add days automatically every after day, still keeps the date when i created my account. my goal is … | |
i have a simple asterisk graph program but i am having trouble anout the output how will i align the result of the other perosn.. this is my code [CODE]#include "stdafx.h" #include <iostream> #include <conio.h> #include <string> #include <windows.h> #include <iomanip> using namespace std; void main() { int cartoon; int … | |
Hai all, I want to "re-enable" the stick without unplugging and plugging the stick again. How can i do this please help me for this. now i did some coding for get the device information. Thanking you | |
Hi friends If we will override nonstatic methods or if we will overload non static methods means shall we say it is the run time polymorphism? If i will override static method means, friends are saying it is not compile time polymorphism, It is method hiding. I need some examples … | |
Hi, anybody please help me out. i am having an array $test1=array(1,2,3,4) i want this "test1" array values into "test2" array variable.thanks | |
Hello all, am Ougesh and a beginner in web development, i wish to become a good php developer and want some help from u guys of where and how to start. Thank you very much | |
Write down all the shapes you can think of–both two-dimensional and three-dimensional– and form those shapes into a shape hierarchy. Your hierarchy should have superclass Shape, from which class TwoDimensionalShape and class ThreeDimensionalShape are derived. Once you have developed the hierarchy, define each of the classes in the hierarchy. We … | |
using a free memory spac available in a machine create 4 memory segments of 1/4K each and create storage units containing (Name,age,sex address) for each segment and then link them! HELP NEEDED! | |
[B]Goal:[/B] I'm trying to create a PHONY target inside my Makefile so that when I run the command "make backup", It will move all the files that end in "~" into the specified backup folder. Here is my code currently, and I'll explain the problem after: [CODE].PHONY: backup backup: @mkdir … | |
Basically, how would one take this code (written for a parallel port) and change it to make it work with a serial port? [CODE]#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/io.h> #define base 0x378 /* /dev/lp0 */ main(int argc, char **argv) { int value; if (argc!=2) printf("Enter a number between … | |
Hi, Can somebody give me the sample coding to develop "online request form" using php. | |
I'm having a terrible time understanding this for some reason. I'm supposed to be creating a Class to "Define four private instance variables to represent each property value Use the above variables to define a constructor Establish a property to correspond with each variable which allows user to set or … | |
hi ... can someone point out whats wrong with this code?... i think i code it correctly but it gives me an error... <HTML><HEAD> </HEAD> <?php $db_host = 'localhost'; $db_user = ''; $db_pwd = ''; $database = ''; $table = ''; if (!mysql_connect($db_host, $db_user, $db_pwd)) die("Can't connect to database"); if … | |
if I wanted to remove all of the strings within a given list that met a certain criteria, such as having the str'a' in them, how would I go about doing that? the only way that's intuitive to me a for/in loop, but that can't be done. any ideas? Using … ![]() | |
[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cmc; import java.sql.*; /** * * @author Sahil */ public class signup { String fn,ln,un,pwd,cpwd,dob,sex,email,sec,secans; String emp,colg,skul,relstat,fammem,fam,con,country,state,city,pin; Connection cn; Statement st; int i,j,k; public int getI() { return i; } … | |
Dear All, I have a page here [url]http://183.78.169.54/tree/2.html[/url]. What I want to control is that for link on the left that is clicked I want the text to change to a particular color to highlighted it have been selected. And when another linked is clicked I want the previous linked … | |
Hello, I am attempting to put a list box in to my program, so that when the page loads, a list of files from my FTP site appear. I also want it so that a file can be selected on the screen and downloaded. Is there a way to do … | |
I don't exactly know how to explain this, but I'm trying to get 6 sentences from a webpage, to my java control panel thing. I've tried to use a snippet I found for twitter updates, and it works, except for the fact that I can't seperate them into new lines. … | |
hello I want create game server in my City which can many people play at the same time, but not only one game, there can n games running. i want to create 2 programs: [LIST=1] [*]for Clients (players) [*]for server (game server) [/LIST] So when someone would like to start … | |
[code]if (row.Cells[2].Text.ToString() == " ") { txtstreet.Text = string.Empty; } [/code] Help me out pls. I want to check row.cell[2].Text for null |
The End.