199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for runge_kutta

Hello, I would consider myself a decent python programmer (this may or may not be true). In the past, I have had a few small python contracts and have been screwing around with the language for a few years (I also have experience with c++, java/html/css/javascript/etc). What I would really …

Member Avatar for joehms22
0
203
Member Avatar for scheppy

ok so I have a JButton that has an image on it, and then after 4 seconds i want to put a differant image on it but the problem is the first image wont load I'm using [CODE] button1.setIcon (icon); try { Thread.sleep (4000); //sleeping for 4 seconds } catch …

Member Avatar for scheppy
0
176
Member Avatar for Alex_2011

Hi, I am trying to add (Push) whatever the user enters in (MyStack) into 5 different labels that should show the (UserResponse). The problem is I don't know how to display each element in a different label. For example: - The first element that the user enters (UserResponse) should be …

Member Avatar for Alex_2011
0
179
Member Avatar for ofir0803

Hi I am trying to design db to coupon site my problem: item can be in several areas. like : chair in South and North for that I have created the extra categorytoarea table but i dont know how the relationship should be with other tables

Member Avatar for ChrisPadgham
0
126
Member Avatar for brandon66

This is what i am suppossed to do: Create an application that will ask the user for a number between 1 and 10 and then output the factorial of that number. Use a for loop to calculate the factorial. What is a factorial? A factorial is the product of all …

Member Avatar for brandon66
0
156
Member Avatar for auwi987

guys hello i have database with table name tblAgent with a column agent_id and a vb6.0 form add-agent i want to generate id everytime i open form and everytime i added new data it refreshes the ado recordsource and fetch the max(agent_id) and +1 to increment the agent_id now i …

Member Avatar for ChrisPadgham
0
159
Member Avatar for D19ERY

Hi there I'm completing an application to display a weather report - unfortunately i can't seem to get the name entered to appear in the message shown and i can't get each picture to appear individually when the radio button related is chosen. Here is the question i'm working off …

Member Avatar for ChrisPadgham
0
150
Member Avatar for geneh23

Hey everyone, I'm sorry for re-opening this again but I have a log in script that someone gave me on here and it works on my local server..but when I upload it to godaddy..it doesn't work right..it keeps saying my user info isn't correct when It clearly is..and It's connected …

Member Avatar for Graphix
0
177
Member Avatar for Hypnos_16

Hello All, I'm trying to create three independent animations that all occur in one main frame. I have to use the following methods in my code [CODE]--- Animate --- public interface Animate { void move( double x, double y); void changeConfiguration(); } --- Drawable ----- import java.awt.Graphics2D; public interface Drawable …

Member Avatar for NormR1
0
2K
Member Avatar for zachattack05

So, the question is, if I have a table on a SQL server with 20 columns, and I need to retrieve just 4 columns for a form, and I am using stored procedures to do most of my queries, should I create a stored procedure to retrieve just the 4 …

Member Avatar for zachattack05
0
155
Member Avatar for behrad kiani

i am working in Dijkstra code.which i want to get the vertexes from user by using Array list.but there is a problem in computepath method i can't solve it. [CODE] public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("insert the number of Vertexes:"); int nv=input.nextInt();//nv = number …

Member Avatar for NormR1
0
246
Member Avatar for javaAddict

Hello everybody, My question is simple. I wish to develop a web site and I have been looking for web hosts and most offer MySql. At my job we use oracle, but after some searching I haven't found any great differences between them and any real reasons why I should …

Member Avatar for javaAddict
0
270
Member Avatar for C++ programmer

Hey guys, Recently I started learning win32 api using C but I am pretty scared of the Long and confusing Variables used in it. It appears alot difficult for me to learn those as I am learning myself. Will such kinds of variables will appear in future or not. Thanks. …

Member Avatar for thines01
0
254
Member Avatar for jonsan32

Simple question, I'll take NO for an answer if it's not possible. With a random array, can I display the results multiple time on the same page. I know I can't use css, and I would rather not use php... but is there a way for me to list the …

Member Avatar for jonsan32
0
191
Member Avatar for geneh23

