199,114 Archived Topics
Remove Filter ![]() | |
How can i reload/refresh the same form again without losing the data stored along with the form? | |
how can i find value of cos without using math library of c# .......plz send me code example or formula by which it ia possible i thank full to u | |
I'm creating a printed report of an event; each event has one or more groups, each group has one or more people. The report page is set externally; I can't change that. Each page of the report has a place for up to two groups and up to 6 people. … | |
I am trying to generate random images from access database using hashset as it is said to be unique and there won't be any repeated images appearing. But, it doesn't seem to work. How can i get it to work? By the way, i am very new to the concept … | |
I am to create a superclass that has at least two data fields, a constructor and two other methods. Create two subclasses that inherit from the superclass each one of which adds at least one more field and at least one more method, one of which must be an 'over-riding' … | |
I am working on a automated utility for students which works with their calendar. I have implemented the option by which they can set a time at which the PC will shut down. I was wondering if there is any library or dll or anything out there that might also … | |
Ok i'M making a program for a game a tool software I made that when I press a button in another dialog it appear a text + textboxs.text so when I press a button it appears in the dialog but all in the same line how do I do that … | |
Hello i have a big problem, i want to import queue but i get this message, somehow it dont exist. Traceback (most recent call last): File "D:\Python26\test.py", line 9, in <module> import queue ImportError: No module named queue isnt that strange. | |
Would like to create a temp table at the start of my Code for pull only a small result set that I then can use for my final result. Thank you, David | |
good day ahm guys do u have any idea how to make GUI in console application in c# I've tried searching in internet but i couldnt find it. Mostly VB. Pls guys need your help for my sales inventory system | |
[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> </div> <div id="dname" style="display:none; visibility:hidden"> <input name="Name[]" type="text" size="35"> </div> </table> .... <input type="button" name="Add" value="More Company" onclick="return AddRow();"> .... //the following javascript function is saved in another .js file which is then called from the main php file when the … | |
Hi, i am trying to create a program where user can add picture to a form at runtime..and store it in a database as well...i am using following code to define array of picturebox and load a picture in it... [code] Dim mimage() As PictureBox ReDim mimage(0 To num1) As … | |
Hi. in open source package moodle i came across "global $CFG" line of code in setup.php in config it is used as [CODE] $CFG->dbtype = 'mysql'; $CFG->dbhost = 'localhost'; ............ [/CODE] $CFG is global object but there is no class. it is behaving like an array. how there can be … | |
I use to pass data between *.java and *.jsp, since this is a MVC framework, it will go by the *.java first. so i used request.getSession().setAttribute("test", "01010101010") to save the value, and then in *.jsp, use request.getSession().getAttribute("test") to get value. But it returns a strange string "682342348" all the time. … | |
we are given a problem to make this in a program but i don't quite understand what it means or requires. • Look for positive integers that are not the sum of the cubes of nine different positive integers. can someone help me out.. Thanks | |
Hi, I am implementing the linked list delete as: before delete: (delete a) ->(0x01:a)->(0x02:b)->(0x03:c)-> after delete: ->(0x01:b)->(0x03:c)-> ie instead of deleting a the content of next node is copied to current node and the next node is deleted. The code is as follows: [CODE]template<class type>void list_delete(struct _linked_list<type>** llist, type value) … | |
I have created upload script and worked great, but I don't know how do I check the size of the file before upload because I want to limited on 10mb per file... So, mu question is: How do I check the size of the file before upload ? Thanks... | |
I have a Vista Home Basic Edition and I need to complete my School projects that need IIS .. I understand there are not much work -arounds for this issue.. 1) I dnt think i have the Vista Installation CD with me.. 2) Can i upgrade it to Vista Professional … | |
well the last thing i need is a button that will copy TextBox1.Text like Select All and Copy it all, i use a simple code no very effective... i put sendkeys ctrl & a and ctrl & c but i just realize that all pcs doesn't have the same hotkeys … | |
Hi all, Im new to php with mysql, i have connected sucessfuly to my database, But how do i go about creating a register script and login script? I already have 10 page website created by me in html/php But now i want to add a members area i have … | |
HI I'm trying to insert data in 2 tables one is the master and the other is the details table, let us say it is test details first table : the master data of the test (name,date,......) second table : the parameter details (masterID,parameter,value) I want to do that through … | |
Hi Guys I've got a MySQL product database on a website, and I wrote a php script that searches the database and returns the results in an html table with no problems at all. My problem comes when trying to display x results (I've been trying 5) per page. I've … | |
hello i want to replicate this form [url]http://i77.photobucket.com/albums/j74/bertyhell/layout.png[/url] the top is just the form the lower one is how i'm triing to do it 'red' is a boxlayout and the green parts are panels with normal flowlayouts i cant seem to get the alignment right this is what i got … | |
I am working on a programing that needs to accept a text file as input and read that data into an NxM matrix. The only given size limitation is that the max row length is 1024. Additionally, the program needs to produce an error if all rows do not contain … | |
hi all, ive downloaded the DHTML window script from here : [url]http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm[/url] and have it running on my site. i also have a DTHML / ajax chat running on the site which is currently on the main page in an iframe. im trying to put this iframe inside the DHTML … | |
I have done approximations of I=∫dx/x using Simpson's rule and Trapezium rule, and I output the results to excel. And I plotted a graph. My problem is, why are there fluctation at a point of n instead of showing linearity all the way(Picture below)? I have been thinking this all … | |
I have a slideshow of quotes based on the "Ultimate Fade-in slideshow (v2.1)" at Dynamic Drive: [url]http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm[/url] This is right under my navigation bar, and the drop-down menu items are hidden behind the javascript slideshow. Some background: The reason I did it this way because I first started out with … | |
Hi.Im trying to create a program that would simply [B]count of votes[/B] and [B]save in database[/B] after voting of the students,[B]results of all votes[/B], and [B]displaying people that have voted[/B].. here's my html. [CODE]<h2><center>Select Candidates</h2> <p><table cellspacing=5 cellpadding=5> <tr> <th>President:</th> <tr></tr> <td>1.Name presidents <input type="radio" name="pre1"> <th><a href="">View Profile</th></a></td> <tr></tr> <td>2.Name presidents <input … | |
I'M reading "Beginning Game Develpment with Python and Pygame". In the following code, I'M gettin this error in sysfont.py [COLOR="Red"]NameError: global name 'glob' is not defined[/COLOR] [CODE]import pygame from pygame.locals import * from sys import exit pygame.init() SCREEN_SIZE = (800, 600) screen = pygame.display.set_mode(SCREEN_SIZE, 0, 32) font = pygame.font.SysFont("arial", 16) … | |
Im trying to create an if statement based on the value in my database. [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>E Movies :: Rent A Movie</title> <link href="styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="header"> </div> <div id="menu"> … | |
I would like to add captcha to my registration system. I searched google and i get some. There are more number of scripts in that which are little bit complex to go on. I simply took my needs from that. Now My registration page is generating captcha, but i dont … | |
Can someone show me how to do the following? I have a variable named $day. If the value of $day is between 1 and 9 and it is represented by a single digit like “1”, I would like to set $day to 01. How would I do this? | |
Hi everyone, I've been trying to code up a generic vector implementation in C, and the compiler has not been kind to me... Here is the struct I have defined in a file "vector.h." [CODE]typedef struct 72 { 73 int elemSize; 74 int logLength; 75 int allocLength; 76 int delta; … | |
Hi Everyone. Apologies for the length of my first post but this one has perplexed me an bit in my project. Im creating an Windows Media Player Visualization in VS2008 and am drawing an blank on the below. What i need to do with the below code is to create … | |
Hello, Im making a program which when you run it opens up a small form which asks for your password and username, if its incorrect it shows Alert message but if it's correct closes the first form and opens second form with the stuff... so My question is - How … | |
I created code for my TV guide web site, as mentioned in a previous thread ([url]http://www.daniweb.com/forums/thread247517.html[/url]). I solved the problem, in the code below. This is the new code, which works well: [CODE] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORD"); //select which … | |
Hey everybody :) I'm looking for a ready code in [B]Java or C[/B] for[U] Ford - Fulkerson algorithm[/U]. I need to program something very similar and I thought it'd be great if I wouldn't have to start from scratch since I'm not that good programer anyways.:-/ I couldn't find any … | |
Hi, I'm building an application that reads barcode scanning data into multiple forms and textboxes. At the moment, to handle that data I have created a large nested if statement that checks to see which object has focus so that the scanned data is placed there and focus moves down … | |
Hi all, I faced up the following problem: I have a table: ID|server | target | action ---------------------------- 1 |a | b | attempt 2 empty row 3 |a | b | success 4 empty row 5 empty row 6 empty row 7 |b | a | attempt Does someone … | |
Hi There ! I want to prepare SCJA certification and i need your help and guidance Please! if some has complete course or book for that ,i will appreciate it ... Thank you for All | |
I have a huge database which contains certain categories of products and their sales figures. I want to find CATEGORYWISE sale per Month. I have written a query for that. but I had to write 12 queries for 12 months. This is a sample Query for Month April I am … | |
I have a scary query on MSSQL 2005 here... Got a wiew that returns 2110 rows... and a table of cca 1 500 000 rows. Now, when I run this query [CODE] SELECT TS.col1, TS.col2, count(*) AS Number FROM view_scary VS LEFT OUTER JOIN table_scary TS ON VS.IdContact = TS.IdContact … | |
Is this possible to declare a template struct similar to template class: [CODE]template<class type> typedef _stack { type arr[MAX]; int tos; } stack;[/CODE] Thanks. | |
Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and … | |
Hello Iam sending mail from web page like, enquiry form mail using asp and asp.net.while send the mail i don't have any error. but the mail does't reach the destination.can some one give me a solution for this problem. ds | |
Been trying to work this out for hours I have two tables called 'Genres' and 'Films'. Genres contains two columns 'Genre_id' and 'Genre_Name'. Films contains a load of columns, the most important being 'Title', 'Year', Director', 'Genres'. Now im trying to create a page where the user can edit a … | |
I am new to nasm and I need to write oprogram that reads (user input) numbers 0-3000 and converts them to roman numbers. So the user inputs a number between 0-3000 and the the program converts it and outputs the corresponding roman number. Please help!!! | |
hey i select any image from combobox.. the label should updated to display that image.. i tried this code. I am not getting through., Just see dis.. please help me... reply fast.. its urgent.. [code] import java.awt.*; import java.awt.event.ItemEvent; import javax.swing.*; public class x extends JFrame { JLabel l; ImageIcon … | |
Hi, here is my problem. I have the next task //Write a program that removes from a given //sequence all the numbers that present in it odd //number of times. Example: //{4, 2, 2, 5, 2, 3, 2, 3, 1, 5, 2} {5, 3, 3, 5} The problem comes in … |
The End.