199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for johndoe444

problem with this code: [CODE]parseIcmPage url, '<ul id="topListFilter"', '<div id="footer">' def parseIcmPage(url, start_point, end_point) data = getHtmlPage url s = data.index(start_point) e = data.index(end_point, s) len = e-s list_str = data.index[s, len] puts list_str, '\n' end[/CODE] [CODE]icm.rb:42: warning: don't put space before argument parentheses ./util.rb:121:in `index': wrong number of arguments …

Member Avatar for craiggles
0
232
Member Avatar for asad_80

Hi, I am writing a program to change the image of the button when it is clicked and image gets replaced to the original image when the button is clicked again. Have used array of button to do this. I have used integers whose value will continue to change as …

Member Avatar for NormR1
0
102
Member Avatar for yap_1991

Hi All I really need help in this. Im supposed to "extract" information from text files . the text files looks somethings like this: MODEL 1 ATOM 1 N SER A 253 -19.559 -25.512 -41.130 1.00 0.00 N ATOM 2 CA SER A 253 -18.749 -26.500 -41.895 1.00 0.00 C …

Member Avatar for NormR1
0
644
Member Avatar for merinajose

Hi I need code for searching the records in a table for specified conditions using jsp

Member Avatar for Member 784740
0
1K
Member Avatar for NewOrder

