199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Crushyerbones

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 …

Member Avatar for Duoas
0
192
Member Avatar for SonxQ7

why is this giving a syntax error? [code] int function ( int x) { x ? return 1 : return 0; } error C2059: syntax error : 'return' [/code]

Member Avatar for jephthah
0
165
Member Avatar for chavdar79

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

Member Avatar for TommyBs
0
87
Member Avatar for herms14

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 …

Member Avatar for n1337
0
106
Member Avatar for sisi

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 …

Member Avatar for selvaganapathy
0
92
Member Avatar for OboroNinja

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:

Member Avatar for JRB6478@ATT.NET
0
248
Member Avatar for isomillennium

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 ?

Member Avatar for sDJh
0
104
Member Avatar for webwareshop

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

Member Avatar for sDJh
0
129
Member Avatar for tanha

Hi. I want to know how it is possible to write your own function "UDF" in MySQL? and how use that UDF in MySQL?

Member Avatar for tanha
0
150
Member Avatar for rickarro

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 …

Member Avatar for rickarro
0
5K
Member Avatar for madhavipoudala

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

Member Avatar for jwenting
0
72
Member Avatar for bhavna_816

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,

Member Avatar for TCBW
0
119
Member Avatar for William Hemsworth

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) { } …

Member Avatar for William Hemsworth
0
110
Member Avatar for push

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

Member Avatar for jwenting
0
102
Member Avatar for Dolly-Sweety

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

Member Avatar for jwenting
0
1K
Member Avatar for push

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

Member Avatar for jwenting
0
75
Member Avatar for ADeen02

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

Member Avatar for Ancient Dragon
0
124
Member Avatar for VernonDozier

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

Member Avatar for fierykido
0
1K
Member Avatar for Techbee

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 …

Member Avatar for sebastian3
0
230
Member Avatar for zoner7

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 …

Member Avatar for Ancient Dragon
0
120
Member Avatar for WebMonkey76

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 …

Member Avatar for Software guy
0
106
Member Avatar for ramjeev

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

Member Avatar for Ezzaral
0
65
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
320
Member Avatar for saurabh singh

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

Member Avatar for vavatl
0
169
Member Avatar for johnroach1985

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!

Member Avatar for johnroach1985
0
135
Member Avatar for Agni

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 …

Member Avatar for Duoas
0
117
Member Avatar for jsosnowski

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 …

Member Avatar for Duoas
0
155
Member Avatar for Cobs

How can I get live feeds(stock prices) from a stock exchange and attach the display in my website??

Member Avatar for Cobs
0
101
Member Avatar for prasadsatam

hi, Please mail me vb.net autogenerating number code. regards, Prasad P. Satam Mumbai

Member Avatar for prasadsatam
0
259
Member Avatar for JA5ONS

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

Member Avatar for JA5ONS
0
119
Member Avatar for computers08

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

Member Avatar for computers08
0
92
Member Avatar for shobha1335

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 …

Member Avatar for peter_budo
0
79
Member Avatar for yara1

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

Member Avatar for yara1
0
79
Member Avatar for darkis

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 …

Member Avatar for Nick Evan
0
153
Member Avatar for kevin wood

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

Member Avatar for kevin wood
0
61
Member Avatar for kinger29

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?

Member Avatar for Nick Evan
0
110
Member Avatar for tsqaure

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.

Member Avatar for tsqaure
0
79
Member Avatar for pranav_jog
Member Avatar for JackyGZ
0
125
Member Avatar for fans3267

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 …

Member Avatar for Nick Evan
0
299
Member Avatar for roblespaulo

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

Member Avatar for dadelsen
0
122
Member Avatar for santhanalakshmi

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 …

Member Avatar for JackyGZ
0
158
Member Avatar for priyamsc

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 …

Member Avatar for priyamsc
0
680
Member Avatar for sethupathi

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 …

Member Avatar for somedude3488
0
217
Member Avatar for pranav_jog

whatever the resolution of the screen , how to fix or set the screen resolution for example to 800 by 600 in asp.net

Member Avatar for rajarajan2017
0
113
Member Avatar for dottomm

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 …

Member Avatar for dottomm
0
207
Member Avatar for Xokzin

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 …

Member Avatar for Xokzin
0
335
Member Avatar for bookworm619

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 …

Member Avatar for VernonDozier
0
127
Member Avatar for rocket1356

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

Member Avatar for kapilver
0
317
Member Avatar for guptaalok12

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.

Member Avatar for srikanthkadem
0
118
Member Avatar for kpkat

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 …

Member Avatar for Phaelax
0
2K

The End.