199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for reyanseo
Member Avatar for EvolutionFallen

Hi, I'm somewhat new to jQuery/JavaScript, so any help would be greatly appreciated. I have a few textboxes that need to be populated when a user clicks a hot spot on an image map. Each hot spot has an alt tag representing the ID number of the object I need …

Member Avatar for MooGeek
0
161
Member Avatar for hazeeel

hi all!! I need some help here. It's the Translation matrix. I can't seem to get the output. I wonder if my conditions are right cause I've been changing them. Please do take a look from line 125 onwards. Thanks much! [CODE]import java.io.*; import java.util.*; import java.text.*; public class KateAug24{ …

Member Avatar for hazeeel
0
267
Member Avatar for marvolo1300

Hi, I want my script to redirect the visitor to the another script which is in another folder under the same parent directory. And i cannot use the "header()" redirect method. [QUOTE]/www/index.php/ (where i want the visitor to be redirected to)[/QUOTE] [QUOTE]/www/upload/upload.php/ (where i want the visitor to be redirected …

Member Avatar for MooGeek
0
1K
Member Avatar for Md.Moin Khan
Member Avatar for the_carpenter
0
116
Member Avatar for guyfrompluto

Here is a starter program that prints prime factors of a supplied numbers as a string.It's quite buggy as the input 8 yields 1.2.4 when what i wanted is 1.2.2.2 and I don't understand why the return in line 32 (commented) is not executed. [code=java] //program to compute prime factors …

Member Avatar for guyfrompluto
0
330
Member Avatar for Dean_Grobler

I'm struggling with a servlet that's suppose to represent an "online banking service". Once you run the servlet you'll see it's an extremely simple example... You enter an amount in the textfield provided, then click on the apropriate button depeding what action you want to perform e.g. "deposit","withdraw" and "balance". …

Member Avatar for martin5211
0
98
Member Avatar for kerek2

Hi all...need help from u all...i already develop system using VB.net with Microsoft Access 2003 as my database. when i running in Windows XP it's working great but when running in Windows 7, i can't insert into it...can anyone help me plz

Member Avatar for kerek2
0
141
Member Avatar for mgaritjr

Hello All, It's been a while since I started coding in C# so please bare with me. Here's the scenario: I have a form that has textbox fields such as "Qty, Price, and Total Amount". "Qty" needs to be multiplied to "Price" and the results shown in the "Total Amount" …

Member Avatar for mgaritjr
0
137
Member Avatar for Romil797

I am making a basic Player vs. Computer Tic-Tac-Toe in Visual Studios Express 2008. My Form.cs is [code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Tic_Tac_Toe { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public Image …

Member Avatar for Romil797
0
136
Member Avatar for Redhaze46

hello all.., can i use c++ libraries and the compiler to create my own interface? i just want to use a different gui for it.. a new editor of sorts.if yes then how do i go by it? thanks..

Member Avatar for NicAx64
0
132
Member Avatar for zachattack05

I've been trying to figure this one out. I was under the impression that when a class method contains any resources, once the method has reached the end of the code and returns it's result (or nothing in the case of void), that all of those resources are gobbled up …

Member Avatar for zachattack05
0
663
Member Avatar for plasticfood

ok i need to write something like [CODE] if { days > 5 && minutes > 5 } [/CODE] basically i need minutes to be around 5 to 10, and cannot be greater than 10. how do i do write this within the same if statement?

Member Avatar for plasticfood
0
101
Member Avatar for wendeus

Hi everybody, I wanna make a simple leads form in php, this form has three fields. the first field is "code", the second one is Name and third is e-mail. the issue is that i have two tables in my database and i want in one hand store all this …

Member Avatar for CyberSpatium
0
145
Member Avatar for Andrew Davis 64

THIS IS A PROGRAM THAT WILL OPEN A WINDOW, THEN WHEN YOU CLICK CALCULATE GPA, A JOPTIONPANE THING WILL OPEN AND YOU WILL PUT YOUR GRADE IN, THAT WILL HAPPEN 2 MORE TIMES THEN THE LAST ONE WILL SHOW YOU YOUR GRADE AVERAGE. WHEN I COMPILE THIS PROGRAM, EVERYTHING IS …

Member Avatar for coil
0
303
Member Avatar for gchurch

hey i desperately need to know the answer for a project if anyone can help... i and retrievin info from a DB and desplayin it in a dynamic table. then if the <select value='1'> in the form i need to send a variable accross to another page. the code is …

Member Avatar for gchurch
0
98
Member Avatar for ceeandcee

Good Afternoon, I have this line of code: echo $sum['PTS1011_wk1']; Earlier in my page, I have set a variable to: $wk="wk1"; What is the syntax to use the Variable $wk instead of spelling out wk1. I want to be able to change $wk once and have it change throughout a …

Member Avatar for Fbody
0
85
Member Avatar for dschuett

Ok, So I found a pagination class fro ma tutorial and decided to try and impliment it into my mysql search query I use here at work to search past Parts Ordered records. I got it working to the point that it only shows 10 results on a page, and …

Member Avatar for CyberSpatium
0
224
Member Avatar for onako

I'm implementing an application that should decide whether to move computations to external memory, depending on RAM memory consumption. Is there a C++ function that computes my maximal RAM memory capacity, and the amount of currently consumed portion (in MB, perhaps). Any other suggestions on how to obtain these values …

Member Avatar for manojwali
0
298
Member Avatar for lgriess

This works fine in Firefox but not in IE7???? I have this button: <asp:TableRow> <asp:TableCell VerticalAlign="Top" HorizontalAlign="Center" ColumnSpan="2"> <asp:Button runat="server" ID="btn_Forgot" CausesValidation="false" BackColor="#E6E6E6" ToolTip="Click here if you forgot your password" BorderStyle="None" onclick="ForgotButton_Click" ForeColor="Red" style="font-size: small; font-family: Arial" Text="forgot your password?" /> </asp:TableCell> </asp:TableRow> and now the code behind for the …

0
53
Member Avatar for TommyRay

I've been creating a Tabbed Browser application and am wondering about the garbage collection. I've zeroed out all of the variables, but I am wondering about the instances of the browser I am using when creating and deleting tabs. I am using the following code to call up an instance …

Member Avatar for codeorder
0
266
Member Avatar for pwgmac

Hi all, Sorry if this is a common thread. I did a search but couldn't find a solution I was looking for... You know the popup that appears if you're not logged in about joining Daniweb, I need to put together one very similar for a forum I'm working on. …

Member Avatar for george61
0
120
Member Avatar for falconwise

So here's my situation: I have a matrix with numbers that have 3 decimal point precision and potentially any amount of numbers before the decimal point. The matrix is printed on a file in the following format. Matrix has x rows and y columns: 1.333 2.666 4.222 3.999 5.547 4.318 …

Member Avatar for falconwise
0
162
Member Avatar for thinkwell

Hi everyone! My first post on daniweb, although I've often been helped by reading. :) I have a CGI script that is driving me batty. CGI is in python. If I put any python code ABOVE the HTML printout of the script except for import statements & varable assignments, Firefox …

0
127
Member Avatar for SiobhanyScot

Alright kids, I know next to nothing about PHP but I'm interested in geolocation scripts. A couple of months ago, I got a presentation from a company that can target content down to the zip code level (and much more, but that's beside the point). However, what they charge a …

Member Avatar for chrishea
0
200
Member Avatar for NewOrder

i established an array of objects. i want to user to name a chess piece, the name of the chesspiece then will search the object in the array [CODE]package il.co.ChessInterface; import il.co.Pawn.Pawn; import il.co.Bishop.*; import il.co.King.*; import il.co.Queen.*; import il.co.Rook.*; import il.co.Knight.*; import java.io.Console; public class ChessInterface { public static …

Member Avatar for NewOrder
0
191
Member Avatar for nv136

Hello everyone, i need a bit of help. On a click of a button i want to pay an audio file.... here is my code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox2.Text = "1" Then TextBox2.BackColor = Color.LawnGreen C:\Users\Nick\Desktop\good_work.play now for some reason …

Member Avatar for codeorder
0
144
Member Avatar for mbrown686886

I am trying to open two different forms depending on if I click yes or no from a message box. The code runs but both yes and no open the same form. Is it possible to open two different forms? My code is posted below. Both open Form3 when clicked. …

Member Avatar for mbrown686886
0
161
Member Avatar for chii18

please. i really don't know what to do. i must answer this problem for me to advance in other exercises. here's the sample problem: n=4 1234 123 12 1 so far, this is the code that made: #include<stdio.h> main() { int n,x,y; clrscr(); printf("n="); scanf("%d",n); for (x=1; x<=n; x++) { …

Member Avatar for prvnkmr449
0
97
Member Avatar for sawanshi

Hi I create small application in c#.net 2008.( send mail and attach files) but I want to virus scan text as well as attach file like gmail but how??????? Please guide me….

Member Avatar for nssltd
0
84
Member Avatar for nssltd

You know you'd think it be the easiest thing in the WORLD to change the cursor, after all its just an image but yet again i'm having problems.I am making a web browser project I have the standard cursor( . cur file ) and when the application is navigating i …

Member Avatar for nssltd
0
138
Member Avatar for Xufyan
Member Avatar for nssltd

Hi i have been making a web browser program in c# but an annoying dialog pops up on some pages the user navigates. The dialog says Script error Syntax error line 54 char 16 0 does anybody know how to prevent this from popping up. Thanks in advance NSSLTD. p.s …

Member Avatar for nssltd
0
103
Member Avatar for walter clark

I'd like to know what the ASCII codes for the toggle keys of the keyboard. I want to make the mouse clicks do different thing when the Caps Lock, or Scroll Lock is pressed. Walt

Member Avatar for Ancient Dragon
0
107
Member Avatar for amckenzie4

I've only just started playing with AJAX, as part of a project I'm dealing with at work. The specific piece I'm stuck on at the moment is this: I have a form with a lot of fields, two of which are subnet (a drop box populated from a database, via …

Member Avatar for amckenzie4
0
277
Member Avatar for vgd

import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; public class DerbyTest { private Connection connect = null; private Statement statement = null; private ResultSet resultSet = null; public DerbyTest() throws Exception { try { Class.forName("org.apache.derby.jdbc.ClientDriver").newInstance(); connect = DriverManager.getConnection("jdbc:derby://localhost:`1527/vineet"); statement=connect.createStatement(); resultSet = statement.executeQuery("SELECT * FROM EMPLOYEE"); while (resultSet.next()) { String user …

Member Avatar for masijade
0
208
Member Avatar for motlatsi

:( hi people i nid help in calculating an item from a texfile that exists from menu_cmbselectedIndex,i want to display total number of items when i click a combobox and should also display total amount for those items,pls respond A.S.A.P

Member Avatar for codeorder
0
97
Member Avatar for tiger86

This is not an advertisement, this is purely a thread telling people about resources that I've found, well resourceful. For those who are stuck with Ruby on Rails or need to learn the basics you should check out the free videos by Ryan Bates at [url]www.railscasts.com[/url], they've helped me a …

Member Avatar for tallship
0
415
Member Avatar for ubi_ct83

Hi all, hope u guys r fine. i have a question about array.im using double array,but seems cant support bigger size and im planning to change it to arraylist.but the problem is, can i update the data in arraylist? [code] int value[]={9,8,9,7,9,7}; int[][] myTupple = new int[count][value.length]; repetition =1; for(int …

Member Avatar for jon.kiparsky
0
112
Member Avatar for slap01

i code this without the delete function, but when i started using it, there's and error. need help with this code[CODE]<?php $_GET['id']; $username = "root"; $password = '123456'; $hostname = "localhost"; $db = mysql_connect($localhost, $username, $password) or die ("Unable to connect to mySQL".mysql_error()); mysql_select_db('mynewdbase'); $del = "DELETE FORM newdbase WHERE …

Member Avatar for Stefano Mtangoo
0
119
Member Avatar for singeryoon

[CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim r, d As Double Const Pi = 3.141596 r = Val(rtb.Text) d = Val(dtb.Text) If 0 < d < 360 Then r = d / 180 * Pi rtb.Text = Format(r, "0.00") dtb.Text = Format(d, "0.00") ElseIf …

Member Avatar for the_carpenter
0
211
Member Avatar for Josue198s

Hey guys i need the list of all assembly registers for Intel processor that I can use in Masm615 for integers, double and longs. I only Know this one “ax”, thanks Guys. Moving from java to assembly it is being a pain...

Member Avatar for Josue198s
0
80
Member Avatar for sugumarclick

Hi javaAddicts I am a novice java programmer. I am in a learning process in java servlets. How to load a servlet and invoke its method from index.jsp. I want the servlet to execute first and dispatch its value to index.jsp and also i dont want to use redirect from …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for jeevsmyd

I am planning to create a simple bulls and cows( also know as mastermind board game) in C.The computer is supposed to make 4 digit code in which the allowed digits are 1,2,3,4,5,and 6 ! 0,7,8,9 are to omitted !! How do I make the computer create such a 4 …

Member Avatar for Auraomega
0
438
Member Avatar for NewbieXcellence

Hello... I've been working on a simple server using the sockets module and threads (just for fun btw ;p). I want to be able to connect to it by specifying a "channel" and then anything the client sends is recieved by all clients connected to the same "channel". Now I'm …

Member Avatar for NewbieXcellence
0
170
Member Avatar for SpS

Hi guys....I want to make a simple game using openGL Should I go for GLUT or MFC...don't know anything about any of these.... please refer me to some ebooks on net or tutorials (not very advanced please)

Member Avatar for Sodabread
0
193
Member Avatar for xshashiy

i want to generate non repeated random numbers from 0 to 156. here is the code for the purpose. but when i try to generate the random numbers more then 1 time by using a for loop, the same pattern on numbers repeats. how to solve this problem ? #include …

Member Avatar for DKdontKNO
0
551
Member Avatar for gchurch

well i have a form on the one page of my site that sends some variables accross using POST to another page. then some other things get calculated however the same variables from the first page need to be sent through to the next page. and when i click a …

Member Avatar for gchurch
0
149
Member Avatar for sami.asanga

Hi, Im having a problem with this image uploading thing..:( I was able to upload the image to a folder in the server,but the problem is I dont know how to set the path in the database.Every time after uploading I set the path manually.And I could be able to …

Member Avatar for teedoff
0
118
Member Avatar for am5a03

I'm a AJAX newbie, I was wondering if I can use the .responseText method, to load the text from other website? For example, how can I download the data from "[URL="http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049"]http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049[/URL]" and display the data in my own way? It seems that the .responseText/.responseXML does not work here...:-/ thanks for …

Member Avatar for am5a03
0
103

The End.