199,114 Archived Topics
Remove Filter ![]() | |
I have problem with Radio Button I am making small online examination application. The problem is, suppose I select option 2 as the correct answer for first question, Then for second question option 2 appears as selected , This may confuse the candidate for examination,, Then if I make choice … | |
I'm trying to merge two trees. This is the recursive function: [CODE] void Merge(node *primary,node *secondary) { if(secondary != NULL && primary != NULL) { Merge(primary->left,secondary->left); Merge(primary->right,secondary->right); } else if(secondary != NULL && primary == NULL) { primary = new node; primary->action = secondary->action; primary->left = NULL; primary->right = NULL; … | |
I am trying to make a simple game. Using C# forms and picturebox [URL=http://img52.imageshack.us/i/bgproblem.jpg/][IMG]http://img52.imageshack.us/img52/8696/bgproblem.jpg[/IMG][/URL] but when I set transparent on the character, it goes through the form (I can see part of my desktop, instead of white space) :The character can move when I press direction keys, the character picture … | |
hello people, i'm new here in Daniweb and very much interested in web development(Specially php,mysql,ajax based web applications). I know HTML and CSS, but don't have any past experience in any scripting/ programming language like javascript or c(though i know basics of C), java etc. Some of my friends suggested … | |
bHi all. I am, using Java for drop down menus, code follows. What I have not yet been able to figure out is how to make java display the page I select in a different frame. This is what is in the <HEAD> of one of my Pages. [CODE] <SCRIPT … | |
While doing a project i decided to do a mechanism in a panal of its own class, so i could manage the sizers and layout better, then i wanted to take the end result of that panel and display it in my window. Although when i run this code as … | |
i have a form which once a button is clicked opens a new form via showdialog(). i want to send data from this new form back to the original form but am new to programming and have become very confused with the parent child relationships of forms. How would i … | |
Simply put I wish for text entered in one edit box to then appear in another edit box. I have created a MFC dialog and read many tutorials, but I'm still stuck. Here is my current DDX function: void Ctextentry23Dlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Text(pDX, IDC_EDIT1, name); DDV_MaxChars(pDX, name, 20); DDX_Text(pDX, … | |
To avoid double postings kindly refer the thread here, since I couldn't make up, which forum was best suited. [URL="http://www.daniweb.com/forums/post1297528.html#post1297528"]http://www.daniweb.com/forums/post1297528.html#post1297528[/URL] Please do take part in the discussion. Regards, Nisheeth Barthwal | |
I am building a program using VS 2010. It needs to be a set of forms that allows a manager to log in so that data entry people can enter in data based on another form. I also need to create a hot key set up that pulls up another … | |
hi i have created a matrix of 9 edit boxes. 3x3... i want to change the background color of the edit boxes during their creation. how should i do that ? thanks in advance... | |
i have read many forums relating to getting the value of the selected row from the gridview and setting it to a textbox, however i cannot copy the code to my project. the code i have frequently seen is: [CODE] string selectedItem = MyGridView.SelectedRow.Cells[1].Text; textboxItem.Text = selectedItem; [/CODE] However in … | |
hi all, any one can help me that when i tried to connect .dbf foxpro3.0 database file to DAO control it throws an error like this "'F:\database\accno.dbf' isn't a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which … | |
Hi all. I am, using Java for drop down menus, code follows. What I have not yet been able to figure out is how to make java display the page I select in a different frame. This is what is in the <HEAD> of one of my Pages. [CODE] <SCRIPT … | |
I am creating a login page using Vb.net ... i have written coding but it shows some Error .. Here is mine coding .. .. Dim DataClass As New DataClassesDataContext Dim l = From Users In DataClass.Users _ Where (Function(x) x.UserName = txtUserName.Text And x.Password = txtPassword.Text).ToList If l.Count = … | |
Basically I'm trying to use an array to store inventory data, and I'm a little (lot) lost with vectors and such. I feel a little guilty asking for help three times in a day, but alas the semester is winding down and I'm in a crunch. My class (or should … | |
/* About this program: - This program counts words. - The specific words that will be counted are passed in as command-line arguments. - The program reads words (one word per line) from standard input until EOF or an input line starting with a dot '.' - The program prints … | |
Hello, I'm learning C++ and trying to build my own file zipper, because i like very much to work with zip files, but now i want to build my own zipper and it's so hard to find good resources to start. As you can see in my previous posts i … | |
HI, I am very new to C# socket. I have tried several very simple code, but all of them lead to same error message: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:7 at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at MainClass.Main(String[] args) in C:\ConsoleApplication1\Program.cs:line 14 Below … | |
hello.. i have to do substraction of two php variables which is having datatype varchar. i am trying like this.[CODE] $a=5; $b=3; $c=$a-$b; [/CODE] but for float values [CODE] $a=3000.90; $b=2000; $c=$a-$b; [/CODE] out put is $1000.9. ok even i echo $a i am getting 3000.9 how to get two … | |
hi all, i had a php page.i am using ajax for displaying a table. When i select a date images uploaded on that date gets displayed in a table.This is working fine.But i need another button for edit.so when i click on edit those images present in table should become … | |
Hi I want to blow up a picture. How can I do this in code, any ideas? VB 4 or 6 | |
i want to loop the form, so that there would be a multiple select boxes.. the first loop of select box has still its value, but the remaining loops has an empty value for select box.. [IMG]http://i5.photobucket.com/albums/y174/dikoalam/example.png[/IMG] here is the code.. [CODE]<form action="" method="post" name="formx"> <select name='eecollege2' id='college' onChange="selected(this.selectedIndex)"> echo … | |
As c# doesnt have null character as in c I want to know how to find the length of string without using the length function??? | |
Hi, I've developed a console app and a win32 api GUI. The GUI is only used to get input file path and output file path specified by the user, as simple as that. I now want to pass those file path and call the functions in my console app to … | |
hi guys, Does anyone knows how to highlight the words that are wrong at string str2 when compared to string str1? Below is my coding. Thanks. string str1 = "This is an good example, i like it."; string str2 = "This is a bad example, i dislike it."; str1.Split(' ', … | |
for this to work you need to add some text boxes and name them accordingly, make sure when you add a text box add [CODE]$_POST["new_text field"] = $new_text field;[/CODE] etc etc. html coding can be used within the html tags only. | |
Hey guys, is there anyway a C++ program will continue to execute and not pause when I run a program for it? E.g I've already got [CODE] system("iTunes.exe.lnk"); main(); [/CODE] It calls main after it executes the program, but it is paused until I exit iTunes, is there anyway to … | |
Hi, Does anyone know software to build a private sales club? Examples of private shopping clubs are: SNIP SNIP SNIP The new [URL="http://www.magentocommerce.com/media/screencasts/private-sales-including-events-invitations-and-category-access-permissions/view"]Enterprise version[/URL] of Magento offers this, and it's absolutely perfect. The only thing is, the license fee starts at [B]$12,990 per year[/B]..... I'm wondering if there are other … | |
Dear All, When i make Setup of my project then my crystal reports keeps old database path how can i resolve it please help me. | |
Hi all, i am making one site for social networking with some gr8 features. now i want to add a chat room in it. but i think using a file system or table for chat isnt a good idea as both have lot of cons. i want a chat systme … | |
hey dear experts is there a way to shutdown computer after downloading a file from the internet in vb6? i already know an effective forcefull shutdown code in vb6. i just want to execute that code after i finished downloading a file from the internet. how can i do it? … | |
So I am having trouble with visual basic. I've scoured several forums (although someone might link me to another thread on this one) and have not been able to find a solution to my problem. I need to stop the code from running for an amount of time that varies … | |
I have the strangest problem. First let me state that I am by no means an expert on either Web Applications or SQL. I have however, been delegated this project and have made some progress. First, all the servers for a small office I work in were upgraded to 64 … | |
Good day everyone! Anybody could give me script for uploading or inserting image into database and how to retrieve it and print it to browser Any help would be appreciated. Thank you in advance. roland | |
I need to create a row and its content to be unchangeable and undeleteable, as a secure way to ensure that the administrator will always have access to the website. Does anyone have any idea how to do this? A Google Search gave no results, but perhaps someone knows how … | |
I have a class that i have created of type StoreItem. It contains: String, int, double, int What I want to do is for the user to be able to add more items during runtime. I have tried to convert it to an ArrayList but I get errors telling me … | |
how to insert last id value from one table to another plzzz help me... thnx | |
hi all, i am working on the project which needs to display the description of a product after retrieving from the database...but the entire description does not gets displayed..also the description must be in a proper paragraph form...please help | |
cna anyone tell me how to use the Select = "selected" option for a simple dropdown. for example when someone chooses c it will have a code like <option selected="">c</option> (am I doing it right, well if you got a firebug some site with dropdowns offers that option) so can … | |
hi every body i build login page in visual web developer using vb with standard create user control which have username,password,email,security question and its answer the question is how to customize create user control so i need only from it email and password without security question and security answer and … | |
I have a program in which a user enters a sentence in English into a text box, then the sentence is translated into French and German based on words in an array of structures that gets its values from a text file. I have almost all of the program written, … | |
Hello.. Supposing that i have this code..i want it to end after a character is pressed..but i dont know what to add...i can end it if input is negative or zero..but not char..i tried some experiments but it will end up debug assertion fail..help would be great.. [CODE] // adds … | |
[B]i want my background image stretch or in tiles.. can somebody pls help me?... how can i do this?[/B] | |
Hi all, I'm writing an application that imports and tidy up address data into a cleaned, deduped excel workbook ordered in rows with each column as an address field. One of the issues I've ran into is that we sometimes get a workbook where the multiple address fields are held … | |
I am using VB.net 2008 express edition I have figured out how to use some of the code snippets for the open xml sdk to create a drop down list of all the sheets in an excel file. I can also use the code snippet to get the value of … | |
hello, can you help me please how can i random words and displaying it with the length of the string...example if the user inputed "stamp" then it will random the letters and display it 5 times... example: input : stamp output: pmast pmast stamp mastp sptma can you help me … | |
I have a .NET winforms app that automates Excel and checks for a worksheet password. The requirements are to be able to detect 1) that the protection is turned off 2) that the password is removed (protected but there is no password) 3) that the password matches the correct password … | |
Hi, I have a file that connects to a database, database.php. I also have a file for defined constants, config.php, and it is stored in the top level directory because I'm going to use those constants on the main site and when I edit them, I don't want to edit … | |
Hi, Please help me, this is my activity the Rock, Paper and Scissors Game, I need codes for this game. Like the game the program should determine the winner. In my output (please see attached), the Player1 and Player 2 should choose each a hand gestures in commands buttons: rock, … |
The End.