199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for captain.don

I have table named 'user' that has 3 fields 'name' ,'id' and 'profile'. table is filled and 'id' field is filled with 1 to 18 (that is 18 rows).when i run this script it shows the result :: 18 17 16 15 14 Pages4) [1] 2 3 4 >> Last …

Member Avatar for vaibhav1983
0
193
Member Avatar for novice20

I want 1.py to call 2.py. 1.py takes an Ip address as a command line argument. I am trying a '[B]subprocess.call()[/B]' in 1.py to call 2.py. I have defined addr= sys.argv[1] before the [B]main()[/B] of 1.py. I want the same address to be accessed in 2.py. In short, 1.py should …

Member Avatar for slate
0
180
Member Avatar for yapkm01

I would appreciate any help on the above. All my process and issues is in the attachments. ps: Java 1.6 tomcat 5.0.28

Member Avatar for yapkm01
0
237
Member Avatar for souravsikka

Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep …

Member Avatar for jkon
0
162
Member Avatar for ekseks

Hey guys, I don't know where to post this but I hope this is the right place. I just wanted to know if anybody's using Joomla if you are, do you know how delicious works? the site where you keep your bookmarks and can be seen by your friends and …

Member Avatar for jkon
0
163
Member Avatar for din3sh

Hi .. I'm not so experienced with php .. I'm getting this error on the bolded line .. Can neone help me figure it out .. Regards, Dinesh Ramchandani [CODE] <?php $con = mysql_connect("localhost","username","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('lasagnia_user', $con); if (!$db_selected) …

Member Avatar for rcollins
0
254
Member Avatar for revathis

Hi, I am new to PHP. I have installed apache, PHP 5.2 and MySql. Plz tell me How I run PHP programs?? Thanks & Regards, Revathi

Member Avatar for riya...
0
203
Member Avatar for jsefraijeen

good day sir's/ma'am , please help on how to search an inputted elements to an array... for example... i added a name "JOSEPH" and Address "ILOCOS" and i got an option search in my code and i don't know how i will gonna it... please help me.. [CODE]import java.util.Scanner; import …

Member Avatar for jsefraijeen
0
133
Member Avatar for prahesh

Hi I am creating a Setup and Deployment project using Visual Studio 2008, professional edition. And I was able to build successfully the desired .msi and setup.exe files. Requirement: But I want to create a Setup project which searches registry entries for the pre-installed software (VISA) and install our setup …

Member Avatar for Ancient Dragon
0
192
Member Avatar for jackmaverick1

When I declare a class or an instance of the class, I get the error, error: redefinition of 'class player' then after, I get, error: previous definition of 'class player' by the way, I am using gc++. If you want to see the source, just ask. thanx, JT

Member Avatar for Fbody
0
8K
Member Avatar for Ambislm

I made a simple application that have a combobox which is loaded with database value and a textfield which should display text related to combo box selection. Name Number number1 1234 number2 2345 number2 5678 number3 2212 So combo box will have values number1, number2, number3. when user selects number1, …

Member Avatar for Ambislm
0
196
Member Avatar for abelingaw

I want to load values from a lstview column to a combobox in another form. The problem is that, my combobox style is 2 - Dropdown List and the values in it are from my database field. That's where the error occurs. Saying [ICODE]Text property is read only.[/ICODE] I could …

Member Avatar for AndreRet
0
807
Member Avatar for Shodow

can u help me about this . . . when i click the column header of datagrid it will sort automatically

Member Avatar for AndreRet
0
1K
Member Avatar for rosstafarian

Hey Guys, I am trying to create a little project for my college course. I have been trying in vain over the past few days to sort out some errors i have and alot of google pages have brought me here where i have gained alot of knowledge so i …

Member Avatar for rosstafarian
0
95
Member Avatar for mrexp21

Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . …

Member Avatar for diafol
0
262
Member Avatar for jbennet

Hey people, im trying to bash out the class design for a realtime strategy game (Think original command and conquer) right now. It will probably be in .NET (C#/XNA?) as ive already got code (such as an isometric tile-engine) in that language for a game i just did for an …

Member Avatar for ajst
0
141
Member Avatar for pseudorandom21

C++/CLI @ runtime add a PictureBox to a tab control, I need to do this at run-time because they're to represent some data the user must be able to manipulate. I actually need them to be in some kind of scrollable panel on the tabcontrol. Any ideas?

Member Avatar for jonsca
0
149
Member Avatar for fragan01

Hello! When I build a solution for my program, it does not have any errors. [B][/B]However, in this particular screen (my menu screen), I cannot choose #1 (Cashier Module).[/B] What I mean is, when I enter 1, nothing appears. The choice 2, 3 and 4 do work, however. Can anyone …

Member Avatar for fragan01
0
3K
Member Avatar for CodeAerial

HMm... already frustrated at it... But is there something wrong in my malloc? Everytime I try to display the record, it gives me random things as answer(see code below)? Was it that I didn't free it or was I wrong in declaring malloc itself? Thanks in advance. [CODE] #include <stdio.h> …

Member Avatar for CodeAerial
0
283
Member Avatar for jordan0420

Im working on my first big project, a GUI library for movie files (much like in itunes). so far i have the ability to list the movies title director and year in a list box as well as add movies to the database, however it is only text no actual …

Member Avatar for jordan0420
0
914
Member Avatar for gregarion

Hey guys , i am facing a problem using fprintf. Basically what happens is that , i will use it to read from an array and store the information in a txt file. The problem i face is that , for some reason , numbers such as "02 , 05" …

Member Avatar for gregarion
0
101
Member Avatar for stephy1
Member Avatar for stephy1
0
375
Member Avatar for -==Zero==-

[B]Hey Iam New Here And Iam Noob In Php I Made A Web Site Directory Script A Form So The User Can Post His Site And E Mail This Site Show Directly I Need To Make This Site Under Moderation First Before It Show In Main Index File I Have …

Member Avatar for -==Zero==-
0
103
Member Avatar for stephy1

I have 3 threads. 3 are going to do a different tasks , so different run() methods. How to overload run() method?

Member Avatar for stephy1
0
90
Member Avatar for scru

Sometimes IDLE crashes when trying to run GUI code. I already know the standard responses to this issue (use another editor, run from command line etc.). What I'm interested in is why does it do this? Does anybody have any information (or a link to info) on why this issue …

Member Avatar for richieking
0
235
Member Avatar for stephy1

I got error :At the constructor MyStackThreads "class , interface or enum expected" [code]import java.util.*; import java.io.*; class MyStackThreads extends Thread { Stack thestack= new Stack(); String expression; String splitexpr[]; MyStackThreads[j] { public void run() { try { DataInputStream dis=new DataInputStream(System.in); expression=dis.readLine(); for(int i=0;i<expression.length();i++) { splitexpr=expression.split(expression); thestack.push(splitexpr[i]); } } catch(IOException …

Member Avatar for stephy1
0
385
Member Avatar for manish250

hello all i have a jsp page.there is a text box in jsp page.what i want is when i enter a key in text box it accepts it only if it is alphabet otherwise it would give an alert.I want to enable arrow and backspace and delete key.Currently i am …

Member Avatar for peter_budo
0
124
Member Avatar for Valaraukar

So for some reason I my brain seems be failing me :( Anyway....I have a cylinder object in 3D space and inside of the cylinder I have line objects originating at the origin (0,0,0) (which is also the centre point of the cylinder). I would like to find the exact …

Member Avatar for Valaraukar
0
201
Member Avatar for boshu

Hi all, I am using a script which takes various command line options, does some zipping activities and publish a log file of what is has zipped. arguments: [CODE]zip_contents.pl -u content_name -s c:\contetn_path -u content_flag -m content.sender@mail[/CODE] When the log file is created I want that the given command line …

Member Avatar for boshu
0
346
Member Avatar for srisrisri

Hello Can anyone tell me the way to reverse a string in C and only in """"C"""? How to get a string through one by one characters of the same? And if I use the following I get errors String name="hai"; len=strlen(name); for(i=0;i<len;i++) { scanf("%c",name[i]); } how to get name …

Member Avatar for minhajakhter
0
316
Member Avatar for chamnab

do anyone know how to write code to display time like in the window

Member Avatar for jonsca
0
73
Member Avatar for Manojo7

HI guys , i'm new to this community. plz help :'( i'm doing a project which is called Online Examination.. can i give a variable as value in radio button???? Here is my code [CODE] <% try{ int num; double d=Math.random()*10; PrintWriter oo=response.getWriter(); num=(int)d; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:mno"); Statement stmt=con.createStatement(); ResultSet …

Member Avatar for peter_budo
0
103
Member Avatar for chamnab

i want to write some code that can input only number or only character ? plz help me ???

Member Avatar for jonsca
0
145
Member Avatar for Papa_Bear

Hi All. I want to allow users to select a font using a dropdown box. As every body has different fonts installed, how do I read the available fonts. I know this will be a very long list, but will not be used very often. I will store the selected …

Member Avatar for ArtistScope
0
289
Member Avatar for mik117

This Error keep show up everytime i use insert query code in my php programs You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-student(stud-id,stud-fname,stud-mname, stud-lname,stud-gender,stud-status,stud' at line 1 example code: <?php require_once "formvalidator.php"; …

Member Avatar for stone2191
0
132
Member Avatar for tinker

I am creating a dynamic web page where uploading images is one of its feature. I have a looping DIV where each DIV has its own images: show sample below... [CODE] <?php while($row=mysql_fetch_assoc($result)){ $id=$row['id']; $path=$row['path']; ... ?> <div class="img-container"> <img src="<?php echo $path; ?>" /> <button onclick="changeMe('<?php echo $id; ?>')">Change …

Member Avatar for mahavir123
0
281
Member Avatar for Zvjezdan23

[CODE]// This program is supposed to figure out how much does a custom banner cost by figuring out the price for each letter and outputting it's total to the screen. #include <iostream> #include <string> using namespace std; int main() { double cost = 3.45, total; string banner; cout << "Enter …

Member Avatar for Nick Evan
0
352
Member Avatar for jecris

A common problem when processing incoming text is to isolate the words in the text. This is made more difficult by the punctuation; words have commas, "quote marks", (even brackets) next to them, or hyphens in the middle of the word. This punctuation doesn't count as letters when the words …

Member Avatar for masijade
0
143
Member Avatar for jecris

Anyone have code with this?... Write a program to find the chain associated with any given number. Start with the given positive integer. This is the first number in the chain. Sort the digits (of the base 10 number) into ascending order, and also in descending order. Subtract the ascending …

Member Avatar for masijade
0
473
Member Avatar for mangopearapples

Hi, I was wondering how I can use this type of list: [url]http://palib-dev.com/manual[/url] On the left, there are expandable lists. How can I use them? Thanks.

Member Avatar for mangopearapples
0
144
Member Avatar for rookanga

Im trying to get a sales percentage program to work and im having trouble on the last part. My homework is to get the original price from the customer and then take the sales percentage off and show how much it is. Then after the first percentage is off take …

Member Avatar for AndreRet
0
118
Member Avatar for roseworld

[B][COLOR="Red"][U]Face recognition using Two Webcam with OpenCV[/U][/COLOR][/B][CODE][/CODE] I am very new in OpenCv, and I am trying to use 2 USB webcams with OpenCV, so can anybody help me how I can start this and understand it in short time. best regards,

Member Avatar for roseworld
0
187
Member Avatar for xXEJEarlXx

please help me. i need codes. How to Convert Dotted Decimal to Binary and Vice Versa in VB6. and a short explanation for the code.. please...

Member Avatar for AndreRet
0
375
Member Avatar for Insomaniacal

Hi everyone. I'm having a little bit of trouble getting a piece of code to work correctly here. Here is the code. [CODE]] filename = "./" + `random.randrange(0,9999999999999999999999999999999999)` + ".txt" f = open(filename, 'w') f.write(`data`) f.close f = open(filename,'rb') ftp = FTP('ftphost.com') time.sleep(5) ftp.login('user,pass') time.sleep(5) ftp.storbinary('STOR `filename`', f ) [/CODE] …

Member Avatar for jintujacob
0
241
Member Avatar for Acute

When I insert "&lt;b&gt;dog&lt;/b&gt;" into database using php, it inserts empty string. WHY??? How to fix it? thnx in advance

Member Avatar for Acute
0
88
Member Avatar for gymie1980

how can i refresh php page by click button (onclick funtion) in another php file i have 2 file : a.php & b.php so how to refresh page in b.php by click button in a.php hope anyone can help me. Thanks

Member Avatar for P0lT10n
0
119
Member Avatar for Allen 0108

I am working thru the Wrox book: [U]Beginning Programming[/U], and need some advice on getting a simple program to compile. I have Vista and use the free Borland C++ compiler. After entering in a simple C++ code, I was not able to get it to compile. When I attempted to …

Member Avatar for smTaqi
0
3K
Member Avatar for anawan

Hi, I am new in PHP world and know some basics. I have a database where date wise entries to be made by users. I would like to get results in month wise total. e.g. I have these columns in the database: fleet_no, fueling_date, quantity, price. Now I want to …

Member Avatar for Stefano Mtangoo
0
72
Member Avatar for yassop

Hi all. I have a problem with my calculator. #include <stdio.h> int a, b; /* value entered by user */ char c, choice; int main() { printf("\nThis program is a calculator.\n"); printf("Enter your calculation: "); scanf("%d%c%d", &a,&c,&b); if (c=='+') printf("The answer is %d", a+b); if (c=='-') printf("The answer is %d", …

Member Avatar for yassop
0
241
Member Avatar for singhabsk

Hi I am ABHI i want to substitute `19-13-10-456765` to `19*10 + 13*5 + 10` is equal to `(265)` in file i want to know the exact code to do that this is the file content xyz.txt 19-10-13-400922 TID1-3039 1RequestREGISTER 19-10-13-405432 TID1-3039 1Response100 19-10-13-410015 TID1-3039 1Response401 19-10-13-415481 TID1-3039 2RequestREGISTER 19-10-13-419800 …

Member Avatar for k_manimuthu
0
111

The End.