Hey everyone, so I have a change password form and script to go with it..but when I change the password to letters, symbols such as (#$%$) and numbers, it still tells me my input information is incorrect whether it be username, old password or new password...why is this? here is …

Member Avatar for geneh23
0
171
Member Avatar for brob5000

I've written a moderately-sized Web application that utilizes MySQL and PHP5. I have an on-going problem where Microsoft Internet Explorer 6 (IE6) and Microsoft Internet Explorer 7 (IE7) lose the PHP Session ID cookie (PHPSESSID). Of course, when this happens, the application loses track of the current user and the …

Member Avatar for Trevor Mills
0
1K
Member Avatar for biojet

Hi all, I am trying to make the script to sort the data at the max to min at the decided position. [CODE] in put : 10 0 20 0 24 0 26 0 34 0 39 0 49 0 55 0 56 0 65 0 65 0[/CODE] [CODE]I hope …

Member Avatar for d5e5
0
270
Member Avatar for Matjame

Hi. I have the below code that update a 'dirpath' and 'cobdate'(calendar) field from a website. When I look at the results from my python script. I can see the correct 'dirpath'. The date value selected is correct(as 2012-01-16) but when it posts or submit, the date comes up incorrectly(20120116) …

Member Avatar for joehms22
0
219
Member Avatar for Xytheron

Hello all, Long time reader, first time poster here. I've been a web programmer for some time now but really never got into any scripting languages, I guess you could say I was just a web designer. Either way I want to write a little web server in Python to …

Member Avatar for joehms22
0
327
Member Avatar for jaimin4829
Member Avatar for abelingaw

I am trying to display an alert box using javascript in my login php file. When a user logged in using a wrong username or password, then a messagebox will display. This is what i have so far: [CODE] $query="SELECT * FROM info WHERE username ='$user' && password ='$pass' "; …

Member Avatar for asprin
0
185
Member Avatar for ARKaMAN

Any idea what I did wrong? 'WHERE id =' at line 16 I am not sure why it says line 16 but I think it is talking a bout line 64. [CODE]<?php include 'resources/init.php'; if (isset ($_GET['id'])) { $q = "SELECT * FROM Client WHERE id = {$_GET['id']}"; $result = …

Member Avatar for NinjaMediaD
0
383
Member Avatar for Karrashin

Hello everybody, I'm trying to make a simple page, build from several div's. I have a Header-div (yellow), a Navigation-div (green), a Content-div (pink), a Socialmedia-div (grey) and a Footer-div (red). All div's have a fixed height except for the content-div, I'd like this div to auto size itself. This …

Member Avatar for asprin
0
232
Member Avatar for ahoysailor

Hi, I want to search a managed list, List<String^>^ list, for a variable substring (i.e. the substring changes it's contents every time it is looped). The list is populated by a Unicode (UTF-16LE) text file. The substring to be searched for is basically an ID for the Strings that occurs …

Member Avatar for thines01
0
239
Member Avatar for joshmac

I have a php wizard for an application that does the MySQL insert but it comes back with an error message, and I can't seem to figure out what. Any help is greatly appreciated. Insert Statement [CODE]CREATE TABLE `{dbprefix}permissions` ( `ID` bigint(20) unsigned zerofill NOT NULL AUTO_INCREMENT, `permKey` varchar(30) NOT …

Member Avatar for joshmac
0
173
Member Avatar for doomhades666

How can i get selected text in web page and put it on textbox? This is the text that i want to copy. [URL="http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png"]http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png[/URL] This the page source of the web page [CODE]<div class="output"> <h1 class="titlebar">Calculator Output</h1> <div style="padding: 1.2ex;"> <pre>Simplifying -2x + 3y = 8 Solving -2x + 3y …

Member Avatar for codeorder
0
1K
Member Avatar for jkembo

I am stuck, I know how binary tree works, but I don't have any clue how to add data recursively in a binary tree. The user needs to enter a formula with logical operators. If the user presses to a button e.g NOT(unary operator), then it should display at follow …

Member Avatar for jkembo
0
290
Member Avatar for Cuchara2

I have a form which submits comments onto a page. When the comment is submitted I'm using jQuery to submit the variables and then return me a success message. I have also coded a way of reloading my <div> tag which contains a PHP include file, but I receive a …

Member Avatar for Cuchara2
0
259
Member Avatar for ravi_91

hi to all, i did a project in jsp for "online exams" in my college then here my problem is how can i put into server so that every student can write the exam by connecting to the server how can he connect to the application(jsp file) which i put …

Member Avatar for peter_budo
0
136
Member Avatar for iamthesgt

In building an application, I can make the project on one computer, but I can't on my other one. The thing that is holding me up is: [ICODE]#include <cppconn/resultset.h>[/ICODE]. I've searched but I can't find the package I need to install to get this library on my computer. I'm running …

Member Avatar for iamthesgt
0
133
Member Avatar for raj.mscking

Hi Gentles! My Self Raj, I am a new user of this site, i wants to create an application (with concept of Ecryption & Decryption) for transfer image with hiding (media file eg.mp3) Any one can help me how can do it, and how much possibilities combine hided media with …

Member Avatar for JamesCherrill
0
151
Member Avatar for harintfs

Dear, I am using following code to show php page in popup window <form name="myform" method="post" action="payhistory.php"> <input name="pay_his" type="submit" class="memberhistory" value="Payment history" onclick="myform.target='POPUPW'; POPUPW = window.open('about:blank','POPUPW','width=550,heig ht=400','scrollbars = yes','title= ' );" /> </form> // working good Now I want to use Php header location function instead of using form, …

Member Avatar for pritaeas
0
559
Member Avatar for gedas

hey guys, i am trying to create an app that would review text file that is on the server, how would i go around in doing that? i believe i need to login to the server for example root@123.123.123.123 and eneter the password, later i need to navigate the file …

Member Avatar for DavidKroukamp
0
141
Member Avatar for anders10

Hi! I'm new to assembly coding and I have an assignment in Intel/AMD where I'm supposed to code a file that consists of different subroutines and another file that produces the code to take care of. But first, as a start, I think I have to start with small pieces …

Member Avatar for angah
0
376
Member Avatar for fmasroor

I am trying to make a program that couts characters in alternating colors. [CODE]#include <iostream.h> #include <windows.h> #include <dos.h> #include "Random.h" void main() { randomize(); HANDLE hcon = GetStdHandle(STD_OUTPUT_HANDLE); int basecolor1=random(256), basecolor2=random(256); char board[4][4]; int x, y, k; for(x=0; x<4; x++) { for(y=0; y<4; y++) { k=(x%2); k+=(y%2); k=k%2; if(k==1) …

Member Avatar for deceptikon
0
154
Member Avatar for renzlo

Hi all, Please see attached for my query. Hope someone can help me. Thanks in advance. -renzlo

Member Avatar for renzlo
0
315
Member Avatar for subrataa

Hi.. Any one please tell me what is the method going on after this link : (download button) [url]http://www.cell93.com/angels/wallpapers/[/url] Please help me out... Here is a php file in server named “download.php” , I tried using too many php code to active download like this but each of every time, …

Member Avatar for subrataa
0
156
Member Avatar for learner guy

Hi i am learning xml , in a very simple code i got an error saying [B]"Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"[/B] i am getting this in all browsers ,i have tried to look for solution on google but could not find ,Plz help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Troy III
0
1K
Member Avatar for tony75

[B]Hiding .exe file inside JPEG using python3[/B] Hi I would like to hide calc.exe inside the jpg and when I click to my JPEG I would like the calc.exe will execute. My python script do this 1.hide calc.exe file inside jpeg. 2.run calc.exe when I open my jpeg. [B]I will …

Member Avatar for sun_2588
0
237
Member Avatar for Szabi Zsoldos

Hi guys, Working on a table. Each of the entries has an A or B in the 'tip' field. I order them by 'tip' how can i add a special row for the first entry of the A or B series from the query? I know it's not an IF …

Member Avatar for Szabi Zsoldos
0
134
Member Avatar for jackbauer24

What is the difference between "[CODE]return[/CODE]" and "[CODE]messageBox.Show("whatever")[/CODE]"? Also explain(efforts will be appreciated): What does [CODE]retern[/CODE] do?

Member Avatar for EBS.VivekGupta
0
196
Member Avatar for jackbauer24

I've got to explain this to my ten year old son, so please explain this in an easy way. (If you can, each and every thing about [ICODE]this()[/ICODE].) Thanks in advance.

Member Avatar for jackbauer24
0
174
Member Avatar for andur92

I have been trying to understand these methods so hard but have failed so far. Please, if you can, give me a example with the explanation. Thanks for your time. Following methods of StreamWriter class: 1)Read(); 2)Peek();

Member Avatar for kamilacbe
0
189
Member Avatar for mehnihma

Can you help me with this problem I have a class and I need to create separate class justo fro reste button, but I am not sure how to do this? Here is what I have done [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MyEventC extends JFrame implements …

Member Avatar for peter_budo
0
1K
Member Avatar for charlybones

Greetings. In my Console Application, I have a process that connects to a Access Database File. After closing the connection I copy the file to another folder, and delete the original. Lately this is failing a lot. For some reason the File is still being used, even if the connection …

Member Avatar for charlybones
0
252
Member Avatar for harinath_2007

Hi , I developed an application which checks mail(gmail) all the time and alerts me whenever new mail has come. In short its a email notifier or email alerter. The application uses IMAP protocol .The application opens the connection once and it continously checks whether a new mail has come. …

Member Avatar for harinath_2007
0
129
Member Avatar for Fixxxer

Hi there I have written the following code to read some data from a file and bin the data into bins of equal size so I can plot this data easily. [CODE]#include <stdio.h> #define N_HITS 1800 #define N_TIME_BINS 78 int main() { int i, time_bins[N_TIME_BINS],j; double event; double hit[N_HITS],value; FILE …

Member Avatar for Gaiety
0
243
Member Avatar for groff

I have two combobox in a form: Cb1 and Cb2 When I load the form, Cb1 and Cb2 are connected to a bindingsource. When I change Cb1, the code (below) changes Cb2 to show only the items according to Cb1 This is working fine. The problem is when I change …

Member Avatar for groff
0
174
Member Avatar for Gaiety

[CODE] #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main( void ) { int fd,nob; char str[1024]; fd = open("test.txt",O_RDWR|O_CREAT,S_IRWXU); if (fd < 0) { perror("open:"); exit(0); } nob = write(fd,"hello first",1024); close(fd); printf(" %d nob written",nob); fd = open("test.txt",O_RDWR); nob = read(fd,str,1024); close(fd); printf(" %d nob …

Member Avatar for Gaiety
0
124
Member Avatar for dashawk

Hi guys, I have a project that reads a json data and parse it. The program is working properly except that I cannot get its individual rows and view it in separate panels. Here is my code: [CODE] Imports System.Net.Json Public Class Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Member Avatar for dashawk
0
263

The End.