199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for liqin

How can i reload/refresh the same form again without losing the data stored along with the form?

Member Avatar for kvprajapati
0
107
Member Avatar for ayeshawzd

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

Member Avatar for ayeshawzd
0
485
Member Avatar for rcook

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

Member Avatar for hu_yang
0
148
Member Avatar for liqin

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 …

Member Avatar for kvprajapati
0
146
Member Avatar for NickT80

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

Member Avatar for javaAddict
0
78
Member Avatar for sid78669

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 …

Member Avatar for mahmoud_wow
0
203
Member Avatar for xfrolox

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 …

Member Avatar for QVeen72
0
86
Member Avatar for Godflesh

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.

Member Avatar for Godflesh
0
16K
Member Avatar for breakid

Hi I'm trying to create a trigger the trigger avant will be to update the worker union number. my table looks like this - worker(id,salary,union ) I wont the trigger to take action after I will update a worker salary. I did this but it don't work HELP Plz.. [CODE] …

Member Avatar for debasisdas
0
72
Member Avatar for David_OHS

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

Member Avatar for debasisdas
0
107
Member Avatar for reyarita

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

Member Avatar for avirag
0
180
Member Avatar for AdventDeo

[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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 …

Member Avatar for AdventDeo
0
159
Member Avatar for pankaj.garg

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 …

Member Avatar for pankaj.garg
0
2K
Member Avatar for noescape

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 …

Member Avatar for noescape
0
75
Member Avatar for hooligan2008

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

Member Avatar for ~s.o.s~
0
175
Member Avatar for MCMLXXXVIII

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

Member Avatar for mrnutty
0
85
Member Avatar for johndoe444

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

Member Avatar for johndoe444
0
114
Member Avatar for Krstevski

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

Member Avatar for Krstevski
0
101
Member Avatar for GradStudent

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 …

Member Avatar for johnthompson
0
120
Member Avatar for xfrolox

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 …

Member Avatar for gatzaraki
0
121
Member Avatar for nats01282

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 …

Member Avatar for FlashCreations
0
91
Member Avatar for compovet

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 …

Member Avatar for compovet
0
171
Member Avatar for benk1

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 …

Member Avatar for benk1
0
2K
Member Avatar for bertyhell

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 …

Member Avatar for bertyhell
0
241
Member Avatar for ms_farenheit1

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 …

Member Avatar for DavidB
0
3K
Member Avatar for metalstorm

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 …

Member Avatar for metalstorm
0
81
Member Avatar for faat99

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 …

Member Avatar for DavidB
0
98
Member Avatar for kumiyare

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 …

Member Avatar for kumiyare
0
308
Member Avatar for takeshi

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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="pre1">&nbsp;&nbsp;<th><a href="">View Profile</th></a></td> <tr></tr> <td>2.Name presidents&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input …

Member Avatar for FlashCreations
0
163
Member Avatar for lewashby

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

Member Avatar for Firewolf
0
842
Member Avatar for szkoda

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

Member Avatar for szkoda
0
110
Member Avatar for bharanidharanit

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 …

Member Avatar for bharanidharanit
0
163
Member Avatar for rouse

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?

Member Avatar for almostbob
0
113
Member Avatar for vaibhav2614

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

Member Avatar for vaibhav2614
0
129
Member Avatar for lostangel556

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 …

Member Avatar for nezachem
0
205
Member Avatar for Dawiss

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 …

Member Avatar for radaniro
0
147
Member Avatar for whitestream6

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 …

Member Avatar for whitestream6
0
1K
Member Avatar for 54uydf

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 …

Member Avatar for 54uydf
0
84
Member Avatar for theMediator

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 …

Member Avatar for theMediator
0
149
Member Avatar for milenio

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 …

Member Avatar for sknake
0
402
Member Avatar for Alerwi

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

Member Avatar for tux4life
0
115
Member Avatar for hitro456

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 …

Member Avatar for sknake
0
136
Member Avatar for Celt.Max

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 …

Member Avatar for sknake
0
132
Member Avatar for johndoe444

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.

Member Avatar for mrnutty
0
136
Member Avatar for giahmed

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 …

Member Avatar for giahmed
0
482
Member Avatar for Deepa

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

Member Avatar for sundar9987
0
898
Member Avatar for szkoda

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 …

Member Avatar for szkoda
0
113
Member Avatar for annitaz

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!!!

Member Avatar for low_coder
0
1K
Member Avatar for wondergal04

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 …

Member Avatar for JamesCherrill
0
117
Member Avatar for checho

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 …

Member Avatar for JamesCherrill
0
2K

The End.