199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for johnkeating

I am a new convert to MySQL. It sounds like an answer to my prayers, BUT when I look for some training I find the cost to be substantial. I have purchased a book Beginning MYSQL by WROX but I now realize that I need some more structured training. I …

Member Avatar for stephen84s
0
104
Member Avatar for Spartan552

Hi everyone ! Im using Eclipse with CDT (C/C++ Developpement Tools). I often get this error message when starting Eclipse : "An error has occured. See the log file /home/usr/workspace/.metadata/.log" then it close. Here is the full log : [QUOTE]!SESSION 2008-07-04 10:17:06.950 ----------------------------------------------- eclipse.buildId=M20080221-1800 java.version=1.5.0_14 java.vendor=Sun Microsystems Inc. BootLoader constants: …

Member Avatar for Salem
0
165
Member Avatar for shriagni

how can i convert string os size[10] to float. also i cannot use atof or sscanf. im asked to use bitwise or anyother methos which will take less processiong time. is there anyway. thank you

Member Avatar for Prabakar
0
279
Member Avatar for esy928

Greetings! I was given a task yesterday to constuct a table like this: 5 4 3 2 1 4 5 4 3 2 3 4 5 4 3 2 3 4 5 4 1 2 3 4 5 using loops and only loops. I've been trying to solve this for …

Member Avatar for javaAddict
0
121
Member Avatar for another guest

well here's da problem,its not really a problem i guess but i'm kinda confused about all this:S i'm currently doing BCS(british computer society professional examinations),well its pretty kewl considering u can complete a degree equalent programm in half da time:D anyways all it has is theory so i'm guessing i'll …

Member Avatar for another guest
0
234
Member Avatar for solaf_111

hello i programing the code && design the interfaces then , connect the programing with db "store the results in db" then connect the db with interface and appeare the results on edit boxes in the interface now , we want excute the programing code when click specific button .so, …

Member Avatar for mitrmkar
0
170
Member Avatar for FerrumBat

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. PHP ver: 5.2.6 apache ver:2.2.9 Mysql ver:5.0.51b However I'm getting errors on the second table: [QUOTE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for nav33n
0
174
Member Avatar for kselvakumar_82

JSP Scenario: Login page containing user id and pwd text boxes, each having a key boad button (onclicking the key board button will take to key.jsp where the user can input values in text box) The keyed value in key.jsp text box should be returened to login.jsp in corresponding to …

Member Avatar for kselvakumar_82
0
137
Member Avatar for diasmvds

If anyone has an idea how to draw a dashed line using Java?? Graphics class seems to be not support a function for this. Thanks

Member Avatar for sanaulla123
0
2K
Member Avatar for rob_xx17

hello, I think I have a rather straightforward problem, but I'm relatively new to C. I have an input file that looks like this: [code] 0.682448 0.53791 0.61727 0.48714 0.297144 0.29688 0.40549 0.68233 0.426100 0.62057 0.25095 0.54782 0.673007 0.51040 0.25476 0.35149 0.641339 0.49815 0.54557 0.42673 0.268030 0.38949 0.48841 0.56580 ... …

Member Avatar for Prabakar
0
126
Member Avatar for donnie_darko

Hey All, i'm having real trouble with this. ok, i have a login page where the user logs in. they put items in the cart and then go to addorder from to place order in database. only problem is i can't get it to work. i think the problem is …

Member Avatar for greeny_1984
0
214
Member Avatar for arupa

write a programme to enter a number bteween 1-9 and shows like, if entered number is 5 then it shows like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 and also like this 1 1 2 1 2 3 1 2 3 4 …

Member Avatar for jeenujoy
0
82
Member Avatar for stephen3200

I am currently experimenting with function pointers as part of a larger project. Drawing from both online sources and textbooks. The problem however is that after storing the values as an array, when i call them the functions either fail to be called, or if i attempt to print the …

Member Avatar for stephen3200
0
110
Member Avatar for Aamit

Hi...i m new to java.... problem defination:--- Book store is basically a collection of variety of books. Store has various sections like art, world history, literature technical, and so on. All books are categorized in to one of these sections. User should be able add/modify/remove sections and books. On selection …

Member Avatar for javaAddict
0
73
Member Avatar for chriscapetown

Hi, I have a select like below in my form, I want a second box to populate but differently for each activity. I would like to do this by means of something like this (case method really).. Any help would be much appreciated.. been struggling with it. Thanks alot, Chris …

Member Avatar for matudustrauss
0
133
Member Avatar for elfranger

All, I am trying to write me an application using visual studio 2005. My back-end database for the application is mysql. I've found some code examples online and been able to get it working with both reading from the database and writing to it. However, the examples I find does …

Member Avatar for elfranger
0
74
Member Avatar for alexutza_r_m

Hi, everybody! I am new to this forum. I have a problem with an oriented weighted graph, more precisely, I have to find the shortest path between 2 nodes, but this path should pass through a given intermediary node. For example, I have a graph with 5 nodes, namely A, …

Member Avatar for alexutza_r_m
0
119
Member Avatar for Shilpa Jain