[CODE]import java.io.*; class Ex33 { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter the next number"); String input; input=console.readLine(); int n1; n1=Integer.parseInt(input); int sum=0; int sum2=0; int input2=0; input2=n1; int count=1; char dot=','; String Number=""; int RealNumber2=0; String All=""; String RealNumber=""; while(count<5) { System.out.println("Please enter the next number"); …

Member Avatar for Unbidden Ghost
0
170
Member Avatar for Jack_1

I am new to C++. i want to write a program that finds factors of a no. and puts them in array and prints it. i have written a program but it is wrong. PLease correct it.Thank you. [CODE]#include<iostream> using namespace std; int main() { int b,c,i; int myarray= [10]; …

Member Avatar for AkashL
0
125
Member Avatar for saksaz

hi i have create a database in sql , it is opened in my system, and i shared the database into another system,i was updating my datas from another system, form and database everything is working fine , but the problem is when i try to open the report it …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for lf.gene

Hi all, I'm down with a question. How do i add in a javascript function into another function? For eg. I have a button that enable me to create a new table on the page. when the table is created, there is input of text with calendar function. Is it …

Member Avatar for lf.gene
0
181
Member Avatar for dima shawahneh

Hello every one I am new to Bluetooth programming .. so I need your help plz what I want to do is to make an application programmed in C#.net this application will search for devices with bluetooth on them , then start a secure channel with a mobile via bluetooth. …

Member Avatar for Ketsuekiame
0
172
Member Avatar for Member 784648

i have problem in displaying a single line in different line... my code is Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.TextBox5.Text = Me.ListView1.Items.Count Dim oFile As System.IO.File Dim oWrite As System.IO.StreamWriter oWrite = IO.File.CreateText(" E:\ " & Me.ComboBox1.Text & ".txt") oWrite.WriteLine(" ") oWrite.WriteLine(" ") …

Member Avatar for G_Waddell
0
94
Member Avatar for an00p

Hello friends, I have a php page that displays data from a mysql DB. Fields are 1. Username 2. Designation etc... I want to list usernames in a listbox. I know thats not a tough job but I want to give different colors (or background color) to usernames with different …

Member Avatar for an00p
0
181
Member Avatar for Stefano Mtangoo

Hi, I'm beginning JDBC and I'm conversant in SQL. But I need to Connect to database and that where the problem lies. All I have done is adding mysql/j connector Jar to Netbeans project and wrote code below to test. It cannot connect to database. Also IDE throws error: [CODE=JAVA] …

Member Avatar for Stefano Mtangoo
0
490
Member Avatar for phoenix911

Hi i have a program that transforms my xml files with the stylesheets i applied and saves them as html file. i also used cooktop to create my stylesheet as well as to see the result... my problem is, that when i transform it, i have a <hr />tag, the …

Member Avatar for phoenix911
0
104
Member Avatar for xaop

Please let me know where i have done the mistake [CODE]#include <stdio.h> #include <conio.h> #include <math.h> void main() { int f=0,s=1,n; n=f+s; if(n<=18); { printf("%d" ,n); f=s; s=n; n=f+s; } getch(); }[/CODE]

Member Avatar for xaop
0
195
Member Avatar for Member 784565

Hi, I have dettach my database from SQL server2005 and attach it on Visual Studio2008. and then make the connections. when i run the program it shows the data is avaliable but when i stop the program and then run it.it show u dosent have any data why its happends. …

Member Avatar for Member 784565
0
105
Member Avatar for Member 784667

Hi, I want to get raw string from foreign characters string. Foreign characters are coming up as funny characters. WHat do i need to use in c#?

Member Avatar for Member 784667
0
90
Member Avatar for Naruse
Member Avatar for thego!team

Hi, If it's not too much trouble I would appreciate some help with this - how can I iterate through multiple files in the current directory, opening one after another? For example all files with a name matching students_*.html format. I'm not concerned with files contained in sub-directories. I've searched …

Member Avatar for raul15791
0
504
Member Avatar for danielagaba

hi i wrote code for a midlet that plays videos from a webserver. my problem is on an emulator, it works fine. when i test it on an actual device that uses gprs to connect to the internet it doesnt play, though it looks like it is loading (i am …

Member Avatar for peter_budo
0
76
Member Avatar for chaitanya15385

I had written javascript calculation for hotel accommodation system. The calculation part is working in Mozila fire fox, but it is not working in IE6. I checked the internet options in IE6 and enabled active scripting, still it is not working.Is there any other option. Please give me the solution …

Member Avatar for almostbob
0
163
Member Avatar for Member 784653

Hello, i have created a Office management software in vb.net & access, but i m not able to run it multiple machines.

Member Avatar for raul15791
0
76
Member Avatar for rahul8590

I have written a small script in order to check the browser of the user and find that the code isnt working , even if i open the php page in IE its still outputting Mozilla [CODE] <?php $browser = $_SERVER['HTTP_USER_AGENT'] ; echo $browser. "\n\n"; ?> [/CODE] Output in Mozilla: …

Member Avatar for almostbob
0
102
Member Avatar for daudiam

When a variable goes out of scope in Java, is it immediately removed from stack and one strong reference to the object it pointed to removed ?

Member Avatar for daudiam
0
4K
Member Avatar for leiger

I have imported the Apache XML-RPC jar files, and got them working (has taken me all day to figure out how to get it working - so I'm kind of frustrated at the moment ;D) ... but that used the execute(..) method which requires two parameters ... there was no …

Member Avatar for leiger
0
2K
Member Avatar for Member 784588

Hello, This code captures an defined area from screen and transfers it into text. But, i have 2 problems here. 1st. - I cant delete temp file ( File.Delete(strFileName) - it says - the file is used by another process. 2nd. - If i capture an area, where isnt any …

Member Avatar for nick.crane
0
228
Member Avatar for ishwarverma

Hi guys, i am having some problm while building my C code through VC++6.0. The following error i am getting while building: --------------------Configuration: ReportVARS - Win32 Debug-------------------- Linking... ReportVARS.obj : error LNK2001: unresolved external symbol _BTRV@24 PHCLUST.OBJ : error LNK2001: unresolved external symbol _BTRV@24 BTRVUTIL.OBJ : error LNK2001: unresolved external …

Member Avatar for Member 784668
0
353
Member Avatar for Member 784419

Hello and good evening I'm trying to make a a program that will take text from a input file to a variable in main then use that variable with nested while loops to count all the spaces in the text then display it using cout. I been at this for …

Member Avatar for tesuji
0
114
Member Avatar for artvor

Hello to all Web Developers! I need a simple help here: [CODE]<table class="maxWidth" cellspacing="0"> <form action="update_conditions.php" method="post" > <tr> <td ><input type="radio" name="sex" value="citizenship" checked="checked" /> Accept all citizenships <br /> <div class="paddT5 borderT"></div> <input type="radio" name="sex" value="citizenship" /> We do not accept citizenships from: <textarea name="ud_not_citizenship" class="textarea" rows="5" > …

Member Avatar for Graphix
0
150
Member Avatar for SerialSpiller

only 1 error. the compiler says it 'cannot find symbol' in the line of code approximately 12 rows down that reads "Payroll employee = new Payroll();". Thank You[code]import java.util.Scanner; // Needed for the Scanner class public class PayrollDemo { public static void main(String[] args) { //Declare vaiables String name; int …

Member Avatar for peter_budo
0
88
Member Avatar for youngmoolah

Hi I was wandering if sql tables can determine the order in which forms appear in a delphi application and if so how does it determine this order and will I be able to go in and edit the order. Thank you in advance

Member Avatar for youngmoolah
0
77
Member Avatar for Hunter2379

Hello. I want to convert a byte[] array to a string, then post it on JTextArea without having it do this: [url]http://img706.imageshack.us/img706/3342/outputc.jpg[/url] [url]http://yfrog.com/jmoutputcj[/url] [url]http://yfrog.com/5soutput2j[/url] [url]http://img208.imageshack.us/img208/7049/output2.jpg[/url] Any ideas???

Member Avatar for peter_budo
0
70
Member Avatar for duke_shihab

hi, hello every 1...... plz help me to solve my question.... ~~ how to access data from remote database server from mobile through j2me program. ~~i wanna build a mobile application that can interact with the online database server like retreive customer information from the database. how can we do …

Member Avatar for peter_budo
0
93
Member Avatar for phaedrusGhost

Hi all, I have a loop that I want to show all users and info from a DB. After each user is displayed I need a divider line placed between them. The divider line is simply "div class="divider"></div>" with a 2X2 pixel, repeat X background image. I have tried inserting …

Member Avatar for phaedrusGhost
0
142
Member Avatar for modalgvr

Hello, I need help to write a Python code in order to from this input (a string, len (data) = 5, len (data[0])=63): ["['1426', '1095', '1094', '1093', '1092', '974', '869', '1572']\n", "['1495', '1305', '1264', '1227', '1215', '1142', '1141', '1115']\n", "['1001', '997', '927', '904', '871', '776', '712', '612']\n", "['567', '538', '429', …

Member Avatar for TrustyTony
0
178
Member Avatar for EnderX

I'm working on a Delphi program designed for use with an Access database. In addition to the onscreen output, however, my boss wants me to provide PHP reports for it as well. We have PHP installed on our servers, so that's good, but the database in question is installed on …

Member Avatar for Wolfgan
0
2K
Member Avatar for c++learner

Hello, I am trying to create a function that accepts an integer and a double and squares both values. I have to pass the values by reference. I am new to c++ and don't understand this and I do not understand functions very much when trying to pass more than …

Member Avatar for NP-complete
0
1K
Member Avatar for youngmoolah

Hi I am new to delphi and I am trying to add a new form to an existing MdiApp program which links to various SQL tables The existing buttons that move the user from one form to another have the OnClick event (CmdBeginTestingClick). This OnClick event automatically attatches the following …

Member Avatar for Wolfgan
0
365
Member Avatar for helpmmeworld

I need a help here, There's an error every time I add a link in my php file. Example: [code] <php $link = "twitter.com"; echo "<a href = '".$link."'> link </a>"; ?> [/code] on click, the address would be change on "http://localhost/project/twitter.com" whch is supposed to be "twitter.com" I've tried …

Member Avatar for rajarajan2017
0
119
Member Avatar for Maya Pawar

I have a table which contains InvNo,product,............ Another table 'Product' contains Type,subtype,....,InvNo I have form which has Datagridview and textboxes I want to what, when i go to 1st record (InvNo=101),the datagridview should display how many product which has InvNo=101. How can i bind Datagridview to currencyManager?? Plz help me............. …

Member Avatar for hirenpatel53
0
96
Member Avatar for faizabest

Im new in web developer and using WAMP server to develop my system. I have run my system succ on winxp, but not in Win7. Can u guys help me to solve this matter? My Apache doesn't work.. I have try to start n restart but still same.... Cannot open …

Member Avatar for faizabest
0
119
Member Avatar for hirenpatel53

hello all i have one master page containing menu strip and one content page of same master page what i want while i click on the menu strip the value clicked is shown to to text box on form for that i am using following code master page's code [CODE] …

Member Avatar for hirenpatel53
0
127
Member Avatar for abbyo

I'm having problems figuring where I need to go next in this project to create an applet from this application... any suggestions where I should start (in layman's terms)? [CODE] import javax.swing.*; public class storageSP { public static void main(String[] args) { //declare variables float res; String kfilm; String sfps; …

Member Avatar for NormR1
0
218
Member Avatar for sisterjo

I need help trying to write the c++ code on the following algorithm. Can anyone please help! I am totally confused on what to do. // Set TotalTax to 0 // Set TotalGrossEarnings to 0 // Set TotalMedicalLevy to 0 // Set TotalEarnings to 0 // Display Heading // Read …

Member Avatar for Kanoisa
0
188
Member Avatar for leiger

I am attempting to access an XML-RPC API method using a Java client. I'm fairly certain that the server is written in Python. The API is part of the wiki farm Wikidot.com API info: [url]http://www.wikidot.com/doc:api[/url] API method info: [url]http://www.wikidot.com/doc:api-methods[/url] Does anyone here know what the equivalent of this statement is …

Member Avatar for leiger
0
549
Member Avatar for codewalkz

I currently have this function [CODE] processfn('sponsor = 1', 1, '', 0, 'buyer = 0'); function processfn($sponsor, $level, $sad, $sadista, $bumili) { $result = mysql_query("SELECT id FROM ahentes WHERE $sponsor") or die(mysql_error()); if (mysql_num_rows($result) > 0) { $sad = mysql_num_rows($result); while ($row = mysql_fetch_array($result)){ $sila[] = "buyer = '".$row['id']."' "; …

Member Avatar for codewalkz
0
82
Member Avatar for rayborn66

I am new to C++ so I am trying to understand why the program behaves differently if you do this [CODE] #include <fstream> #include <iostream> #include <cstdlib> using namespace std; int main() { ifstream fin; ofstream fout; fin.open("getfromthisfile.txt"); if(fin.fail()) { cout << "Input file opening failed.\n"; exit(1); } fout.open("sendtothisfile.txt"); if(fin.fail()) …

Member Avatar for Kanoisa
0
232
Member Avatar for sacarias40

Hello everybody, Im writing an application that takes various different classes. background: i basically have a bootstrap type of file that requires all the needed classes. inside each individual class file at the bottom, i have instantiated the class. later on in other theme files i want to use some …

Member Avatar for sacarias40
0
133
Member Avatar for student.09

Hi, I need help getting started on this program: Write a sort method that uses the bubble- sort algorithm. The bub-ble- sort algorithm makes several passes through the array. On each pass, suc-cessive neighboring pairs are compared. If a pair is in decreasing order, its values are swapped; otherwise, the …

Member Avatar for student.09
0
324
Member Avatar for blah32

Is there any built in functionality in python as to rename files smartly in windows. I am using os.rename to move files to a higher directory. The problem is, the directory I move the file to could have a file that has the same name. I want to do what …

Member Avatar for blah32
0
135
Member Avatar for dreamy_ananya

Hi, I have a project that has 11 classes. Now each class refers to the tasklayer ( another set of multiple classes) and instantiates them everytime. For ex: TaskLayer: contains 3 classes under same namespace. A.cs ------ [CODE]public class A{}[/CODE] B.cs --------- [CODE]public class B{}[/CODE] C.cs -------- [CODE]public class C{}[/CODE] …

Member Avatar for vdeych
0
353

The End.