199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jcarbillon

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 …

Member Avatar for Golden-Boy
0
258
Member Avatar for Amr87

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 & …

Member Avatar for Amr87
0
79
Member Avatar for taurian2702

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.

Member Avatar for Golden-Boy
0
94
Member Avatar for kooletz

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 …

Member Avatar for YAMNA MIDHAT
0
149
Member Avatar for theCompiler

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

Member Avatar for sergent
0
289
Member Avatar for raj.sokkalingam

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 …

Member Avatar for sergent
0
156
Member Avatar for JeffOwens

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 = …

Member Avatar for Enalicho
0
137
Member Avatar for mariegomez84

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 …

Member Avatar for WaltP
0
637
Member Avatar for afi@alvi

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 …

Member Avatar for Duki
0
94
Member Avatar for becool007

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 …

Member Avatar for Frederick2
0
307
Member Avatar for kaizokupuffball

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 …

Member Avatar for kaizokupuffball
0
468
Member Avatar for Pytho

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 …

Member Avatar for JamesCherrill
0
176
Member Avatar for vizz

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 ?

Member Avatar for pritaeas
0
102
Member Avatar for JoshuaBurleson

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 …

Member Avatar for nabla2
0
582
Member Avatar for Ichcha

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'; } …

Member Avatar for smrict
0
144
Member Avatar for learner321

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.

Member Avatar for Momerath
0
188
Member Avatar for Eternal49

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 …

Member Avatar for WaltP
0
601
Member Avatar for bettybarnes

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 …

Member Avatar for thines01
0
277
Member Avatar for Paaat

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.

Member Avatar for Paaat
0
251
Member Avatar for uselessninja

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 …

Member Avatar for uselessninja
0
146
Member Avatar for Kavatae

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 …

Member Avatar for G&G Designing
0
195
Member Avatar for Clawsy

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 …

Member Avatar for Aviras
0
337
Member Avatar for jd2011

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 …

Member Avatar for jd2011
0
143
Member Avatar for judithSampathwa

hi i have a question relating to date. i have a table in a database which has the start date of an employee. what i want to do is i need to know how many years have he been working. so i need to get the current date and substract …

Member Avatar for judithSampathwa
0
189
Member Avatar for gonidelux

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]

Member Avatar for vibhaJ
0
87
Member Avatar for doitnow1147

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 …

Member Avatar for vibhaJ
0
69
Member Avatar for Vaspar

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(); } …

Member Avatar for Vaspar
0
245
Member Avatar for imstarting

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, …

Member Avatar for m4ster_r0shi
0
250
Member Avatar for ssreevidya.m

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++; } …

Member Avatar for stbuchok
0
146
Member Avatar for zachattack05

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 …

Member Avatar for Ketsuekiame
0
114
Member Avatar for kapojian

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 …

Member Avatar for bhagawatshinde
0
783
Member Avatar for rhyza

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 …

Member Avatar for Narue
0
93
Member Avatar for sabareesh

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

Member Avatar for sabareesh
0
78
Member Avatar for Muralidharan.E

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 …

Member Avatar for Fbody
0
596
Member Avatar for jacksantho

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

Member Avatar for karthik_ppts
0
81
Member Avatar for ougesh

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

Member Avatar for ougesh
0
124
Member Avatar for nyaxinya

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 …

Member Avatar for Aviras
0
134
Member Avatar for xoid

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!

Member Avatar for xoid
0
87
Member Avatar for Xploit_

[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 …

Member Avatar for nezachem
0
355
Member Avatar for Kerlix

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 …

Member Avatar for nezachem
0
148
Member Avatar for jacksantho

Hi, Can somebody give me the sample coding to develop "online request form" using php.

Member Avatar for dean8710
0
320
Member Avatar for kahaj

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 …

Member Avatar for Yase
0
151
Member Avatar for uselessninja

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 …

Member Avatar for uselessninja
0
392
Member Avatar for JoshuaBurleson

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 …

Member Avatar for Enalicho
0
239
Member Avatar for iamsiter

[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; } …

Member Avatar for peter_budo
0
150
Member Avatar for newbie14

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 …

Member Avatar for malini1211@gmai
0
521
Member Avatar for dwinn

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 …

Member Avatar for codereflex
0
678
Member Avatar for dayghost

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. …

Member Avatar for peter_budo
0
167
Member Avatar for l3l4c7_h4t

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 …

Member Avatar for kvprajapati
0
278
Member Avatar for Moss ali

[code]if (row.Cells[2].Text.ToString() == "&nbsp;") { txtstreet.Text = string.Empty; } [/code] Help me out pls. I want to check row.cell[2].Text for null

Member Avatar for Moss ali
0
157

The End.