Hi all, I am generating a report in flexgrid. I need to copy this data in excel and attach the excel sheet in the outlook so that the mail can be send. Outlook will be opened on a button click. I am able to open the outlook but unable to …

Member Avatar for Shilpa Jain
0
101
Member Avatar for swefil2008

I need a routine for printing out to pre-printed paper forms. We recently had a programmer install in our office software written in php , and to be used locally through localhost on our pc, mysql, php and apache2.2 all installed, the software is working well, however we have a …

Member Avatar for casper_wang
0
149
Member Avatar for dskumar_85

hai friend's i am beginner in MS sql db . so can any one explain me detail about Foreign key and primary key , please give example also , thank;s in advance.....

Member Avatar for Ole Raptor
0
81
Member Avatar for seangdy

Please help me corect my code. I want to insert image into mysql with php but it can't. my code wrote as below: Table: CREATE TABLE `TblClothes` ( `ClothesID` int(11) NOT NULL auto_increment, `ClothesName` varchar(100) NOT NULL, `Description` varchar(800) NOT NULL, `Colour` varchar(100) NOT NULL, `CSize` varchar(100) NOT NULL, `Price` …

Member Avatar for casper_wang
0
145
Member Avatar for raul15791

Hi, I'm having problem with the usage of File::Find Module. What i'm trying to do is to browse through two directories and put all the files into two arrays respectively (each array for each dir). I just cant use the "find" twice... An error message will be shown: [icode] Use …

Member Avatar for raul15791
0
154
Member Avatar for aparnesh

Hi Friends Till now, I have been coding my PHP files mainly in Notepad. I had used a few PHP IDEs earlier, but were not satisfied. I found them too cumbersome and some were quite unstable. Now it's becoming rather tedious to edit in Notepad. So I am looking for …

Member Avatar for casper_wang
0
118
Member Avatar for megazear7

Is it posible to delay the program for a certain time period. I know in blitz basic you could type "delay 5" and at that spot in to the program theere would be a 5 second delay when you run it. Can you do that in Python???

Member Avatar for mengqing
0
487
Member Avatar for ditty

I have a list box for multiple selection. It contains some main list and sublist. My aim is no one couldn't select the main list. for eg: Project manager Arun Pradeesh Team Leader Madhu Jibin Anybody couldn't select the main heading such as Project manager and Team Leader.. Pls help …

Member Avatar for ditty
0
218
Member Avatar for mustafaneguib

[CODE=php]<html> <head><title>Write a New Article</title></head> <body> <?php session_start(); $connect=mysql_connect("localhost", "worldofp_mussy", "mustafa"); mysql_select_db("worldofp_blog1") or die(mysql_error()); $get="SELECT user_id, user_name FROM user WHERE user_name = '" . $_SESSION['username'] . "' ORDER BY user_id"; $results=mysql_query($get) or die(mysql_error()); $row=mysql_fetch_array($results); $insert="INSERT INTO article( article_name, article_content, user) [B]VALUES ( '<h4>" . $_POST['articlename'] . "</h4>', '<pre>". $_POST['articlecontent'] ."</pre>', …

Member Avatar for nav33n
0
161
Member Avatar for MDGM

Hi all, I have just put together a simple log in script from various tutorials on the web and at the moment it is only checking the username entered by the user against what is in my database. I cant find any infromation about any kind of AND function or …

Member Avatar for nav33n
0
122
Member Avatar for harinatt
Member Avatar for punithapary

Hi, Can anyone tell me what is mean by core php.What is the difference between core php. Please help me Thanks Punitha pary

Member Avatar for Shanti C
0
83
Member Avatar for ingeva

Searching for a solution to my problem I found this forum. Hope someone here can help. Instead of manually updating a table by using copy/paste from a web page, I would like to read the page directly from php. Pasing the contents would be a breeze, but I have no …

Member Avatar for ingeva
0
76
Member Avatar for k.wiseman

I'm still grappling with the concept of passing parameters and returning responses. See code below: [CODE]#Measurement Converter # Converts Common Chinese Units of Measurements (Practicing function return) # Convert "cun" to "inches" def cun_to_inches(cuntoinchesQ): cuntoinchesUR = None while cuntoinchesUR == None: cuntoinchesUR = float(raw_input(cuntoinchesQ)) cuntoinchesUR *= 1.31 return cuntoinchesUR # …

Member Avatar for k.wiseman
0
123
Member Avatar for agent7

Private Sub btnedit_Click() Dim a As Variant Set conn = New ADODB.Connection strConn = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SPUM;Data Source=(LOCAL)" conn.ConnectionString = strConn conn.CursorLocation = adUseClient conn.Open 'lblindexid.Caption = rs!Indexid strsql = " Select * from ES_otherSchools where Indexid = '" & lblindexid.Caption & "' " Set rs = conn.Execute(strsql) …

Member Avatar for agent7
0
94
Member Avatar for programmer321

