199,114 Archived Topics
Remove Filter ![]() | |
Hi, I've been trying to analyze the source code to some applications but so far I've been unable to figure out how to receive user input while the program is of doing something else. My program consists of a small list of items which are being constantly sorted. The problem … | |
why is this giving a syntax error? [code] int function ( int x) { x ? return 1 : return 0; } error C2059: syntax error : 'return' [/code] | |
Hi, all I'm a newbe in php My question is simple, but after 10 hours on the comp,I've got jammed Please help on the correct syntax of echo ("<a href... $ID[1]="Best Song" $url[1]="http://localhost/cat_music/BS.php" echo ("<a href='\".$url[1].'\">".$id[1]."</a>"); doesn't work Installed PHP 5.2.5 TIA | |
guys...could I ask for your help, I was given a programming assignment but I cant seem to understand the problem heres the problem: [B]write a program that creates an array of 100 random integers in the range from 1 to 200 and, then use a sequential search to search the … | |
Hi , i am writing a program concerning college administration .I have to creat a delete botton but i dont know how to start my coding .I know there is two type of delete methods such as kill and mycomputerfilesystem.deletefile(m-fielpath).Can anyone help meout how to write the complet delete code … | |
I wanna share with my friends but they dun have QBasic on thier comp. Ill put my programs on a floppy disc an give it to em but i cant figure out how to make them able to run without the actual QBasic program. It gets so frustrating! :evil: | |
is there any way to get a form name from a page that the post or get variables sent from ? for example : $_POST['name'] , $_POST['password'] .. What would it be if you wanted the form name to be sent ? | |
Hello All, I have a chat friend online who said to me that if I don't know java or .Net then my web design will not make me money. I know how to program in php, asp html etc and willing to learn more as knowledge has no age limit. … | |
Hi. I want to know how it is possible to write your own function "UDF" in MySQL? and how use that UDF in MySQL? | |
I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the [code] $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); [/code] instead of the mysql_error, I want to display my own error with … | |
[b]hello, i want a help for you all. about mysqlprocedures and functions i am enable to create procedures and functions in mysql so that i am enable to do jdbc colleable statements programs. please help me[/b] | |
I am using SQL Server 2005, I have some select and update statements in my query with WHERE clause I want to prevent these queries from SQL injection attacks. What are the steps and precautions to be taken for SQL Injection attacks? Does anybody have suggestions? Thanks in advance, | |
Hi I have a small question, probably quite obvious but I cant seem to figure it out. When using the ifstream or any other stream you can tell if it was sucessfull in its last event. For example: [CODE=CPP] #include<fstream> int main() { ifstream in("test.txt", ios::in); if (in) { } … | |
am tring get value from msaccses database with wher condition but am not get. pls give me an idea to overcome this problum. and pls..help to get data from table based on the dropdownlist vaues wich is in html page. using jsp, jdbc.......pls..... [code=JSP]<%@ page import="java.sql.*" %> <%@page contentType="text/html" %> … | |
Hello friends, I faced a problem in sending email through servlet. I have downloaded mail.jar and activation.jar. All is running perfect but error is coming. javax.mail.MessagingException: [EOF] [code] import java.io.*; import java.net.*; import java.util.*; import java.sql.*; import javax.mail.*; import javax.mail.internet.*; import javax.servlet.*; import javax.servlet.http.*; /** * * @author Administrator */ … | |
pls any one will guid, how to work jsp, servlets and ejb at Jboss4.0.2 pls..............if possible sugest be any url.............supoted for this..........pls. it's an argent.............pls | |
Hey this is Mohamed Shahabudeen. Can someone please help me with the following! Enter the following program called “composers.pro” % This database is about composers % Datarecords: composer’s last name, birth and death year composer (monteverdi, 1567, 1643). composer (bach, 1685, 1750). composer (vivaldi, 1678, 1741). composer (mozart, 1756, 1791). … | |
I was debugging some code yesterday and, after about fifteen minutes, found the culprit. This was in the code: [code] if (a = b) { // code } [/code] instead of this: [code] if (a == b) { // code } [/code] A very common mistake, but an aggravating one. … | |
Hi All I am working on an e-commerce site using VB.Net and currently stuck on trying to display my products on the storefront. I am using a GridView control to present records of products from an access database. The GridView is showing the records as they are in the Database … | |
I basically need a function that, after a certain amount of time has elapsed, will restart a program from scratch. This is because the code can get stuck at a certain point if wrong decisions are made. I am curious how to go about making this. I am sure it … | |
OK...here is the deal.... I am messing around with this jGRASP program... I was able to create a program that will display the squares of the numbers from 1 to 10 by using the "FOR" structure. This is what I have done and here are the results, which is what … | |
Hi friends, I have to fetch date, month & year from Calendar.For that I need a Calendar with User Interaction from which i can fetch. Is there any Calendar (builtin) in swing or i have to make it my own?.Pls let me know if u have any idea. with Thanks, … | |
I wonder if there is a good way to substring this string: [code] std::string OneString = "1,2,3,4,5,6,7,8,9"; [/code] so the substring will look like this: [B]1,2,3,4,5,6[/B] So what I am trying to do or wonder is, if there is a good way to substring from the end and 3 Commas … | |
Hi , I want to create a System.Windows.Forms.Timer in a new Thread. When I do this everything remains OK but the timer never goes inside its tick event.I'm in deadlock condition. If anyone can give me some hint, I shall be very thankful to him/her. Regards- Saurabh | |
Hi ! I am working on this project; the thing is that I want my program to create it's own environment variable path so it can be called from and used in CMD too. How can I do this... Googling hasn't been any help yet. Thanks in advance! | |
Hi, We're using curses library functions to draw windows in our project. For showing an error the error message is enclosed within '-'s , it seems to be working fine till we ported to a new linux machine where its displaying some garbage instead of the '-' . To be … | |
I am trying to compile some code using BDS2006 and have received the following err: [Pascal Fatal Error] Variants.pas (1035): F2092 program or unit 'Variant' recursively uses itself. The code is highlighted by the debugger at the end of line 1035 which is the final end; statement for the Procedure … | |
How can I get live feeds(stock prices) from a stock exchange and attach the display in my website?? | |
hi, Please mail me vb.net autogenerating number code. regards, Prasad P. Satam Mumbai | |
Okay, I appreciate everyone's help! i am trying to work out how to find a duration type thing.. i have created this as an example of what i am trying to do. [CODE] ### gaining inputs start= raw_input("What time did the tv show start: (Format = 14, 12) ") finish= … | |
I need to keep track of students last names and their GPAs. I need the user to enter 7 names and their GPA. I need to output it in columns. Also I need the average GPA and the Highest GPA. And I also need 'Last Name' earned the highest GPA. … | |
When I typed the command as 'java -version' in commandprompt its showing "java version 1.3.1_01" but I want to set it to latest version of java in the path C:\Program Files\Java\jdk1.5.0_06 Due to this problem Im not able to open Eclipse, its saying "version 1.3.1_01 is not suitable for this … | |
hi [CODE] if (confirm ("are u sure "); { <?php mysql_query("INSERT INTO student ('id','name') VALUES ('1','osama'); ?> window.location='home.php';[/CODE] even if i chose cancel value will add to my data base why ?? | |
So the problem seems to be when i try to compile its telling me on line 16 of the main program (the last line) "unqualified-id at end of input" and "expected ',' or ';" at end of input I played with just about every combination of ending brackets and semi … | |
[CODE]$time_diff = time() - $sent; $time_diff = intval($time_diff / 60); if($sent_mail < 30) { // in here is a page built will php which contains its own if statements }elseif ($time_dif >= 1) { mysql_query("Truncate table time"); mysql_query("Truncate table email_count"); echo '<META HTTP-EQUIV="Refresh" Content="0; URL=maillists.php">'; //should load page user wanted … | |
I am trying to learn how to create windows applications using microsoft visual c++ 2008. What is the difference between a Win32 Application and a Windows Form Application? Also does anyone know any good online tutorials or books on creating windows applications? | |
I would like to know from anyone who has seen or done someting on [B]airline reservation online[/B](web based application). i thought of using c#.net, but i really dont know where to start from or what program will be good for the implementation. | |
can anybody will give me sample code example of session in asp.net | |
i am required to do this : You will write the C++ program for a simple game playing system, which plays against a user. Let’s call the program P and the user U. P and U are in a magical world, in which a dragon can appear. P and U … | |
Hi, im doing a software that uses diferent tables, and im trying to implement a save button but it doesnt save anything. This is the code. Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Try Dim XCmd As New OleDb.OleDbCommandBuilder(DA) 'DS.AcceptChanges() DS.GetChanges() DA.Update(DS) MessageBox.Show("Saved", "ESP MESSAGES", … | |
Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name "table1" (only 2 fields … | |
hi, i have used gridview in asp.net 2005 wit c#.i need to update my datas.in tat i hv placed dropdownlist,checkbox controls.but its not updating the datas.when i edit the row,we have dropdownlist but not tat database value.so when i edit the row the database value should be in dropdown list.when … | |
I clearly explained my prob... My task is to upload the resumes in server..and displyed dem as link in a list box..i finished tat..if a user clicks tat link open/save dialog is open as default..but i don wann tat open/save dialog. ex: sundar_c++.doc santos_c++.doc If the user click the above … | |
whatever the resolution of the screen , how to fix or set the screen resolution for example to 800 by 600 in asp.net ![]() | |
Hello - I'm new to inserting checkbox arrays into mysql tables. After scouring the web for two days I've found a solution using 'foreach', and it is inserting the data into the table correctly however I'm getting the following Error Notice. "Notice: Array to String conversion on page blah.php on … | |
Hi There, Hope you can help with this. I have created a void function which has to add the totals and return the values to the main section for display. For some reason it does not return the totals. I tried everything I know. I also put displays in the … | |
I have this problem. I don't know how to prompt user to input for the size of array in a class [code] #include <iostream> using namespace std; class ArrayClass1 { private: int *array , size ; public: void prompt(void) ; // asks for size of desired array // and allocates … | |
I am trying to open another page from an image. I can open the page on a different window by doing this: [icode]onclick="Response.Redirect(cci_info\cci\features\create_CCI\WebForm1.aspx);" [/icode] But I don't want to open another window, rather I need the image button to open a page in the same window. Thanks for the help. … | |
i have images in database. i want to show in grid view in different columns.can i do it.also want allow paging property to true. | |
I need to write a program with seven vectors. The program needs to have methods to input the data into vectors, display a menu to print a report and sell an item, a method to sell an item, and a method to print the report. This is what I have … |
The End.