199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for har58

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 …

Member Avatar for NormR1
0
122
Member Avatar for thilangane

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

Member Avatar for thilangane
0
91
Member Avatar for solid2005

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 …

Member Avatar for Geekitygeek
0
122
Member Avatar for pathikhobo

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 …

Member Avatar for richman_tck
0
264
Member Avatar for JimBoCol

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 …

Member Avatar for JimBoCol
0
105
Member Avatar for Archenemie

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 …

Member Avatar for vegaseat
0
114
Member Avatar for rjthomas8

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 …

Member Avatar for Geekitygeek
0
157
Member Avatar for Jsplinter

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

Member Avatar for Jsplinter
0
539
Member Avatar for nbaztec

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

0
80
Member Avatar for dfw214

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 …

Member Avatar for dataobjx
0
67
Member Avatar for siddharthsohoni

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

Member Avatar for sundip
0
73
Member Avatar for rjthomas8

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 …

Member Avatar for Geekitygeek
0
611
Member Avatar for foxyuva

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 …

Member Avatar for AndreRet
0
197
Member Avatar for JimBoCol

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 …

Member Avatar for JimBoCol
0
141
Member Avatar for kevin025

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

Member Avatar for kevin025
0
113
Member Avatar for rObOtcOmpute

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 …

Member Avatar for Ketsuekiame
0
5K
Member Avatar for Newtothis123

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

Member Avatar for ftl25
0
678
Member Avatar for Nathan Campos

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 …

Member Avatar for DevC+
0
190
Member Avatar for lai2van

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 …

Member Avatar for Ketsuekiame
0
587
Member Avatar for muralibobby2015

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 …

Member Avatar for muralibobby2015
0
88
Member Avatar for niths

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 …

Member Avatar for niths
0
119
Member Avatar for Bob Jacobs
Member Avatar for AndreRet
0
109
Member Avatar for pchsmvp

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 …

Member Avatar for pchsmvp
0
123
Member Avatar for swetz

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

Member Avatar for Geekitygeek
0
367
Member Avatar for lmbdx

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 …

Member Avatar for lmbdx
0
596
Member Avatar for darren_88

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

Member Avatar for Geekitygeek
0
140
Member Avatar for ApocDen

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.

Member Avatar for metalix
0
229
Member Avatar for Dannyo329

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 …

Member Avatar for sundip
0
140
Member Avatar for pieterk

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 …

Member Avatar for pieterk
0
137
Member Avatar for Naveed_786

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.

Member Avatar for Naveed_786
0
76
Member Avatar for ijazkhattak

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 …

Member Avatar for ijazkhattak
0
206
Member Avatar for jjemphoung

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

Member Avatar for AndreRet
0
103
Member Avatar for Panicbutton

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 …

Member Avatar for AndreRet
0
110
Member Avatar for cptspock

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 …

Member Avatar for cptspock
0
186
Member Avatar for rcasinillo_s

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

Member Avatar for metalix
0
4K
Member Avatar for Graphix

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 …

Member Avatar for pritaeas
0
90
Member Avatar for dck133

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 …

Member Avatar for JamesCherrill
0
126
Member Avatar for backendcode

how to insert last id value from one table to another plzzz help me... thnx

Member Avatar for pritaeas
0
89
Member Avatar for maunica

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

Member Avatar for maunica
0
42
Member Avatar for ekseks

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 …

Member Avatar for ekseks
0
129
Member Avatar for kingofnothing

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 …

Member Avatar for GeekByChoiCe
0
150
Member Avatar for CarlMartin10

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

Member Avatar for jleonardo
0
637
Member Avatar for Anyzen

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 …

Member Avatar for Anyzen
0
104
Member Avatar for venushin

[B]i want my background image stretch or in tiles.. can somebody pls help me?... how can i do this?[/B]

Member Avatar for kasakit
0
115
Member Avatar for G_Waddell

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 …

Member Avatar for Baldur Levesque
0
255
Member Avatar for watergeek

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 …

Member Avatar for David Sanchez
0
1K
Member Avatar for jemz

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 …

Member Avatar for jemz
0
1K
Member Avatar for sdmcnitt

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 …

Member Avatar for nancyli148541
0
766
Member Avatar for wallance

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 …

Member Avatar for digital-ether
0
120
Member Avatar for athan20

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

Member Avatar for athan20
0
371

The End.