199,114 Archived Topics
Remove Filter ![]() | |
I have hierarchical data of family in nested array. I want to draw tree using php graphics. Any body have some code, Please help me how to draw tree nodes & links between nodes etc Thanks, ![]() | |
Thanks so much for bothering to look at this n.n; I've been kind of confused in this class, mainly because I have no idea what the teacher's saying; her English isn't that great, and she has no in-class coding exercises so we're learning entirely from her crappy powerpoints. I'd have … | |
Basically, this is what I'm trying to acheive in its simplest form. [IMG]http://img72.imageshack.us/i/dsgjgsfnhfn.jpg/[/IMG] Does anyone know how to change sin/cos in this way? I just require them to linearly increase/decrease over the set amount of time set on the x axis. In case of the link not working, these are … | |
Hi there I have a rookie question. I am trying to clean up a long list of if statements for a class in java, I know that in C# you can code #region-->#Endregion. Is there a simple way to do the same thing in Java? THANKS! Jameson' | |
hey guys its 1.30 am and I just can't see where the problem here ! the text file contains just brand , model and price, please help ! [CODE] #include<iostream> #include<fstream> using namespace std; struct computer{ char * brand ; char * model; double price; }; void readin(computer * , … | |
ok so i need to allow the user to enter a number they want or delete that number from an array. Then i need to combine those arrays(union) and then find out which elements are common(intersection). only numbers 0-100 are allowed to be entered. so if an element is in … | |
Hi, I'm attempting to rename .tql files within a directory tree to .sql. I'm currently trying to use this in windows command line: [code] for /R %f in (*.*) do REN *.tql *.sql [/code] this for some reason i can't work out, it is not recursively going down the directory … | |
Hello to every one, I am writing a simple web browser on c# 2008 express edition using WPF. It is working fine with www websites and display all content correctly. But if I want to open some local webpage - for instance "file://C:1/1.htm", it is save the webpage instead of … | |
Hi all, I have written the following script and wish to add in a part to make sure the email is not a duplicate. Im a bit unsure as when i added in an sql clause to check_num_rows after the "isset" it just ignored the check. Heres the code [code] … | |
I just started time complexities with no knowledge of it. Read through the forum and surf the web and came up with somewhat a basic understanding of it. int control = N while (control !=0) { code with(1) CONTROL /= 2; } i came up with : N X 1 … | |
Hi all, I have a VS2008 winform application that connects to an Access 2007 database. However, I have been given the task of converting it so that it connects to SQL Server 2005 instead. (I've already migrated the data + database over without too many problems). The question is... is … | |
using this code.stored procedure [code=text] @_Empno nvarchar(8),@_Surname nvarchar(50), @_Firstname nvarchar(50), @_Middlenamenvarchar(50),@_PermanentAdd nvarchar(Max), @_PresentAdd nvarchar(Max), @_Identity ouput int AS SET NOCOUNT ON; INSERT INTO TblEmpPersonal ( Empno, Surname, Firstname, Middlename, PermanentAdd) values(INSERT INTO TblEmpPersonal ( @_Empno, @_Surname, @_Firstname, @_Middlename, @_PermanentAdd) set @_Identity = (Select cast(scope_identity() as int) as empID) [/code] here … | |
Hello, I am very new to C but need to use it to resolve a problem. I have a variable called "W12". All I want to do is increment W12 to W13, W14 etc and then use it later in my code (I am using QA Load to load test … | |
I am going to write a game with QT but i dont know how to start. Give me a tutorial for QT please. | |
Hello Everyone I'm trying to make a query that returns the name of the 'bundle owner' according to the bundle number. On the main table i have the bundle number in this format '676Z703009-1' and on the table that corresponds to the bundle owners we have the bundle number abbreviated … | |
If I click on the red X on the upper right hand portion of the window, I am prompted to save an unsaved changes before the app closes. If I call the following code when I click a button on the screen then the entire app shuts down with no … | |
Hi I want to enter a coding which should find farzana though i type far or zana in the txtsearch.Text. if txtsearch.Text = far then it should display a record existing with farzan or farhan or any other record having far in the record. can some body please help me … | |
Hi, I've made a class whose member is a reference to a dynamically created object. How should I code a destructor? | |
May I know use of Method returning a pointer in C++, please? Thanks. | |
hi what is the difference between : [CODE]main(){}[/CODE] [CODE]void main(){}[/CODE] [CODE]int main(){}[/CODE] [CODE]int main(void){}[/CODE] with my best wishes,, | |
hi is it possible to limit the lenght of a JtextField? thanks | |
How to convert binary numbers to decimal numbers and decimal numbers to binary numbers? help!!!!!! | |
It might be a basic question, but bear with me as google didnt help. I want to create awrapper for cmd.exe that is more comfortable in terms of user interface (I enjoy a lot Konsole in *nix). Right now I have no Idea how to hook to cmd.exe and get … | |
im new to java ..im learning myself.. i want the source code for 12hr to24hr conversion of time.. ie if i give input 1pm then my program should gives this in 24hr version as 13hr..... i hope u pepole will help me.... Regards kavitha | |
Hi Everyone, Sorry for my ignorance, but I am a little knew at this! I am creating a website for my diving club, as part of the club we have a dive boat that can fit 8 people on it. I firstly want to be able to create an area … | |
Hey all you guys at DaniWeb! I have tried my hand at what I guess is Ajax, with a PHP script to execute it. The page itself renders and the form works, but the login script is not working. I'm not sure what is wrong, although I'm sure I messed … | |
Hi. I've made a record on a table which would be used as a comparison to other records in the table. for example.. table: recordID 100001,Company Name recordDI 999999,Company Name i want to compare record 1000001's Company Name with record 9999999's Company name. How do I do that? thanks! | |
Hi, I'm implementing a hotkey tool that globally captures key press/release and sends out keyboard events when receiving a defined key combination. I started implementing a global system hook that generates keyboard press/release events. Some Code snippets: [CODE] // installs an application-defined hook procedure into a hook chain // [DllImport("user32.dll", … | |
I hav created a database using a windows application form in vc++ i can add and delete entries in the database.. but my prob is that the database s nt getting updated.... it says that "[COLOR="Red"]no value given for one or more required parameters[/COLOR]" my update code s as follows … | |
Hi Guys, I'm having trouble with the form reset button in my php script. The form submits to it's self in the same page. The php script has error handling i.e [CODE]if(empty($name)){ $error[] = " Enter Your Name";}[/CODE] The Problem i have is when the form is submitted it checks … | |
Hello, I've been searching all around but I didn't found a link about this. I want to get a html, and use like it was a .txt in fopen, so that I can read it. Does anyone knows how to do this in C? I can use a .html in … | |
Can anybody say, how to minimize the window form on close button is clicked in C#? thanks in advance. | |
After the list, sum, average, max and min have been printed, ask the user to enter a value. [B]Then print the id of each salesperson who exceeded that amount, and the amount of their sales. Also print the total number of salespeople whose sales exceeded the value entered.[/B] The bold … | |
Forgive me if this is already covered somewhere which I am sure it is but............ All I am trying to do is split a string that contains the \ char ie filename. Seen a few ideas and after much frustration I have settled with below code. Replace works fine. Split … | |
![]() | Hi all, I posted up a thread a few weeks ago, regarding automatically updating a drop down list from a database using ajax. Someone posted a reply suggesting i use the w3schools website for some help and i managed to put together something that worked for me. However, i'm now … ![]() |
[I][COLOR="Red"]This code enables the user to enter a number and finds the prime from 2 to the entered number..Please name it PrimeNumbers.java Hope it'll help u..[/COLOR][/I]:D | |
Hi, I need to create a PHP script which can read an MS SQL database in order to authenticate users onto my website. Once they're authenticated, they get sent to their own personal log in page which allows them access to certain areas of the website. This needs to be … | |
I am trying to parse a text files which has blank lines. The getline function is supposed to read blank lines and move on to the next lines. However, my text file is like this : ABC..... DEF...... HIJ...... I am able to reach the lines before the blank lines … | |
Hello there, I'm writing a dictionary that stores keywords and the pages which contain the keyword. This is a follow-up on a PageRank algorithm we're doing for an assignment. The first part is the read from a file containing all the web addresses and store the in a matrix, and … | |
Hello, I installed Microsoft Visual Studio 2008 Express Editions last week. Then I found there are many head files missing, such as: matrix.h stdafx.h matlablink.h itpp/itcomm.h Should I uninstall Microsoft Visual Studio 2008 Express Editions and then install Microsoft Visual Studio 2008 Standard Editions? Is there free download version of … | |
![]() | Hi everyone, I'm having difficuties in getting 2 select boxes to automatically update, when a specific option is chosen from the 1st select box, the 2nd box should update accordingly. I should also point out that i am populating my select boxes from a database. My database structure is as … ![]() |
After executing a query in javascript how do I store that information? In php i know we can use [code=php] $row = mysql_fetch_array ($result) [/code] thanks in advanced. | |
[QUOTE]Your are supposed to create a class book comes with, id, name, author, price and other two informationn of it. Inside the class, you need to create constructor, and methods to manipulate it. [/QUOTE] thanks in advance. | |
Need to sort my database such that to view a single customers payment over a year | |
Hi guys Having a little problem here. Please help, Im trying to have a MessageBox appear when a user reaches the textbox.maxLength property tried if (textBox2.MaxLength < 10) { MessageBox.Show("Max characters reached"); } | |
I am making a project on j2ee but i am facing a little problem ie.[B][U]How can i play mp3 songs in jsp? [/U][/B]I ask this question to many person but no one was able to answer my question.Plz consult Discussion Community about this question. I am finding this question since … | |
I'm supposed to be inserting words from a text file into a BST and AVL tree. I've got the words to insert correctly, and it recognizes whenever the words are repeated. It just leaves the count at 2 instead of incrementing afterwards. Can't seem to figure out why it's not … | |
Newbie trying really hard to understand what she is doing wrong. Your help would be appreciated. <?xml version = "1.0" encoding = "utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhmt1-strict.dtd"> <!-- Fig. 8.12: Product order.html --> <!-- Product script. --> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>Product Orders</title> <script type … | |
Newbee needs help with program. If you would be so kind to tell me where I am going wrong. <?xml version = "1.0" encoding = "utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhmt1-strict.dtd"> <!-- Fig. 8.12: Product order.html --> <!-- Product script. --> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>Product … |
The End.