199,114 Archived Topics
Remove Filter ![]() | |
my assignment is to write a program that asks the user to enter the name of the artist, the name of the art and then how much it is worth. At the end the program should print the average of the values. After that, it wants the program to sort … | |
Hello, I'm making a program that can play Bejeweled 2. Everything is working smooth except for a glitch in the movement algorithm. If anyone is really good at making these type of algorithms can you look at this code and/or give me some hints ? This is the core algorithm … | |
Hi, I have got some code that at startup checks for the existence of a file, if it finds the particular file then it opens another form. If it doesn't find the particular file then it shows a messagebox asking whether or not to enter some data, answer YES or … | |
Hi All, I need to create a new web-service by using php. And I need to use SOAP RPC/encoded for implementing this. I also need to authenticate the soap request using soap header information. Before doing main task that I have created a WSDL file, client and server files using … | |
Hello, Need a litle help with a problem. It is posible to automatically change the value of variables? For example: If i have 2 variables: "a" and "b", and let's say initially "a"= 3 and "b"= "a"+5; If i change "a" = 7, how can i do that "b" automatically … | |
I have to program Portable Data Terminal(PDT) using C++. Is there any site that gives the details? I could not find. Please help me with code examples bcause I am new to this. Thanks in advance | |
Gentlemen, Is it possible to initialize the array at the time of creation?? I mean: int *a = new int[10]; // here array is only created. I wanna initialize the same too here itself. Is it possible??? | |
I am learning to use JQuery and have created the following code after reading various tutorials. I still don't quite get how JQuery variables and arrays work. Can someone point me in the right direction as to how I can print the current filename below the image and how I … | |
Hi! I am trying to insert the data froma a form into 3 tables. Although I get no errors only the first insert works. Could you please help me and tell me what am I doing wrong? $query_add = "insert into autoturisme values('', '$producator', '$model', '$categorie', '$nume_poza', '$motor', '$consum', '$locuri', … | |
i am trying to create an interactive program that gives a prompt for the hangman game. there is meant to be a phrase book of about 100 movies. The phrase book is in an attachment. So far what i have done is made a I made a for loop to … | |
I need to keep track of the status for a person who registers for an event. This is going to be part of a tool that is administered by non-programmers. Various events will have different sets of status values, and it is possible for several events with distinct or overlapping … | |
Hi, I was making a menu bar for my JFrame, which contains a menu item named "Help". I'm wondering how to make F1 a shortcut to that menu item. I thought of using .setAccelorator()., but that didn't seem to work. So can you show me how? Thanks! | |
Hello.. I can't even understand this problem since im a stupid beginner. I feel like I'm gonna die.. Please anybody help me.. Implement a “Cash Register” applet as demonstrated below. It should have the following functionality: 1.A section containing 9 buttons in a 3x3 layout where each button corresponds to … | |
hey guys. i am having a problem with combo boxes in c++. i am making a very simple game for a subject at uni, in this game you pick up guns and shoot monsters. each gun has attributes; damage range and name. when you pick up a gun it is … | |
Hi, I'm trying to loop through a listbox that is runat="server" (to get all the values of the items inside the listbox regarless of if they are selected or not). Now i have searched for hours on end and still don't find anything (all the examples is just for the … | |
hi i m wroking in asp the below code work in internet explorere but does't work in firefox pls help me function DisplayMe(e) { //document.getElementById("CompName").value == //alert(e.id); var elTableRow = document.getElementById(e.id); var elTableCells = elTableRow.getElementsByTagName("td"); if (document.all) { document.getElementById("CompName").value=elTableCells[1].innerText; //var cell = elTableRow.getElementsByTagName("td")[1]; //var content = elTableCells[1].innerText; //document.getElementById("CompName").value=elTableCells[1] document.getElementById("City").value=elTableCells[2].innerText; document.getElementById("Country").value=elTableCells[3].innerText; … | |
Hi My txt file looks something like this: Branch: ltm_7.4 Destination: Test 5 [CODE] lines = open("branch_dest.txt").readlines() lines=[x.split() for x in lines] print lines branch = "%s" % lines[0][1].strip(': ') print branch destination = "%s" % lines[1][2].strip(': ') print destination [/CODE] I need to extract the branch name and the … | |
Hi, i have developed an web application using JSF. In that, if the user remains idle in the application for more than 15min then their session should expire. i have tried it by giving <session-timeout> tag value as 15 min in web.xml. but i don't know how to redirect the … | |
In my application i have a view page(html or jsp) with five field (Qualification, Semester, Maximum Mark, Obtained Mark, Percentage). I have one add button, if i click on add button one java-script will be called and it will display a row in the same page with five column (Qualification, … | |
Hi All, I am trying to help my family stop sucking at managing their available funds and have a "true" available amount so they are up to date at all times on their available funds. Is it possible to get the list of pending charges for any given user for … | |
I'm trying to automatically convert a binary input in a textbox to a hex code in a second textbox. It does work the way I'm trying to, but the order it comes out is wrong, for instance, 1111 = 0F this is correct, but when i now make it : … | |
i have a ibm java webservice with soap protection username and password needed to give for accesing this webservice .. i need to call this webservice from C# client ... when i call this webservice .its showing this error com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5048E: One of "SOAP Header" elements required. please help me... … | |
I have a php page showing records from an sql database, when the user clicks on a link they are taken to a detail page with more info etc. All of this works fine - the issue is that I wiould like uses to be able to submit a form … | |
How cand i read from registry this two types? REG_BINARY & REG_MULTI_SZ ? | |
i'm pretty clueless about everything dealing with python. i need help creating a sorting algorithm that can sort names in a list alphabetically. and example code to help get me started would be much appreciated. | |
I want to load a form of project2 on click event of form of project1. how to do this?need answer urgently...... | |
Hi, I have found some code that looks like something I would like to use but am really unsure of where it goes within the form. The code is [URL="http://www.midnightprogrammer.net/post/2009/10/22/ReadWrite-settings-to-INI-File-using-C.aspx"]here[/URL]. It's the first bit of code the [COLOR="Red"]class INIFile[/COLOR] section that I don't know the placement for on my form. … | |
Hello, I have a sql database which contains the names and descriptions of a product and the price. However, all products have a starting price of 5 and then the value of the product itself is added. THey also have a multiplier. eg. if a price is 210.13 dollars, the … | |
Hi I am using C# to connect to mysql database that install in my local machine.After I complete the project I want to publish it in another server.So I change the mysql connection string.Here I mention the connection string that I used in local machine String MyConString = "SERVER=localhost;"+"DATABASE=IPG;"+"UID=root;"+"PASSWORD=Test;"; Before … | |
I want to know how a read/write calls is accomplished in linux? I mean how a function say read() will read the data from a file. What all will be the steps from user mode read() function call to kernel mode? Will anybody explain the steps or let me know … | |
Hiii... I want to know how to open two windows forms at a time... when i give as Application::Run(gcnew Form1() ); Application::Run(gcnew Form2() ); Then, the Form2 will open when first one closes,... So any one please help any other way is their so that , i can open two … | |
my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view … | |
[code] try Dim da As String = "+100acs+" Dim con As SqlConnection = New SqlConnection("Data Source=RAHUL-034890AF0\SERVER2005;Initial Catalog=user_accounts; Integrated Security =True") Dim command As Data.SqlClient.SqlCommand = New Data.SqlClient.SqlCommand("Insert into sales_details (bill_number,product_id,quantity,rate,amount) VALUES ('" + da + " ','" + Ddpproducts.SelectedItem.ToString + " ','" + Textquant.Text + "','" + Ddpproducts.SelectedValue + "','" … | |
Hi everybody! I'm facing a really tricky problem in python. I am using the pyserial package to communicate with an external serial interface board. The board accepts certain hexadecimal strings as commands in the following form : --example-- command1 : "\x02\xa1" command2 : "\x03\xa2\xb5" etc... Some of the commands are … | |
Hello, when I give fprintf the character 0x0A, then it prints out 0x0D and 0x0A (which is \n in Windows). How can I print only 0x0A? I need to print a picture into a file containing 16-bit pixels, (and some bytes contain the value of 0x0A,) so it is very … | |
Hi everyone I m openning this theat because I want to see if any of you can help me... well lets see ... I got my full time back at work (after 2 years :o ) and Im worry about college because I do not have enough time to complete … | |
I use: Visual studio 8.0 MySql database One table: table :Groups, two fields : groupnb,groupdef One Datagridview with is link to [COLOR="Red"]Mydataset1[/COLOR] [COLOR="Red"]Some times [/COLOR]a get this MySQL error: [COLOR="red"]"Connection must be valid and open"[/COLOR] I use first this command : [COLOR="Green"]MyDataset1.Tables("groups").Rows.InsertAt(row, 0)[/COLOR] Then I change the content of some … | |
Hi Team, Problem Description: Well i have a script with me(attached) which monitors the response time of each file and sends mail according to its severity As i am very new to this script it involves mix of korn shell plus html. Request your guidance on the same. Requirement: Presently … | |
Hello friends I want to send the attachment with mail in my code iam successful in sending the mail but the problem is the attachment iam getting is in unknown format can any one please help me in resolving the issue i already posted this but i not get any … | |
Ok, I have been searching everywhere for solutions for charset problems I have. I have php website and backend Mysql database. In some fields I need to put in letters from the Greek alphabet. If I use a form to send info to the database and type in Greek letters, … | |
I have just become involved with PHP. I am running Vista with IIS7 and PHP 5.2.13. The installation was done via the Windows Web Installer and after a few issues I believe it now working. My initial question is one of basic environmental understanding by this I mean all the … ![]() | |
I'm inexperienced with Javascript and I found this script, but I'm not sure how to alter it to do what I want. I have a PHP script that creates forms in a loop. $z in this case could equal 3, and 3 forms each containing 1 Position/Office field will be … | |
What is PHP and how is it used? Can one market it (the idea) of support on the internet? ![]() | |
Hello there, I am in need of major help. I am trying to convert my ASP classic website to ASP.net. Now my problem is with reading and controlling of the data found in my SQL Server DB. I have managed to connecting to the database and read the records there … | |
Hey guys, i am working on a project which basically takes a string which is being inputted by people and then adding it together and displaying in a certain format. What i am having problem is when i try to read the string and store it into the functions. [CODE]class … | |
This error comes for mismatch use of parenthesis but i didn't succeed in tracking it Running this code, i am getting unexpected $end error kindly track the error and let me know with the required change code..... [CODE]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password … ![]() | |
I have to add a not null column in a table. I am using [code]IF NOT EXISTS(SELECT * FROM information_schema.columns WHERE column_name = 'xyz' AND table_name = 'abc') BEGIN ALTER TABLE abc WITH NOCHECK ADD xyz MONEY NOT NULL END[/code] It gives me error ALTER TABLE only allows columns to … | |
I am having trouble compiling this program. If somebody could take a look and see if my code is sound or not i would much appreciate it. I am worried that my logic and commands might be flawed, if someone could help me out I would much appreciate it. I … | |
Write a assembly language program To add two 8-bit data using registers To find the largest of 3 numbers | |
How to create a permanent cookie? And I am using Asp.Net 2.0 |
The End.