199,114 Archived Topics
Remove Filter ![]() | |
I want to know diffrence between asp.net and MVC | |
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 … | |
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{ … | |
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 … | |
please help me in gettin good topics for my final year engg. projects in vb.net | |
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 … | |
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". … | |
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 | |
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" … | |
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 … | |
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.. | |
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 … | |
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? | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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++) { … | |
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…. ![]() | |
![]() | 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 … ![]() |
copy constructors ?? what are they ? | |
![]() | 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 … ![]() |
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 | |
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 … | |
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 … | |
:( 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 | |
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 … | |
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 … | |
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 … | |
[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 … | |
![]() | 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... ![]() |
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 … | |
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 … | |
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 … | |
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) | |
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 … | |
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 … | |
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 … | |
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 … |
The End.