199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ali_engr

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,

Member Avatar for diafol
0
687
Member Avatar for LucarioWill

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 …

Member Avatar for Ezzaral
0
132
Member Avatar for kirennian

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 …

Member Avatar for Salem
0
161
Member Avatar for jamesonh20

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'

Member Avatar for jamesonh20
0
105
Member Avatar for ravenrider

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 * , …

Member Avatar for Salem
0
129
Member Avatar for corby

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 …

Member Avatar for Salem
0
260
Member Avatar for pink_zippy_123

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 …

Member Avatar for daniel.bonetti
0
485
Member Avatar for PDLajus

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 …

Member Avatar for PDLajus
0
114
Member Avatar for whiteyoh

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

Member Avatar for CFROG
0
87
Member Avatar for tvt5043

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 …

Member Avatar for tvt5043
0
95
Member Avatar for jonnod123

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 …

Member Avatar for MattBerry
0
135
Member Avatar for ndhamecha

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 …

Member Avatar for MattBerry
0
103
Member Avatar for stevebtn

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 …

Member Avatar for WaltP
0
101
Member Avatar for Asalearam

I am going to write a game with QT but i dont know how to start. Give me a tutorial for QT please.

Member Avatar for Stefano Mtangoo
0
542
Member Avatar for mnavarro

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 …

Member Avatar for Maro18
0
154
Member Avatar for pkinoc

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 …

Member Avatar for herbie643
0
531
Member Avatar for farzana.yasmen

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 …

Member Avatar for codefixer
0
121
Member Avatar for mmasny

Hi, I've made a class whose member is a reference to a dynamically created object. How should I code a destructor?

Member Avatar for mmasny
0
155
Member Avatar for Coder2009
Member Avatar for Stefano Mtangoo
0
112
Member Avatar for Aser10

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

Member Avatar for Aser10
0
80
Member Avatar for devstarter
Member Avatar for balmark
0
370
Member Avatar for jhegie
Member Avatar for GDICommander
0
214
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
775
Member Avatar for kavitha0904

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

Member Avatar for balmark
0
239
Member Avatar for landroverthing

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 …

Member Avatar for landroverthing
0
67
Member Avatar for dylank

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 …

Member Avatar for NettSite
0
160
Member Avatar for drewpee

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!

Member Avatar for vb5prgrmr
0
100
Member Avatar for ooandioo

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

Member Avatar for Ravenheart
0
1K
Member Avatar for Subathiran

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 …

Member Avatar for Subathiran
0
155
Member Avatar for emhmk1

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 …

Member Avatar for emhmk1
0
85
Member Avatar for lookez

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 …

Member Avatar for IsharaComix
0
161
Member Avatar for rosebabu

Can anybody say, how to minimize the window form on close button is clicked in C#? thanks in advance.

Member Avatar for Geekitygeek
0
2K
Member Avatar for qariella

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 …

Member Avatar for qariella
0
987
Member Avatar for VJ APU

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 …

Member Avatar for VJ APU
0
180
Member Avatar for dan_ord

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 …

Member Avatar for dan_ord
0
2K
Member Avatar for code_warrior

[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

Member Avatar for atong
0
263
Member Avatar for oneillj

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 …

Member Avatar for gromikov
0
743
Member Avatar for Grap

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 …

Member Avatar for VilePlecenta
0
9K
Member Avatar for janhoy

hi, can anybody send me the code for retrieving drug information and price list using access database and C# code with just two tables. thanks

Member Avatar for Geekitygeek
0
103
Member Avatar for Swiftle

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 …

Member Avatar for mitrmkar
0
144
Member Avatar for Cristofor

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 …

Member Avatar for Cristofor
0
121
Member Avatar for dan_ord

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 …

Member Avatar for dan_ord
0
257
Member Avatar for Mike516

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.

Member Avatar for Airshow
0
91
Member Avatar for enbeeone3

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

Member Avatar for stephen84s
0
112
Member Avatar for Masterace
Member Avatar for logonchristy
0
99
Member Avatar for juniorSkillz

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"); }

Member Avatar for Geekitygeek
0
1K
Member Avatar for coolest_987

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 …

Member Avatar for peter_budo
0
424
Member Avatar for Tigerdude

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 …

Member Avatar for javaAddict
0
607
Member Avatar for crazy lady

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 …

Member Avatar for javaAddict
0
77
Member Avatar for crazy lady

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 …

Member Avatar for javaAddict
0
91

The End.