[code] Hello, I need to create a shell script to telnet to a remote server. Perform some action and then exit from that server. I am trying with a dummy script: #!/bin/bash telnet 172.11.11.21 8101<dummy.txt exit The dummy.txt contains the password. The script is not working with the port number. …

Member Avatar for eggi
0
207
Member Avatar for skatamatic

Ok. Originally I was trying to write a program that would calculate pi to infinite decimal places. The calculus baesd algorithm I made for this is flawless, except that C++ can only handle 16 digits! So I did some looking around, for libraries and what not, to find something that …

Member Avatar for VernonDozier
0
153
Member Avatar for Pikachumanson

I keep getting a logic error when I go to fight a monster. It says the life must be initialized and then I get a runtime error. So I put a value to it and it runs fine. But the question is, what happens after the fight. I don't want …

Member Avatar for CoolGamer48
0
124
Member Avatar for vickypat

hi everyone, I am not a software kid that much but after getting fail from all books, im here for help. I am trying to read data from a device like monitor with a screen like calculator. It is connected with its main unit with 15 pin serial port like …

Member Avatar for vickypat
0
164
Member Avatar for eranga262154

Hi all, I want to create a Java product developer. That means a tool to update an existing version of an application automatically. You guys/gals have any idea. If you know any example regarding that, please put a link here to see. I really appreciate that. Thanks a lot. :)

Member Avatar for eranga262154
0
125
Member Avatar for solaf_111

when i read from file1 then write to athor file2, file 1 writen on file 2 but if file 2 contain lines more than file 1 ,this lines stay in the file 2 don't empty the file2 then write on is there any solove to this problem?

Member Avatar for Ancient Dragon
0
63
Member Avatar for all blacks

I wan to read from multiple files and write into 1 file....the fuse_cortex_header_r function will read a file and then break the file into several file which only consist of classes...for fuse_cortex_header_w file, i would like to read all the files which have been writen by previous function and write …

0
93
Member Avatar for newbiecoderguy

I want this program to calculate an actors age at the time a movie they made was released, the user inputs all the data... I dont know C just learning but this is the layout I thought of any help would be appreciated, this does not compile [CODE]#include <stdio.h> int …

Member Avatar for newbiecoderguy
0
956
Member Avatar for veledrom

Hi, How do i select a particular value of a combobox? Example [code] combo1.selectvalue(rset.field("id"))[/code] I believe you understand what i mean. I bring data from database and want select it in combo. Thanks

Member Avatar for selvaganapathy
0
121
Member Avatar for LaurenceB

Hi, I have written a program in python, and am looking to translate it into c++ code, here is the program: import random # You've got to guess 4 numbers between 0 and 30, if you get it right the program will output "WINNER" and tell you the computer's numbers …

Member Avatar for hacker9801
0
181
Member Avatar for palpha

I hope this is the correct forum I am converting some qbasic to vba and have come undone. The qbasic lines - FOR I = 1 TO A IF B(I) > 0 THEN PRINT "("; C(I); "="; D(I); ")"; END IF NEXT I screen prints the values for SLENGTH and …

Member Avatar for palpha
0
116
Member Avatar for nokeekon

Why doesn't this work? [code] #include <stdafx.h> #include <iostream> #include <string> using namespace std; int main(){ static int x; int y; cout <<"1. view\n2. edit\n"; cin >> y; if (y==1){ cout <<endl << x <<endl<<endl; } if (y==2){ cout <<"Please enter the value of x\n"; cin >> x; cout << …

Member Avatar for nokeekon
0
254
Member Avatar for patel_anks

Hi can anyone help me, I am learning the language C but need some help writting some code. what i need to do is from the input of the keyboard i need to find the max and min of some values and out put them. what i got so far …

Member Avatar for patel_anks
0
110
Member Avatar for wad

[B][COLOR="Green"]hi there how i can make a java application to descover for bluetooth devices and send message to it [/COLOR][/B]

Member Avatar for Kamila1988
0
104
Member Avatar for Jennifer84

I have 2 loops like below. In the second loop I am searching a string if I can find the "*" character. This loop will loop 100 times but what I am wondering is that if you wont find the character "*" in the string str, is is possible to …

Member Avatar for Jennifer84
0
129
Member Avatar for PomonaGrange

Hi, I have been trying to create a searchable database and have the following code for my form and the action code. When the form is changed/submitted ll I get is an error "Query was empty" Can anyone offer any help?? [code]SEARCH By Last Name (Letter)<form NAME="navsel" action="sel_byLetter.php" method="get"> <select …

Member Avatar for PomonaGrange
0
273
Member Avatar for brightline

I have a gridview that contains an 'edit' command button. The problem is that when I click the this 'edit' command button it does not work from the first time,I must click it 2 times to enable edit mode. I want help to make it enable edit mode from the …

Member Avatar for aspking
0
119
Member Avatar for rob spade

I have a router mamangement requirement that requires a log file to be uploaded to a tFTP server. I wanted to do this using a python script. I have not been able to find a tFTP open source library anywhere. Does anyone know the where-abouts of one?

Member Avatar for rob spade
0
121

The End.